Commit Graph

202 Commits

Author SHA1 Message Date
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
Fabien 'egg' O'Carroll
32f4861176
Bumped eslint-plugin-ghost (#16906)
- This includes changes to support PascalCase filenames for interfaces
- Also bumps newer packages to use the latest version to avoid conflicts
with the underlying eslint-plugin-filenames package
2023-05-31 16:36:32 -04:00
Peter Zimon
04d68b2e47 Added static user invite dialog to AdminX
refs. https://github.com/TryGhost/Team/issues/3328
2023-05-31 22:31:35 +02:00
Peter Zimon
c865ab00f4 Added static tabs for design settings in AdminX
refs. https://github.com/TryGhost/Team/issues/3328
2023-05-31 22:30:03 +02:00
Rishabh
664f4ebedd Updated save sequence for settings group in admin-x
refs https://github.com/TryGhost/Team/issues/3151

- updated save sequence for setting groups where edit button is hidden by default
- shows `Saved` for couple of seconds before disappearing on saving such setting groups
- adds save sequence for default recipient setting group
2023-06-01 00:29:09 +05:30
Rishabh
9ca82490c2 Added save states for setting groups in admin-x
refs https://github.com/TryGhost/Team/issues/3151

- adds Save -> Saving -> Saved sequence to save buttons on all setting groups
- uses common hook state to manage state across all Settings
2023-05-31 22:03:35 +05:30
Rishabh
19b2112f8b Updated wiring for user detail modal in admin-x
refs https://github.com/TryGhost/Team/issues/3151

- updates role info for user details modal for owner user, hides option to change role for owner
- adds saving/saved state for user detail modal
- removes alerts from invite and detail modal
- adds wiring for remaining user detail modal settings
2023-05-31 22:03:35 +05:30
Peter Zimon
8c02d963c4 Fixed button interface bug
refs. https://github.com/TryGhost/Team/issues/3328
2023-05-31 13:59:14 +02:00
Peter Zimon
13c629e6b3 Added static brand tab in AdminX Design settings
refs. https://github.com/TryGhost/Team/issues/3328
2023-05-31 13:58:21 +02:00
Fabien 'egg' O'Carroll
8b85f936fc
Added static DropdownMenu component to Admin X DS (#16896)
refs https://github.com/TryGhost/Team/issues/3328

<!--
copilot:summary
-->
### <samp>🤖 Generated by Copilot at 8a276bc</samp>

This pull request adds a new DropdownMenu component to the admin-x-ds
global library. It also includes a storybook file to showcase the
component's usage and appearance.

---------

Co-authored-by: Djordje Vlaisavljevic <dzvlais@gmail.com>
2023-05-31 12:49:40 +01:00
Peter Zimon
53ed8078ca Added desktop window chrome to design preview
refs. https://github.com/TryGhost/Team/issues/3328
2023-05-31 09:59:01 +02:00
Peter Zimon
99798ad06b Added a backdrop blur to modals in AdminX
refs. https://github.com/TryGhost/Team/issues/3328
2023-05-31 09:42:10 +02:00