Commit Graph

220 Commits

Author SHA1 Message Date
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