Commit Graph

137 Commits

Author SHA1 Message Date
Peter Zimon
1709740dda Added clear bg option to textfields in AdminX
refs. https://github.com/TryGhost/Team/issues/3328
2023-05-30 11:44:42 +02:00
renovate[bot]
f4ac82fd3d Update storybook monorepo to v7.0.18 2023-05-30 10:51:42 +02:00
Djordje Vlaisavljevic
d5bd21a9c5 Added global TextArea component to Admin X DS
refs https://github.com/TryGhost/Team/issues/3328
2023-05-29 18:35:30 +01:00
renovate[bot]
d5db684aeb Update dependency vite to v4.3.9 2023-05-29 17:25:09 +02:00
Peter Zimon
87e59112a7 Added static avatar to AdminX Design System
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-29 15:21:23 +02:00
Peter Zimon
8f710eb8b1 Added global 'no value' label in Admin Design Sys
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-29 11:00:09 +02:00
Rishabh
0167952949 Fixed duplicate key errors in admin-x
refs https://github.com/TryGhost/Team/issues/3151

- adds unique key to global heading element
2023-05-29 14:29:03 +05:30
Rishabh
95cfabb271 Cleaned up api and data access for admin-x
refs https://github.com/TryGhost/Team/issues/3151

- updates data providers to include roles as well as cleaner api syntax
- updates api methods to cleaner syntax and add roles api
- updated wiring for staff user profile editing and save
- updated data provider location in main app, is used before the modal provider so it has access to common context
- added `useRoles` hook that providers access to roles data for admin
- added `currentUser` to the staff provider
2023-05-29 14:29:03 +05:30
Peter Zimon
8732231abf Updated sizing of setting group value in AdminX
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-29 10:31:32 +02:00
renovate[bot]
610ba33513 Update dependency postcss to v8.4.24 2023-05-29 07:52:39 +02:00
Peter Zimon
5fea02d147 Fixed minor sidebar bug in AdminX Settings
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-25 18:59:29 +02:00
Peter Zimon
505d61bf9f Modal refinements in AdminX
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-25 18:24:45 +02:00
Peter Zimon
b99cf16753 Handle no-change saves in AdminX
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-25 17:12:35 +02:00
Peter Zimon
0a02768ec1 Added dynamic icon component in AdminX
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-25 16:57:36 +02:00
Rishabh
5c20aa08de Wired data to user detail modal in adminX
refs https://github.com/TryGhost/Team/issues/3151

- wires user data in the user detail modal from the api
2023-05-25 20:19:17 +05:30
Peter Zimon
486876e3ac Updated default states in AdminX
refs. https://github.com/TryGhost/Team/issues/3151
2023-05-25 14:59:50 +02:00
Peter Zimon
5d1b752d89 Updated tabs in AdminX Design System
refs. https://github.com/TryGhost/Team/issues/3151

Tabs were changing their widths which resulted in an unwanted visual effect.
2023-05-25 14:59:50 +02:00
Peter Zimon
e6a28146e4 Minor modal refinements in AdminX
refs. https://github.com/TryGhost/Team/issues/3151
2023-05-25 14:59:50 +02:00
Peter Zimon
8678bbc591 Added view mode for Metadata in AdminX Settings
refs. https://github.com/TryGhost/Team/issues/3151
2023-05-25 14:59:50 +02:00
Rishabh
3520f7fe1c Added typings for svg imports
refs https://github.com/TryGhost/Team/issues/3151

Using svg imports in React *.tsx files was throwing error as Module `*.svg` did not have any exported member as `ReactComponent`. This change updates the typings to declare the module with exported ReactComponent as an SVG element, allowing svg files to be imported normally.
2023-05-25 18:27:03 +05:30
Rishabh
6f2424976c Wired staff users list in admin-x settings
refs https://github.com/TryGhost/Team/issues/3151

