Commit Graph

34303 Commits

Author SHA1 Message Date
Peter Zimon
e4cac91e19 Added basic documentation to Admin Design System
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-22 12:13:50 +02:00
Sanne de Vries
a6e534bba8 Updated split layout and subscribe form states for signup card frontend
Refs https://github.com/TryGhost/Team/issues/3246
2023-05-22 12:10:37 +02:00
Sodbileg Gansukh
f4bb135f9c Fixed typography inconsistency in the publish flow
refs https://github.com/TryGhost/Team/issues/2812
2023-05-22 17:31:18 +08:00
Peter Zimon
8f6d94cd5d Added separator to checkbox and radio buttons
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-22 10:53:24 +02:00
Peter Zimon
462f7a402b Added error message for checkbox in Admin DS
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-22 10:42:32 +02:00
Peter Zimon
b1ddc8b2f4 Added checkbox to Admin Design System
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-22 10:42:32 +02:00
Peter Zimon
6397be7bdd Spacing refinements in Admin Settings
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-22 10:42:32 +02:00
renovate[bot]
c9b2826c16 Update dependency @storybook/addon-styling to v1.0.8 2023-05-22 10:36:36 +02:00
Peter Zimon
d078ca6083 Added radio button to Admin Design System
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-22 10:12:11 +02:00
renovate[bot]
74d7c52ddf Update dependency vite to v4.3.8 2023-05-22 09:16:27 +02:00
Peter Zimon
28aa5c0cdc Admin X Settings minor refinements
refs. https://github.com/TryGhost/Team/issues/3150

Spacing between setting values, input fields and headings were a bit too loose.
2023-05-22 09:13:25 +02:00
Peter Zimon
950b59d81e Added optional prompt to dropdown in Admin X DS
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-22 09:04:42 +02:00
renovate[bot]
46c8863b7c Update dependency @playwright/test to v1.34.0 2023-05-22 08:53:05 +02:00
Sodbileg Gansukh
50c68dc5ad Fixed background color of the update banner in dark mode
refs https://github.com/TryGhost/Ghost/issues/16819
2023-05-22 14:13:59 +08:00
Sodbileg Gansukh
f052b78a77
Hid other plans link when there's no paid plan (#16822)
refs https://github.com/TryGhost/Team/issues/2841

- currently, the link to other plans is always shown regardless of
whether if there's any other paid plan or not
- this adds a check to show the link only when there are other plans
2023-05-22 13:20:46 +08:00
Jono Mingard
b74ee95240 Added basic styles for signup form states
refs: https://github.com/TryGhost/Team/issues/3256
2023-05-22 12:02:31 +12:00
Fabien "egg" O'Carroll
82acf85b29 Tested filtering visibility in Tiers Content API
refs https://github.com/TryGhost/Team/issues/3248

The current test fixtures didn't include any hidden Tiers, so I've added
a new fixture to test the filtering of hidden Tiers. It's not enabled by
default to avoid breaking the existing tests.
2023-05-19 13:12:33 -04:00
Rishabh
aa8f3ed5e2 Updated default boilerplate story in admin-x
refs https://github.com/TryGhost/Team/issues/3151
2023-05-19 21:44:55 +05:30
Rishabh
6e5e61d7cf Fixed naming of boilerplate stories
refs https://github.com/TryGhost/Team/issues/3151

- updates boilerplate story file to use standard .tsx extension
2023-05-19 21:26:52 +05:30
Rishabh
a588ace346 Updated Hint component for custom react node
refs https://github.com/TryGhost/Team/issues/3151

- updates hint to apply default styling to custom react nodes as well
- cleans up hint usage for publication language
- updates hint story to include new option
2023-05-19 21:19:29 +05:30
Daniel Lockyer
53ae2ecf4c
Merged v5.49.0 into main
v5.49.0
2023-05-19 17:13:01 +02:00
Ghost CI
bba46cdb19 v5.49.0 2023-05-19 15:09:58 +00:00
Peter Zimon
eee65f82d5 Added static form to mailgun settings
refs. https://github.com/TryGhost/Team/issues/3151
2023-05-19 17:03:44 +02:00
Peter Zimon
2cbae2ec6d Added static default recipients form in AdminX
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-19 16:47:57 +02:00
Peter Zimon
d08e22c0e5 Addedd static values to access in AdminX Settings
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-19 16:42:09 +02:00
Rishabh
05fc1ca810 Fixed lint 2023-05-19 20:10:25 +05:30
Rishabh
06ed1d70cb Wired social accounts setting to real site data
refs https://github.com/TryGhost/Team/issues/3151

- wires facebook and twitter url to real settings data in admin-x
- manages (de)serialisation of facebook/twitter users
- todo: error handling for invalid urls is
2023-05-19 20:03:55 +05:30
Rishabh
3ee39d458b Updated hint for admin-x publication language UI
refs https://github.com/TryGhost/Team/issues/3151

