Commit Graph

71 Commits

Author SHA1 Message Date
Djordje Vlaisavljevic
b6a990f830 Updated spacing for form headings
refs https://github.com/TryGhost/Product/issues/3580
2023-07-13 13:31:21 +01:00
Djordje Vlaisavljevic
0a79fc8ce7 Added placeholders for Tier Preview values
refs https://github.com/TryGhost/Product/issues/3580
2023-07-13 13:31:21 +01:00
Peter Zimon
fd5b2cc0cf
Updated AdminX Tiers list to use cards (#17346)
refs. https://github.com/TryGhost/Product/issues/3580

- Using cards instead of standard rows in the Tiers list makes it much
easier to orient it. Also makes settings more playful and nicer.
2023-07-13 10:41:06 +02:00
Jono M
8f6bf61359
Fixed currency display on AdminX tiers list (#17341)
refs https://github.com/TryGhost/Product/issues/3580
2023-07-13 13:54:55 +05:30
Peter Zimon
b580355a17
Admin X Tiers refinements (#17344)
refs. https://github.com/TryGhost/Product/issues/3580

- The Tiers list had an unnecessary extra separator on top
- Spacing was a bit off in the benefits list in the Tier detail modal
2023-07-13 09:53:37 +02:00
renovate[bot]
f4f4dd512e Update storybook monorepo to v7.0.27 2023-07-13 08:28:11 +02:00
renovate[bot]
a29eadec06 Update dependency @types/react-dom to v18.2.7 2023-07-13 06:03:46 +02:00
Jono M
9dd2489000
Fixed bugs with AdminX navigation settings (#17340)
refs https://github.com/TryGhost/Product/issues/3433

- Removed Ember dirty state from AdminX to prevent extra popups
- Fixed incorrect navigation popup new item errors
2023-07-13 01:12:31 +00:00
Djordje Vlaisavljevic
6f47002f9d
Improved responsiveness of tier preview (#17338)
Improved responsiveness of tier preview

refs https://github.com/TryGhost/Product/issues/3580
2023-07-12 23:18:37 +01:00
Djordje Vlaisavljevic
168db1f196
Updated DesktopChrome component and its usage (#17330)
- Updated `DesktopChrome` component
- Refactored the existing `PreviewModal` and `ThemePreview`
components to use the new component and removed some redundant code
- Added storybook for the component
2023-07-12 21:56:59 +01:00
Peter Zimon
497d1be2ea
Admin X Tiers Fields (#17332)
refs. https://github.com/TryGhost/Product/issues/3580

- The currency dropdown needed a small version of the regular select
- The input field needed a version with a right-side placeholder text
2023-07-12 18:23:51 +02:00
Peter Zimon
a725f9d6c2
Admin X Tiers settings refinements (#17322)
refs. https://github.com/TryGhost/Product/issues/3580

Soratable list needed stylistic updates and simplifications both in navigation and benefits list.
2023-07-12 16:51:14 +02:00
Rishabh Garg
4424f25970
Wired data to tier preview in adminX (#17323)
refs https://github.com/TryGhost/Product/issues/3580
2023-07-12 18:56:28 +05:30
Jono M
36f4a72531
Added sortable tier benefit editing in AdminX (#17315)
refs https://github.com/TryGhost/Product/issues/3580
2023-07-12 14:49:32 +09:00
Jono M
57a851227c
Added AdminX navigation settings components to design system (#17312)
refs https://github.com/TryGhost/Product/issues/3349

- Moved URLTextField to AdminX design system
- Factored out sortable list into a design system component
2023-07-12 03:21:54 +00:00
Jono M
8fd9d92944
Added basic wiring to save tiers from the tier modal (#17311)
refs https://github.com/TryGhost/Product/issues/3580
2023-07-12 01:16:07 +00:00
Djordje Vlaisavljevic
5f30e935b3
Created DesktopChrome component for previews
refs https://github.com/TryGhost/Product/issues/3349

Created a component for desktop chrome for previews (similar to what we
already have - `MobileChrome`) and its storybook
2023-07-11 22:44:28 +01:00
Djordje Vlaisavljevic
9abcf9d3ed
Added AdminX tier preview static design (#17307)
refs https://github.com/TryGhost/Product/issues/3580

- Added static design for tier preview and the checkmark icon it uses
2023-07-11 19:55:28 +01:00
renovate[bot]
bef119fa0f Update dependency vite to v4.4.3 2023-07-11 17:17:23 +02:00
Peter Zimon
bf7c176f54
Added basic Tiers form (#17304)
refs. https://github.com/TryGhost/Product/issues/3580

Static version of Tiers/Basic properties form was needed so it can be
wired up.
2023-07-11 17:13:38 +02:00
Rishabh Garg
36b23b49a9
Wired archived and active tiers list in adminX (#17300)
refs https://github.com/TryGhost/Product/issues/3580
2023-07-11 19:59:35 +05:30
renovate[bot]
7dce046786 Update Test & linting packages 2023-07-11 15:26:07 +02:00
renovate[bot]
4d3272e0c0 Update react monorepo 2023-07-11 09:50:33 +02:00
renovate[bot]
93973dd9b2 Update dependency stylelint to v15.10.1 [SECURITY] 2023-07-11 06:45:05 +00:00
renovate[bot]
9dd1f97bb0 Update dependency vite to v4.4.2 2023-07-10 18:17:28 +02:00
renovate[bot]
9a5c13309e Update dependency vitest to v0.33.0 2023-07-10 16:23:32 +02:00
Peter Zimon
2135547941
AdminX Tiers static design (#17271)
refs. https://github.com/TryGhost/Product/issues/3580

- A couple of static components were needed as a starting point for
Tiers in AdminX settings.
2023-07-10 15:55:42 +02:00
renovate[bot]
0c309454cf Update dependency @vitejs/plugin-react to v4.0.3 2023-07-10 15:40:54 +02:00
renovate[bot]
5c6339efdb Update storybook monorepo to v7.0.26 2023-07-10 15:34:44 +02:00
renovate[bot]
ea9cc21a0c Update dependency @vitejs/plugin-react to v4.0.2 2023-07-10 13:48:58 +02:00
Daniel Lockyer
fb0807c8c5 Prevented git tags from being created for apps
refs https://ghost.slack.com/archives/C02G9E68C/p1688983916615989?thread_ts=1687341349.559679&cid=C02G9E68C

- these cause issues with our PR workflow because we can't push tags in
  a PR and the commit is rebased onto `main` so the hash changes
- this disables tags for now
2023-07-10 13:09:28 +02:00
Rishabh Garg
dd7670859f Released Admin-x-settings v0.0.9 2023-07-10 14:39:39 +05:30
renovate[bot]
0e5a98e43e Update dependency postcss to v8.4.25 2023-07-10 10:20:30 +02:00
Rishabh
f2b924ca96 Added hidden state for portal preview frame in adminX
refs https://github.com/TryGhost/Product/issues/3545

- hides portal frame till portal is ready and loaded
2023-07-07 21:28:26 +05:30
Peter Zimon
ca3fe7d9db
Added routing to Portal (#17240)
refs. https://github.com/TryGhost/Product/issues/3545

Routing for Portal settings in AdminX was missing
2023-07-07 13:23:36 +00:00
Peter Zimon
702c88b9ba
AdminX Portal settings refinements (#17238)
refs. https://github.com/TryGhost/Product/issues/3545

- Device selector is not needed in Portal settings' preview
- Links page was too wide
- Scrolling for preview contents was on the whole modal instead of just the preview area
2023-07-07 13:03:06 +00:00
Rishabh
26c2590923 Wired save button state for portal settings modal
refs https://github.com/TryGhost/Product/issues/3545

- adds dynamic loading state for portal modal save button
2023-07-07 16:30:59 +05:30
Rishabh
ad0e52ac39 Wired tier selection for portal links
refs https://github.com/TryGhost/Product/issues/3545

Enables tier selection on Portal links page in adminX, allowing tier specific signup links to be copied
2023-07-07 16:30:59 +05:30
Peter Zimon
2642941be6
AdminX Portal links (#17227)
refs. https://github.com/TryGhost/Product/issues/3545

Static version of links page in AdminX Portal settings.
2023-07-07 11:36:31 +02:00
Rishabh Garg
31ff544e7a
Added account page in Portal preview in adminX (#17236)
refs https://github.com/TryGhost/Product/issues/3545

- adds switch to showing account page in portal preview
2023-07-07 14:47:17 +05:30
Jono M
4ffdab3c82
Added confirmation modal after setting portal email address (#17231)
refs https://github.com/TryGhost/Product/issues/3545
2023-07-07 02:05:14 +00:00
Jono M
e397368393
Improved Lexical behaviour in AdminX portal settings (#17232)
refs https://github.com/TryGhost/Product/issues/3545

- Fixed TODOs
- Fixed koenig editor not resizing as content expands
- Fixed placeholder in html field
- Updated signup options to validate terms length
2023-07-07 02:03:46 +00:00
Rishabh
c6b8097ff9 Added portal preview frame in adminX
refs https://github.com/TryGhost/Product/issues/3545

- adds portal preview iframe in modal
- wires local settings to portal preview url to dynamically generate the Portal preview
2023-07-06 20:41:42 +05:30
Peter Zimon
4fff14fdac
Updated AdminX Portal button icons (#17223)
refs. https://github.com/TryGhost/Product/issues/3545

Portal button icons in AdminX styling was just placeholders.
2023-07-06 11:53:33 +00:00
Peter Zimon
c9f2271665
AdminX installed theme list updates (#17221)
refs. https://github.com/TryGhost/Product/issues/3349

The installed themes were not sorted and the active theme was not the
first one which made it hard to discover in the list.
2023-07-06 11:21:48 +00:00
Peter Zimon
a5b62707ef
AdminX theme navigation experiment (#17210)
refs. https://github.com/TryGhost/Product/issues/3349

It's a bit cumbersome how design and theme navigation is handled in
AdminX at the moment. On a high level, this PR applies the following
changes:

- Change theme is under Design settings
- After activating a theme, Design settings are automatically opened
2023-07-06 12:03:01 +02:00
Jono M
e1fbfd3e12
Added HTML editor using koenig-lexical (#17217)
refs https://github.com/TryGhost/Product/issues/3545

Used in portal settings for the signup message.
2023-07-06 03:05:33 +00:00
Jono M
b9158215ee
Added portal icon picker in AdminX settings (#17216)
refs https://github.com/TryGhost/Product/issues/3545
2023-07-05 23:16:52 +00:00
Rishabh
79a7f8c408 Added basic routing for adminX settings
refs https://github.com/TryGhost/Product/issues/3349

- adds basic routing in adminX settings based on hash url path
- adds new routing provider that manages hash routing across adminX
- updates sidebar navigation to update route directly
- updates theme/design settings to update route for opening edit modals
2023-07-04 20:56:55 +05:30
Rishabh
56fcba1d27 Updated global Modals to handle after close method
refs https://github.com/TryGhost/Product/issues/3349

- allows modals to call `afterClose` when removed in case the parent wants any action on modal close, like routing update
2023-07-04 20:56:55 +05:30