- adds api to fetch staff users
- adds provider to use users data in the application
- wires Users UI to show real owner and other staff users
- combines all data providers for application under a single provider
2023-05-25 17:18:27 +05:30
Peter Zimon
c01af74265 Fixed type issue on AdminX user modal
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-25 13:18:01 +02:00
Peter Zimon
d85286ecf2 Updated toggle in AdminX Design System
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-25 12:49:13 +02:00
Peter Zimon
e38af593dc Updated password fields in user details in AdminX
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-25 12:30:07 +02:00
Peter Zimon
9791b341be Added static user detail popup in AdminX Settings
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-25 12:26:50 +02:00
Peter Zimon
71eef69b96 Added static user detail modal in AdminX settings
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-24 17:05:21 +02:00
Peter Zimon
b47bfde51b Fixed linting error in AdminX
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-24 16:59:33 +02:00
Peter Zimon
a4c2c2ebcf Added backdrop interaction to modals in AdminX
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-24 16:51:04 +02:00
Peter Zimon
60154cfa89 Added basic modal to AdminX Design System
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-24 16:31:26 +02:00
renovate[bot]
de1d925c8c Update storybook monorepo to v7.0.15 2023-05-24 11:21:11 +02:00
Rishabh
8430bc1551 Wired default email recipients setting in admin-x
refs https://github.com/TryGhost/Team/issues/3151

- wires default email recipient and filter setting to site data
2023-05-23 22:07:02 +05:30
Peter Zimon
544f826315 Added basic Twitter card in AdminX Settings
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-23 17:22:30 +02:00
Peter Zimon
652be3f5fb Added basic Facebook settings in AdminX Settings
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-23 17:20:19 +02:00
Peter Zimon
b580d6d22b Added basic version of Metadata AdminX settings
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-23 16:12:08 +02:00
renovate[bot]
2a985d4c6f Update storybook monorepo to v7.0.14 2023-05-23 13:01:05 +02:00
Peter Zimon
db8b223cd0 Updated sidebar navigation in AdminX Settings
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-23 12:07:38 +02:00
Peter Zimon
10e48d613c Refined content scrolling in AdminX Settings
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-23 11:54:42 +02:00
Peter Zimon
4a0e59487f Refined sidebar scrolling in AdminX Settings
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-23 11:48:02 +02:00
Peter Zimon
8e0e2c4f2c Updated AdminX Settings scrolling
refs. https://github.com/TryGhost/Team/issues/3150

The sidebar was `sticy` which meant that users had to scroll all the way down to see the bottom of the sidebar. This defeats the purpose of being able to quickly jump to a section.
2023-05-23 11:30:38 +02:00
renovate[bot]
d28eef5f4f Update storybook monorepo to v7.0.13 2023-05-23 09:54:57 +02:00
Rishabh
47ed1c0b3e Fixed cancel button for access settings
refs https://github.com/TryGhost/Team/issues/3151

- access settings was missing cancel handling that resets settings when user exits the edit mode without save
2023-05-23 12:20:55 +05:30
Peter Zimon
1139ed541b Textifeld component cleanup in AdminX DS
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-23 08:42:20 +02:00
Peter Zimon
acb0bda5e4 Refined input styles in AdminX Design System
refs. https://github.com/TryGhost/Team/issues/3150

The style of having only an underline for input textfields and dropdowns sounds good in theory (and we might be able to use it in other context), but in Settings these components were hard to scan.
2023-05-23 08:31:38 +02:00
Peter Zimon
48fa7bb0ca Updated static users setting group in AdminX
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-23 08:31:38 +02:00
Peter Zimon
65c288584d Added basic tabs to AdminX Design System
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-23 08:31:38 +02:00
Rishabh
2f6aec3551 Updated mailgun settings view mode in admin-x
refs https://github.com/TryGhost/Team/issues/3151

- updates view mode for when mailgun is setup in settings
2023-05-23 11:58:30 +05:30
Rishabh
a3e39ce61e Wired mailgun and analytics settings in admin-x
refs https://github.com/TryGhost/Team/issues/3151

- updates textfield to have password type
- updates wiring for mailgun settings
- updates wiring for analytics settings
- fixes local value read or useSettingGroup
2023-05-23 11:45:32 +05:30
Rishabh
f5b9645b35 Updated wiring for admin-x settings
refs https://github.com/TryGhost/Team/issues/3151

- adds new hook for managing state/changes in a Settings Group
- updates existing settings to work with the new hook to clean the code
- wires membership access settings for read/write
- lint cleanup
2023-05-23 08:42:14 +05:30
Peter Zimon
60c102dc76 Rearranged Setting Group comps. in Admin DS
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-22 17:52:02 +02:00
Peter Zimon
8cab3a4a06 Fixed hover on list items in Admin Design System
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-22 17:30:26 +02:00