- updates hint to take both string and custom react node
- allows adding custom/more complex hints to text fields
2023-05-19 20:03:55 +05:30
Daniel Lockyer
d7a523a7c2
Updated lockfile 2023-05-19 16:25:58 +02:00
Djordje Vlaisavljevic
b489986edc Updated feedback widget design on Post published
refs #3244
2023-05-19 15:06:29 +01:00
Djordje Vlaisavljevic
b99a9299cc Removed wordcount and Lexical badge, added help icon
refs #3254, #3253, #3242
2023-05-19 15:06:29 +01:00
Aileen Nowak
462073b452 🎉 Moved Substack migrator app to GA under beta features 2023-05-19 09:58:41 -04:00
Aileen Nowak
307a25f765 Moved migrate app labs flag to Beta features 2023-05-19 09:58:41 -04:00
Naz
e302f8cc1d Added DELETE /collections/id to Admin API
refs https://github.com/TryGhost/Team/issues/3167

- This is part of scaffolding for collections API. Allows to delete collection resource
2023-05-19 20:42:46 +07:00
Naz
e82fcbfc5e Added GET /collections/:id to Admin API
refs https://github.com/TryGhost/Team/issues/3167

- This is part of scaffolding for collections API. Allows to read a collection resource by id
2023-05-19 20:42:46 +07:00
Naz
735edf5f87 Fixed editing unexistent collection behavior
refs https://github.com/TryGhost/Team/issues/3167

- When editing collection that does not exist the API should be returning a 404 instead of creating a new collection
2023-05-19 20:42:46 +07:00
Naz
7d926dd30b Refactored collections unit test suite
refs https://github.com/TryGhost/Team/issues/3167

- Duplicate service initialization was getting annoying
2023-05-19 20:42:46 +07:00
Naz
f3f3d58acf Added PUT /collections/id to Admin API
refs https://github.com/TryGhost/Team/issues/3167

- This is part of scaffolding for collections API. Allows to edit collection resource
2023-05-19 20:42:46 +07:00
Naz
d3a8aad319 Added POST /collections to Admin API
refs https://github.com/TryGhost/Team/issues/3167

- This is part of scaffolding for collections API. Allows to add new collection records
2023-05-19 20:42:46 +07:00
Naz
606bd383f1 Extended getAll method with paging metadata
refs https://github.com/TryGhost/Team/issues/3167

- Having paging metadata is part of every API response and was missing from initial implementation
- The getAll method has all of the values as "static" as there's nothing to page on.
2023-05-19 20:42:46 +07:00
Naz
2d1eb881fc Extended save method to return saved collection data
refs https://github.com/TryGhost/Team/issues/3167

- The core client (API) needs a way to pass in information without an ID when creating a new entity, handling it on service/repository layer makes the most sense.
- Used "require" syntax to import tpl/errors modules, otherwise TS compiler was complaining about type compatibility issues, this works as a temporary workaround and is tracked and an issue to improve in the future.
2023-05-19 20:42:46 +07:00
Naz
36eff3a481 Added GET /collections to Admin API
refs https://github.com/TryGhost/Team/issues/3167

- This is scaffolding for collections API. Contains wiring for service wrapper, e2e test, and a browse endpoint
- Adds basic implementation of the GET /collections endpoint to build up upon
- Note, there are no permissions in this version as they will be added in later stages of development with migrations etc
2023-05-19 20:42:46 +07:00
Naz
d4a5dac758 Exposed in-memory collections repository
refs https://github.com/TryGhost/Team/issues/3167

- The repository is needed when initializing the collections service from the core
2023-05-19 20:42:46 +07:00
Sanne de Vries
6a9bd0478e Updated signup card frontent html
Refs https://github.com/TryGhost/Team/issues/3246
2023-05-19 15:19:14 +02:00
Rishabh
2e517b9f3b Wired read/write for publication language setting
refs https://github.com/TryGhost/Team/issues/3151

- wires real setting data read/write for publication language
2023-05-19 18:46:41 +05:30
Peter Zimon
3ef4a12c8d Fixed preflight for select in AdminX DS
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-19 15:14:04 +02:00
Peter Zimon
9d84bc257b Fixed onSave method in AdminX DS
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-19 15:04:22 +02:00
Daniel Lockyer
0fb35cf236
Added test:unit command to admin-x-settings
refs https://ghost.slack.com/archives/C02G9E68C/p1684496945687519?thread_ts=1684496771.857689&cid=C02G9E68C

- this will run a build of the package upon testing, which can reveal
  issues with code if the typescript compiler isn't happy
2023-05-19 14:56:08 +02:00
Rishabh
12871e6a77 Fixed lint error for unused event type
refs https://github.com/TryGhost/Team/issues/3150
2023-05-19 18:23:56 +05:30
Rishabh
7dd8628b40 Wired Timezone settings to use real data
refs https://github.com/TryGhost/Team/issues/3150

- wires Timezone setting to read list of timezones and allow editing/saving new value
- handles read/write of real timezone setting from settings context
- uses `@tryghost/timezone-data` to fetch list of all timezones
- adds typings.d.ts to handle missing types for @tryghost/timezone-data
2023-05-19 18:23:34 +05:30