Djordje Vlaisavljevic
bb34683af2
Admin X newsletter settings title alignment ( #17435 )
...
refs https://github.com/TryGhost/Product/issues/3601
- Added static button group which will control newsletter title
alignment as a placeholder until we implement something like a Segmented
Control component
- Made the newsletter preview box shadow more subtle and fixed the
background color issue
2023-07-20 15:00:04 +01:00
renovate[bot]
dd328f39f7
Update sentry-javascript monorepo to v7.59.3
2023-07-20 07:27:24 +02:00
Chris Raible
96b678a20d
🐛 Fixed members unable to unsubscribe from plan if hidden in Portal ( #17251 )
...
refs TryGhost/Product#3563
- For a member on a paid plan, which had subsequently been hidden from
portal, the member was unable to unsubscribe/change plan because the
'Change' button was hidden
- This change restores the 'Change' button for members on a paid plan,
even if the plan is hidden from portal
- This change also makes some modifications to the 'Change Plan' page,
like showing the current active plan even if it is hidden, and displays
a message to comped members to contact support if they want to change
their plan
---------
Co-authored-by: Sodbileg Gansukh <sodbileg.gansukh@gmail.com>
2023-07-19 18:14:20 -07:00
Daniel Lockyer
52df88cf63
Updated tiptap monorepo to v2.0.3
...
- also adds `@tiptap/pm` as this is requires in v2.0.0 and removes the
resolutions as they are no longer needed
2023-07-19 12:08:52 +02:00
Djordje Vlaisavljevic
abeee56dc4
Updated Admin X newsletter settings design ( #17411 )
...
refs https://github.com/TryGhost/Product/issues/3601
- Added static mock newsletter preview component
- Updated newsletter settings form design
- Fixed background color issue with PreviewModal
2023-07-19 09:48:55 +01:00
renovate[bot]
b82cbeec04
Update sentry-javascript monorepo to v7.59.2
2023-07-19 07:53:05 +02:00
renovate[bot]
cd4a3e3773
Update storybook monorepo to v7.1.0
2023-07-18 14:33:52 +02:00
renovate[bot]
f542c86ac6
Update dependency clsx to v2
2023-07-18 14:08:27 +02:00
renovate[bot]
d546700352
Update storybook monorepo to v7.1.0
2023-07-18 13:13:31 +02:00
Ronald Langeveld
2c1c315016
Bumped Portal version to 2.33.7 ( #17402 )
...
no issue
- bumped portal to a new minor after publishing.
---
<!-- Leave the line below if you'd like GitHub Copilot to generate a
summary from your commit -->
<!--
copilot:summary
-->
### <samp>🤖 Generated by Copilot at 7e70d04</samp>
Updated the portal package to version 2.33.7 with some bug fixes and
improvements. The `apps/portal/package.json` file reflects the new
version number.
2023-07-18 10:37:39 +00:00
Ronald Langeveld
a85d271754
🎨 Added missing translation strings in portal ( #17400 )
...
closes https://github.com/TryGhost/Product/issues/3613
- Strings around the buttons was still hardcoded.
- This replaces them with the `i18n` integration.
<!-- Leave the line below if you'd like GitHub Copilot to generate a
summary from your commit -->
<!--
copilot:summary
-->
### <samp>🤖 Generated by Copilot at 068d0d6</samp>
Added internationalization support to the `ProductsSection` component
using the `t` function and the `Interpolate` component. This enables the
component to display product information in different languages and
currencies.
2023-07-18 11:15:41 +02:00
renovate[bot]
b6439457e6
Update dependency vite-plugin-css-injected-by-js to v3.2.1
2023-07-17 21:42:43 +02:00
renovate[bot]
a0e537c3eb
Update dependency vite-plugin-commonjs to v0.8.2
2023-07-17 13:07:33 +02:00
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
renovate[bot]
8e4393d16f
Update dependency @playwright/test to v1.36.1
2023-07-17 09:48:14 +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
renovate[bot]
eec68d876b
Update sentry-javascript monorepo to v7.58.1
2023-07-13 15:08:54 +02: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
renovate[bot]
873f3f4ae3
Update sentry-javascript monorepo to v7.58.1
2023-07-13 14:07:33 +02:00
renovate[bot]
707f2501c5
Update dependency prosemirror-model to v1.19.3
2023-07-13 14:07:23 +02:00
Daniel Lockyer
78bc1e7156
Released Portal v2.33.6
2023-07-13 14:05:03 +02: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]
d1ac5260e3
Update dependency @babel/eslint-parser to v7.22.9
2023-07-13 08:28:35 +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
renovate[bot]
672a19f78e
Update sentry-javascript monorepo to v7.58.0
2023-07-13 06:03:29 +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
renovate[bot]
1851a36c0d
Update dependency vite-plugin-commonjs to v0.8.1
2023-07-12 14:35:49 +02:00
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]
828d3e4a1a
Update dependency @playwright/test to v1.36.0
2023-07-11 20:53:08 +02: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]
40d05189fe
Update dependency @headlessui/react to v1.7.15
2023-07-11 12:46:55 +00:00
renovate[bot]
40e616eea8
Update sentry-javascript monorepo to v7.57.0
2023-07-11 12:54:56 +02:00
renovate[bot]
4d3272e0c0
Update react monorepo
2023-07-11 09:50:33 +02:00
renovate[bot]
e81ae6b9a6
Update dependency prosemirror-model to v1.19.2
2023-07-11 08:59:51 +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]
40ecd47500
Update dependency prosemirror-transform to v1.7.3
2023-07-10 18:10:10 +02:00
renovate[bot]
9f7b68adf6
Update dependency prosemirror-state to v1.4.3
2023-07-10 17:59:12 +02:00
renovate[bot]
9a5c13309e
Update dependency vitest to v0.33.0
2023-07-10 16:23:32 +02:00
renovate[bot]
cb96ad36bc
Update babel monorepo to v7.22.7
2023-07-10 16:06:41 +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
Paul Knulst
bcf9b9b612
Added aria-label
to close button in announcement bar ( #17169 )
2023-07-10 15:47:36 +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]
44d38e4d4e
Update dependency vite-plugin-css-injected-by-js to v3.2.0
2023-07-10 10:29:23 +02:00
renovate[bot]
0e5a98e43e
Update dependency postcss to v8.4.25
2023-07-10 10:20:30 +02:00
renovate[bot]
5fc6659423
Update dependency cross-fetch to v4
2023-07-10 10:19:26 +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
Daniel Lockyer
b433686944
Released Portal v2.33.5
2023-07-07 16:12:41 +02:00
Daniel Lockyer
c5aea0caee
Fixed showing name in Portal notification
...
fixes https://github.com/TryGhost/Ghost/issues/17242
- we weren't passing the correct parameter to the translation function,
so the name placeholder wasn't being replaced
2023-07-07 16:12:41 +02:00
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
Daniel Lockyer
1aeac9777e
Enabled parallel testing for Playwright tests of apps
...
- we should allow parallel test execution because it's faster than
serial
2023-07-04 16:08:06 +02:00
Peter Zimon
47a9eaadcc
AdminX Portal setting forms ( #17201 )
...
refs. https://github.com/TryGhost/Product/issues/3545
Styles was not applied to AdminX Portal settings forms. Also a couple of new components had to be added for easer future form design and implementation.
2023-07-04 15:18:19 +02:00
renovate[bot]
1c03280223
Update dependency @storybook/addon-styling to v1.3.2
2023-07-04 13:44:25 +02:00
renovate[bot]
8e8c64c622
Update storybook monorepo to v7.0.25
2023-07-04 12:44:42 +02:00
renovate[bot]
74f2e08b16
Update dependency vitest to v0.32.4
2023-07-04 12:24:03 +02:00
Jono M
1cc55eda2e
Updated portal popup to support selecting and updating tiers ( #17192 )
...
refs https://github.com/TryGhost/Team/issues/3545
2023-07-04 19:17:42 +12:00