Commit Graph

82 Commits

Author SHA1 Message Date
Djordje Vlaisavljevic
375d723878
Added static Newsletter settings to Admin X settings (#17374)
refs https://github.com/TryGhost/Product/issues/3601

- Added static design for Newsletter settings group to Admin X settings,
that shows a simple list of newsletters and opens a preview modal with a
sidebar with static form design
- Fixed issue with spacing in `Forms` when there is no title
2023-07-17 09:12:05 +01:00
renovate[bot]
d753ad4f02 Update dependency @storybook/addon-styling to v1.3.4 2023-07-17 09:51:13 +02:00
Jono M
0137f498d7
Added tests for tier edit modal (#17369)
refs https://github.com/TryGhost/Product/issues/3580
2023-07-14 13:04:34 +00:00
Peter Zimon
a463db4845
Admin X Tiers refinements (#17366)
refs. https://github.com/TryGhost/Product/issues/3580

- It was possible to archive free tier
- The form group heading wasn't discoverable enough
- The left action in modals were not working
2023-07-14 11:43:28 +02:00
renovate[bot]
2f76f07dff Update dependency vite to v4.4.4 2023-07-14 11:04:59 +02:00
renovate[bot]
b8870dec99 Update dependency tailwindcss to v3.3.3 2023-07-14 08:58:58 +02:00
renovate[bot]
25fb1c43c2 Update dependency @storybook/addon-styling to v1.3.3 2023-07-14 08:16:59 +02:00
renovate[bot]
be7723d2bd Update dependency @types/react to v18.2.15 2023-07-14 08:16:46 +02:00
renovate[bot]
fec6c294d6 Update dependency @tailwindcss/forms to v0.5.4 2023-07-14 08:16:30 +02:00
renovate[bot]
6a13e5e737 Update dependency postcss to v8.4.26 2023-07-14 08:16:06 +02:00
Jono M
2e337c4e8c
Added free tier handling and other fixes to tiers modal (#17361)
refs https://github.com/TryGhost/Product/issues/3580

- Made free trial toggle work properly
- Updated currency picker to work correctly
- Enforce format on tier prices
- Added support for editing the free tier
- Added validations to tier modal
- Updated tier modal to remove blank benefits before saving
2023-07-14 10:46:16 +09:00
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