Peter Zimon
f2f3e2a22d
Added window chrome comp. to AdminX Design System
...
refs. https://github.com/TryGhost/Team/issues/3328
2023-05-31 09:36:50 +02:00
Peter Zimon
35f7b7058c
Added design setting skeleton to AdmiX Settings
...
refs. https://github.com/TryGhost/Team/issues/3328
2023-05-30 19:05:22 +02:00
Peter Zimon
0e5d66b680
Added preview modal to AdminX Design System
...
refs. https://github.com/TryGhost/Team/issues/3328
2023-05-30 18:54:42 +02:00
Peter Zimon
30e2924b5e
Updated site description field to use Textarea
...
refs. https://github.com/TryGhost/Team/issues/3328
2023-05-30 15:41:03 +02:00
Peter Zimon
8d485fe1b7
Fixed list item clickarea bug in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3318
2023-05-30 15:35:09 +02:00
Peter Zimon
2387718266
Fixed modal scroll bug in AdminX Design System
...
refs. https://github.com/TryGhost/Team/issues/3318
2023-05-30 15:31:13 +02:00
Peter Zimon
9657556265
Added avatar color generator helper in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3318
2023-05-30 15:16:49 +02:00
Peter Zimon
55376774c0
Added cover image to user details in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3318
2023-05-30 15:07:03 +02:00
Peter Zimon
5831e63dcf
Added images to avatars in AdminX Settings
...
refs. https://github.com/TryGhost/Team/issues/3318
2023-05-30 14:53:18 +02:00
Peter Zimon
2aa0bba8d4
Moved assets to AdminX Design System
...
refs. https://github.com/TryGhost/Team/issues/3318
Until now all assets was part of the main app and not the AdminX Design System which could be problematic later when the system becomes a standalone library. Moved the assets folder under the design system for better reusability, less redundancy and for a more self-encapsulated system
2023-05-30 14:33:08 +02:00
Djordje Vlaisavljevic
c62d73578b
Added support for images and fallback icon to Avatar
...
refs https://github.com/TryGhost/Team/issues/3318
2023-05-30 12:51:33 +01:00
Djordje Vlaisavljevic
d76312c43b
Added single user fill icon used for Avatar fallbacks
...
refs https://github.com/TryGhost/Team/issues/3318
2023-05-30 12:51:33 +01:00
Djordje Vlaisavljevic
01de9f57e2
Fixed ResizeOptions type case
...
refs https://github.com/TryGhost/Team/issues/3328
2023-05-30 12:51:33 +01:00
Peter Zimon
197c19e472
Added initials helper in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3318
2023-05-30 12:16:38 +02:00
Peter Zimon
73e8e9837b
Added clear bg to inputs in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3328
We might want to use input fields, textareas and dropdowns without the grey background they have right now.
2023-05-30 11:50:06 +02:00
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
Peter Zimon
08039d0e62
Added static userlist to AdminX Settings
...
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-22 17:28:37 +02:00
Peter Zimon
950fc832e4
Added basic list to Admin Design System
...
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-22 16:57:09 +02:00
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
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
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
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
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
Rishabh
a420adf684
Added default option for global Dropdown component
...
refs https://github.com/TryGhost/Team/issues/3150
- updates Dropdown component to allow a default selected option on first render
2023-05-19 18:14:03 +05:30
Peter Zimon
9f84b6d9d4
Added static analytics inputs to AdminX Settings
...
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-19 13:39:29 +02:00
Peter Zimon
6f4fa691ad
Added static input fields to pw protection
...
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-19 13:39:29 +02:00
renovate[bot]
a1dc3d4f33
Update dependency typescript to v5.0.4
2023-05-19 12:39:23 +02:00
Peter Zimon
cce150d04e
Added toggle component to AdminX design system
...
refs. https://github.com/TryGhost/Team/issues/3150
2023-05-19 12:29:42 +02:00
renovate[bot]
b373c8911e
Update storybook monorepo to v7.0.12
2023-05-19 12:04:46 +02:00
renovate[bot]
39453b678b
Update dependency vitest to v0.31.1
2023-05-19 11:50:49 +02:00
Daniel Lockyer
58539c355b
Added --adminX
functionality to yarn dev
...
fixes https://github.com/TryGhost/Toolbox/issues/581
- this adds support for spinning up AdminX within the `yarn dev` script
with zero other steps needed
2023-05-19 10:34:06 +02:00