Rishabh
c26f77586a
Added dynamic site preview iframe
...
refs https://github.com/TryGhost/Team/issues/3354
- adds dynamically loading iframe with site preview based on preview data in Admin
2023-06-09 17:39:53 +05:30
Peter Zimon
90b9959afc
Set up showing images in brand settings (AdminX)
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-09 11:26:56 +02:00
Peter Zimon
cacd54b8c6
Remove traffic lights when in mobile view (AdminX)
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-08 08:33:01 +02:00
Peter Zimon
207651e2b0
Rename design modal cancel button in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-08 08:27:37 +02:00
Peter Zimon
949df42000
Added temporary preview content
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-08 08:14:12 +02:00
Peter Zimon
0d1d4dc365
Removed custom view switch functions
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-08 08:03:53 +02:00
Peter Zimon
2eda7c3287
Added mobile view to preview modal in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-08 07:59:32 +02:00
Peter Zimon
d87994d210
Renamed chrome header component in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-08 07:28:16 +02:00
Peter Zimon
011db27650
Moved preview toolbar to global preview component
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-08 07:11:12 +02:00
Peter Zimon
859e052810
Updated unstyled option to select input in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-08 06:32:03 +02:00
Peter Zimon
f28829b24e
Updated multiselect styles in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-08 06:32:03 +02:00
Peter Zimon
d1c32e47bb
Updated default input field styles in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-08 06:32:03 +02:00
Peter Zimon
c67d6fd11b
Added dynamic heading color to inputs in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-08 06:32:03 +02:00
Jono Mingard
c1628f46e0
Updated api services to be memoized in case of re-renders
...
no issue
2023-06-08 11:08:00 +12:00
Jono Mingard
446841ce9c
Updated design settings to be editable and show theme settings
...
refs https://github.com/TryGhost/Team/issues/3354
2023-06-08 10:30:25 +12:00
Peter Zimon
567422174d
Fixed select input size bug in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-07 22:58:47 +02:00
Peter Zimon
1cd341d9e6
Fixed type error
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-07 22:53:42 +02:00
Peter Zimon
812b83a66e
Fixed type error
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-07 22:50:56 +02:00
Peter Zimon
1bfade4891
Added preview selection toolbar in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-07 22:48:58 +02:00
Peter Zimon
f48dc5a847
Added inner scrolling for Design sidebar in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-07 17:30:07 +02:00
Peter Zimon
20eaff9e5c
Updated sticky footer component in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-07 13:06:26 +02:00
Peter Zimon
76704d05c6
Added global sticky footer component in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-07 11:53:51 +02:00
Peter Zimon
ef096d9c87
Cleaned up classname properties in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-07 10:48:33 +02:00
Peter Zimon
f05b6a6037
Added unstyled property to image uploads AdminX
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-07 10:29:03 +02:00
Peter Zimon
9faf2cafbe
Got rid of modal
folders in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-07 09:53:20 +02:00
Peter Zimon
a3cba13381
Broke down design settings in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-07 09:40:56 +02:00
Peter Zimon
d7e5661a35
Fixed preview modal size bug in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3354
2023-06-07 09:10:16 +02:00
Peter Zimon
2e2a96c741
User modal refinements in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3351
2023-06-06 15:17:05 +02:00
Peter Zimon
2fc3336dd2
Fixed modal padding bug
...
refs. https://github.com/TryGhost/Team/issues/3351
2023-06-06 15:08:04 +02:00
Peter Zimon
19dfd28946
Added sticky footer option to modals in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3351
2023-06-06 14:58:55 +02:00
Peter Zimon
f5415a25ad
Added backDropClick param. to modals in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3351
2023-06-06 14:58:55 +02:00
Rishabh
695857ae96
Wired save and error handling for user details modal
...
refs https://github.com/TryGhost/Team/issues/3351
- updates user state on suspend/delete actions to show the latest
- shows errors for email and url on user detail screen
2023-06-06 15:08:44 +05:30
Rishabh
fbfb1d0008
Fixed user cover and profile image upload issues
...
refs https://github.com/TryGhost/Team/issues/3351
Uploading cover and profile images for user was having a weird behavior where one was getting removed when the other was uploaded or deleted. This was due to how the state was being updated on image change, which ended up using the old user state while setting the new one. This change uses react's setState method that uses the latest state to set the new one so the changes don't get overridden.
2023-06-06 09:43:36 +05:30
Rishabh
c243b48629
Wired user invite actions on adminX
...
refs https://github.com/TryGhost/Team/issues/3351
- wires resend and revoke actions for a user invite in staff settings
2023-06-06 09:20:45 +05:30
Rishabh
c88a073a5c
Wired delete and owner actions for staff users in adminX
...
refs https://github.com/TryGhost/Team/issues/3351
- allows owners/admins to delete users based on their permission level
- allows admins to be made owner users only if owner is logged in
2023-06-06 09:20:45 +05:30
Jono Mingard
885531b345
Added e2e tests for most simple AdminX settings
2023-06-06 15:50:07 +12:00
Jono M
089a3f7aaf
Added playwright config to admin-x-settings ( #16941 )
...
no issue
2023-06-06 11:29:28 +12:00
Peter Zimon
ae6a2ba0cc
Added notification to user invitations
...
refs. https://github.com/TryGhost/Team/issues/3351
2023-06-05 17:54:53 +02:00
Peter Zimon
e0dca2e0c7
Cleanup test code from AdminX
...
refs. https://github.com/TryGhost/Team/issues/3351
2023-06-05 17:33:20 +02:00
Peter Zimon
5ad8e71cba
Added toasters to AdminX Design System
...
refs. https://github.com/TryGhost/Team/issues/3351
2023-06-05 17:31:25 +02:00
Peter Zimon
ffe5cd765a
Updated user role in AdminX settings
...
refs. https://github.com/TryGhost/Team/issues/3351
2023-06-05 11:53:06 +02:00
Peter Zimon
c6a5ada5cc
Updated user cover and profile image position
...
refs. https://github.com/TryGhost/Team/issues/3351
2023-06-05 11:48:56 +02:00
Peter Zimon
2fe6ccbc22
Wired up user cover and profile image actions
...
refs. https://github.com/TryGhost/Team/issues/3351
2023-06-05 11:45:47 +02:00
Rishabh
c2371b4841
Wired suspend user action on user detail modal in adminX
...
refs https://github.com/TryGhost/Team/issues/3351
- wires Suspend/Un-suspend user action on user detail modal
- adds running state for task buttons in modal
- adds api to delete and suspend/un-suspend users
2023-06-05 10:09:37 +05:30
Rishabh
2b0a6bc454
Wired user invite modal in admin-x
...
refs https://github.com/TryGhost/Team/issues/3351
Allows logged in user to send invites to new users, with allowed roles that can be invited restricted based on the role of logged in user.
2023-06-04 15:49:34 +05:30
Djordje Vlaisavljevic
187c62145c
Updated Twitter and FB card edit mode spacing
...
refs https://github.com/TryGhost/Team/issues/3318
2023-06-02 15:15:47 +01:00
Peter Zimon
2c0b5e61c5
Refined invites user list in AdminX Settings
...
refs. https://github.com/TryGhost/Team/issues/3351
2023-06-02 15:49:09 +02:00
Djordje Vlaisavljevic
f5e81c9b16
Removed className prop from ImageUpload
...
refs https://github.com/TryGhost/Team/issues/3318
2023-06-02 14:47:56 +01:00
Djordje Vlaisavljevic
e9caf73175
Fixed lint error
...
refs https://github.com/TryGhost/Team/issues/3318
2023-06-02 14:47:09 +01:00
Djordje Vlaisavljevic
d7ecc4b33e
Moved CSS for ImageUpload
to prop
...
refs https://github.com/TryGhost/Team/issues/3318
2023-06-02 14:47:09 +01:00
Djordje Vlaisavljevic
449ce994f4
Moved ImageUpload
labels from props to children
...
refs https://github.com/TryGhost/Team/issues/3318
2023-06-02 14:47:09 +01:00
Djordje Vlaisavljevic
091b3acd61
Updated Twitter and FB card edit mode design
...
refs https://github.com/TryGhost/Team/issues/3318
2023-06-02 14:47:09 +01:00
Djordje Vlaisavljevic
bbb09523ce
Added bg-transparent to clearBg variants of TextField and TextArea
...
refs https://github.com/TryGhost/Team/issues/3318
2023-06-02 14:47:09 +01:00
Djordje Vlaisavljevic
10f987ad24
Added className prop to ImageUpload
...
refs https://github.com/TryGhost/Team/issues/3318
2023-06-02 14:47:09 +01:00
Djordje Vlaisavljevic
8a8561fc94
Added FB and Twitter social icons
...
refs https://github.com/TryGhost/Team/issues/3318
2023-06-02 14:47:09 +01:00
Rishabh
b307c59d54
Wired invites list in admin-x settings
...
refs https://github.com/TryGhost/Team/issues/3351
- adds api to get list of all invites on the site
- wires invite list with Revoke/Resend option on the User settings group
2023-06-02 18:41:09 +05:30
Peter Zimon
1a0c1c0cd2
Minor UX fix on password change
...
refs. https://github.com/TryGhost/Team/issues/3351
2023-06-02 15:09:48 +02:00
Peter Zimon
d1c0ea6c57
Added avatar image uploader in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3351
2023-06-02 15:00:36 +02:00
Peter Zimon
82b56c319e
Added cover image interaction to user details
...
refs. https://github.com/TryGhost/Team/issues/3351
2023-06-02 14:32:42 +02:00
Rishabh
3090fc6067
Fixed password reset button state in admin-x
...
refs https://github.com/TryGhost/Team/issues/3351
- the change password button label was not getting reset on saving
2023-06-02 18:01:20 +05:30
Rishabh
94882fd6c8
Wired password reset for non-owner users
...
refs https://github.com/TryGhost/Team/issues/3351
- adds password validation and reset for non-owner users
- password validation uses basic checks for now and will include more checks from current admin in future
2023-06-02 17:57:28 +05:30
Peter Zimon
244f15238f
Added confirmation dialogs to user details
...
refs. https://github.com/TryGhost/Team/issues/3351
2023-06-02 13:12:21 +02:00
Peter Zimon
fb362ba3de
Merged iconbutton to button component
...
refs. https://github.com/TryGhost/Team/issues/3351
2023-06-02 13:12:15 +02:00
Peter Zimon
7535fc73fc
Added click to menu items in AdminX
...
rers. https://github.com/TryGhost/Team/issues/3318
2023-06-02 12:21:30 +02:00
Djordje Vlaisavljevic
6e7f974e7e
Added more padding to Menu
stories
...
refs https://github.com/TryGhost/Team/issues/3351
2023-06-02 11:05:00 +01:00
Djordje Vlaisavljevic
c5ff9d182e
Added labels for User Settings modal Menu
...
refs https://github.com/TryGhost/Team/issues/3351
2023-06-02 11:05:00 +01:00
Djordje Vlaisavljevic
ac68968524
Removed commented out fixed trigger button for Menu
...
refs https://github.com/TryGhost/Team/issues/3351
2023-06-02 11:05:00 +01:00
Peter Zimon
0fd415c1d7
Added global confirmation modal to AdminX
...
refs. https://github.com/TryGhost/Team/issues/3351
2023-06-02 12:01:40 +02:00
Peter Zimon
fb6c79906a
Updated owner role box in user details
...
refs. https://github.com/TryGhost/Team/issues/3351
2023-06-02 11:30:11 +02:00
Peter Zimon
5386fc923f
Added multiselect to Default Recipients
...
refs. https://github.com/TryGhost/Team/issues/3318
2023-06-02 11:13:35 +02:00
Peter Zimon
6900fd9eb0
Added multiselect to AdminX Design System
...
refs. https://github.com/TryGhost/Team/issues/3318
2023-06-02 10:54:25 +02:00
renovate[bot]
17acd2437b
Update dependency typescript to v5.1.3
2023-06-02 09:06:20 +02:00
Peter Zimon
499ba64e00
Fixed delete button bug on image upload comp.
...
refs. https://github.com/TryGhost/Team/issues/3318
2023-06-02 07:31:08 +02:00
Rishabh
d9b3eb7817
Wired facebook setting image upload
...
refs https://github.com/TryGhost/Team/issues/3318
- wires image upload to facebook setting
2023-06-02 10:07:59 +05:30
Rishabh
0f7fc2855e
Wired image upload for Twitter setting
...
refs https://github.com/TryGhost/Team/issues/3318
- adds new file service that allows managing image and file uploads
- wires file upload and save to twitter setting
- fixes issue with dynamic SVG icon loading not working randomly
2023-06-02 09:57:42 +05:30
Djordje Vlaisavljevic
aa78346dd8
Added triggers for Menu stories
...
refs https://github.com/TryGhost/Team/issues/3351
2023-06-01 19:50:43 +01:00
Djordje Vlaisavljevic
3c5b7165f0
Used IconButton component for menu trigger
...
refs https://github.com/TryGhost/Team/issues/3351
2023-06-01 19:49:18 +01:00
Djordje Vlaisavljevic
0d79d47af7
Made the Menu trigger more flexible
...
refs https://github.com/TryGhost/Team/issues/3351
2023-06-01 19:49:18 +01:00
Djordje Vlaisavljevic
6727f31042
Updated Menu stories
...
refs https://github.com/TryGhost/Team/issues/3351
2023-06-01 19:49:18 +01:00
Djordje Vlaisavljevic
555ac95c31
Added WIP IconButton
component
...
refs https://github.com/TryGhost/Team/issues/3351
2023-06-01 19:49:18 +01:00
Djordje Vlaisavljevic
e8d2ff0e98
Updated type name
...
refs https://github.com/TryGhost/Team/issues/3351
2023-06-01 19:49:18 +01:00
Rishabh
81c57fd724
Handled serialisation for settings data
...
refs https://github.com/TryGhost/Team/issues/3151
Some settings, like twitter and facebook urls, need transformation on save and read as the value shown to user is shown as the full URL while we save only the username for their facebook and twitter accounts.
This change adds a pattern for handling special (de)serialisation for setting keys.
2023-06-01 22:58:53 +05:30
Peter Zimon
f4f891b035
Added Twitter and FB image uploads (AdminX)
...
refs. https://github.com/TryGhost/Team/issues/3351
2023-06-01 18:57:27 +02:00
Peter Zimon
bfcbb2b201
Added global image upload component (AdminX)
...
refs. https://github.com/TryGhost/Team/issues/3318
2023-06-01 18:57:25 +02:00
Rishabh
cbf486d811
Added error handling pattern for social accounts setting
...
refs https://github.com/TryGhost/Team/issues/3318
Adds error handling pattern for facebook and twitter account settings same as old admin, showing error message when incorrect value is added and also on blur updates the value to include the facebook/twitter URL
2023-06-01 22:12:11 +05:30
Peter Zimon
8246a56846
Updated global file upload component in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3318
2023-06-01 17:52:35 +02:00
Peter Zimon
022fadee01
Added interactivity to menu component in AdminX
...
refs. https://github.com/TryGhost/Team/issues/3351
2023-06-01 17:04:20 +02:00
Djordje Vlaisavljevic
661a85c748
Added more white space
...
refs https://github.com/TryGhost/Team/issues/3328
2023-06-01 13:56:41 +01:00
Djordje Vlaisavljevic
cc1e567a86
Fixed position issues
...
refs https://github.com/TryGhost/Team/issues/3328
2023-06-01 13:46:19 +01:00
Djordje Vlaisavljevic
3a64248a44
Renamed components and added dynamic labels to Menu
...
refs https://github.com/TryGhost/Team/issues/3328
2023-06-01 13:33:15 +01:00
renovate[bot]
2a739cf248
Update dependency vitest to v0.31.4
2023-06-01 13:41:39 +02:00
Rishabh
88af280bd8
Wired site icon and url in metadata preview
...
refs https://github.com/TryGhost/Team/issues/3318
2023-06-01 16:00:21 +05:30
Rishabh
75b4b1fdff
Added site api data to settings context in admin-x
...
refs https://github.com/TryGhost/Team/issues/3318
- pulls in site data via API in settings provider
- adds site data to be accessible via settings context
2023-06-01 15:56:59 +05:30
Peter Zimon
990395594b
Fixed linting errors
...
refs. https://github.com/TryGhost/Team/issues/3328
2023-06-01 11:28:02 +02:00
Peter Zimon
0b6023a4c7
Implemented sidebar navigation in AdminX settings
...
refs. https://github.com/TryGhost/Team/issues/3328
2023-06-01 11:16:51 +02:00
renovate[bot]
c2e0514665
Update dependency vitest to v0.31.3
2023-06-01 11:09:06 +02:00
renovate[bot]
70960f27f6
Update dependency concurrently to v8.1.0
2023-06-01 11:08:55 +02:00
Rishabh
4883d73a0f
Updated API service for admin-x
...
refs https://github.com/TryGhost/Team/issues/3151
The api service in admin-x was using hardcoded `x-ghost-version` as we did not have access to version value in the app so far. This change passes the ghost version from ember Admin app to Settings-X app via props, and refactors the api util to use the app version as a common header.
- Adds new services provider to pass common services for the app
- passes API as a service via context for the App
- refactors existing API usage to use api from context
2023-06-01 14:32:38 +05:30
Rishabh
667a673415
Added file upload component to admin-x
...
refs https://github.com/TryGhost/Team/issues/3318
- adds new file upload API
- adds new global file upload component with storybook
2023-06-01 14:32:38 +05:30
renovate[bot]
2edaf2c42c
Update dependency vitest to v0.31.2
2023-06-01 09:44:15 +02:00