Djordje Vlaisavljevic
7d9dfac489
Added a prop for enabling horizontal scroll
...
refs PROD-332
2024-01-23 11:37:44 +00:00
Ronald Langeveld
e2a4724792
🐛 Fixed links in History ( #19551 )
...
refs
https://linear.app/tryghost/issue/PROD-331/post-and-offer-links-404-in-history
- Links were using Ember route instead of absolute routes, causing 404s.
2024-01-23 11:32:46 +00:00
Ronald Langeveld
db5d2d0329
🐛 Fixed primary_name crashing Settings history ( #19550 )
...
fixes
https://linear.app/tryghost/issue/PROD-329/history-modal-crashes-the-app
- Added optional chaining operator to avoid null or undefined crashes
when the condition doesn't meet and should rather just move on.
- It now aligns with the other conditions where chaining is used.
2024-01-23 10:05:12 +00:00
Princi Vershwal
363fbd1d9b
Added delay to avoid preview flashing ( #19548 )
2024-01-23 09:29:55 +00:00
Ronald Langeveld
dc1bba781b
Fixed Offers redemptions preselection ( #19541 )
...
fixes
https://linear.app/tryghost/issue/PROD-319/offer-is-not-preselected-in-filter-dropdown-after-navigating-to
- fixes the URL builder for when Redeemed offers are selected to ensure
the selected tier is preselected in the members filter
2024-01-22 15:14:08 +00:00
Djordje Vlaisavljevic
d37a46a400
Updated yearly discount indicator copy PROD-299 ( #19540 )
...
refs PROD-299
2024-01-22 14:53:57 +00:00
Princi Vershwal
73fb5a3e84
Added loader for preview ( #19536 )
2024-01-22 14:45:06 +00:00
renovate[bot]
d54f4b06e5
Update storybook monorepo to v7.6.10
2024-01-22 09:25:28 +01:00
renovate[bot]
3575102462
Update dependency vite to v4.5.2 [SECURITY]
2024-01-22 09:25:09 +01:00
Djordje Vlaisavljevic
c4a800e97d
Fixed logic for displaying toast notifications when updating email address PROD-215
...
refs PROD-215
- Showing toast notification instead of modal to all users (even
self-hosted and legacy (Pro)) now
- More compact toast notification message
- Updated tests
2024-01-18 19:00:49 +00:00
Ronald Langeveld
b4fc45008a
Added hasLoaded state in Portal Frame ( #19524 )
...
no issue
- added an additional state that keeps track on whether the iFrame
content has loaded, before checking whether Portal has loaded.
2024-01-18 16:42:52 +00:00
Djordje Vlaisavljevic
501b1a2640
Updated design for sender and reply-to email address flow PROD-215 PROD-216
...
refs PROD-215 PROD-216
- Added toast notifications for successful sender and reply-to email
address change behind the flag, instead of the modal
- Updated email template for verifying new sender or reply-to email
2024-01-18 15:21:48 +00:00
Ronald Langeveld
3e67544331
Removed onLoad from iFrame element ( #19522 )
...
no issue
- removed the onLoad function from the iFrame element and only rely on
the listener waiting for 'portal-ready' before showing Portal
2024-01-18 15:09:52 +00:00
Daniel Lockyer
57c5f92770
Reverted " 🎨 Added Offers to the new Settings ( #19493 )"
...
This reverts commit c7d7b883cc
.
2024-01-18 15:04:59 +01:00
Sag
0f17f9a937
Updated design of the reply-to field for custom sending domains ( #19515 )
...
fixes PROD-205
fixes PROD-219
- removed the right placeholder complexity
- the preview renders the current sender / reply-to address in
real-time, regardless of whether it's valid
- if the reply-to address does not match the custom sending domain, show
an inline error
2024-01-18 14:39:43 +01:00
Ronald Langeveld
c7d7b883cc
🎨 Added Offers to the new Settings ( #19493 )
...
no issue
- Removes flags for the new Offers in Admin X (Settings)
- Removes old Offers from the sidebar.
- See a new version of Offers in Settings. 🎨
2024-01-18 12:56:08 +00:00
Ronald Langeveld
14bf2df834
Made offers iframe init load async ( #19516 )
...
no issue
- ensures it waits for event data to load before rendering the iframe
which sometimes causes an undesired flashing experience.
2024-01-18 12:38:41 +00:00
Ronald Langeveld
66238c7ccf
Added default string to href to Offers Portal iFrame ( #19514 )
...
no issue
- potentially fixes a small performance issues to avoid the homepage of
your publication from being loaded should an href from Portal not exist
when loading Offers, that could cause flashing.
2024-01-18 09:42:46 +00:00
Sodbileg Gansukh
8f4f013ed2
Design details on Offers cards and list ( #19513 )
2024-01-18 08:24:28 +00:00
renovate[bot]
bd77acdf7f
Update storybook monorepo to v7.6.9
2024-01-18 08:34:43 +01:00
renovate[bot]
0108b9578d
Update dependency autoprefixer to v10.4.17
2024-01-18 08:34:25 +01:00
Djordje Vlaisavljevic
4abcd17184
Added static design for banners
...
refs PROD-215 PROD-322
2024-01-17 21:09:24 +00:00
Sag
5ddd90a244
Updated Portal settings to render paid plans options only when relevant ( #19507 )
...
fixes PROD-300
- hides "Prices available at signup" and "Price preselected at signup"
options in Portal settings, if no paid tier is active/visible
2024-01-17 15:08:15 +00:00
Pradhumansinh Padhiyar
59ebe1919e
[fix-#19246] --Fix darkmode is not working properly in Settings/Recommendations tab ( #19249 )
...
Fix:- #19246
Resolved an issue with dark mode in the recommendation tabs footer by
making TailwindCSS adjustments. Previously, the footer stayed in light
mode when transitioning from light mode to dark mode.
**Changes Made:**
Implemented a TailwindCSS class for a dark background in the table
footer to ensure consistency with dark mode.
**Before Fix:**
![288238357-1801884e-a8a4-48ac-b59a-0b2260561cdd](https://github.com/TryGhost/Ghost/assets/24241624/787f695c-fa7c-4ae8-aa34-9c9c53df4686 )
**After Fix:**
![Screenshot 2023-12-06 at 11 15
19 AM](https://github.com/TryGhost/Ghost/assets/24241624/4bb65ffe-735a-440c-801c-520f991585e6 )
**This fix enhances the user experience when working with
Recommendations Tab in settings.**
Please let me know if any further adjustments or clarifications are
needed. Thank you!
2024-01-17 12:13:11 +01:00
Kevin Ansfield
100e7b70c6
✨ Added TK Reminders feature ( #19491 )
...
no issue
- keep an eye on on https://ghost.org/changelog/ for full details
2024-01-17 08:57:35 +00:00
renovate[bot]
a1158a5595
Update Types packages
2024-01-15 21:04:04 +01:00
Michael Barrett
ed0762fb51
Removed usage of yg
when using NQL ( #19287 )
...
refs https://github.com/TryGhost/NQL/pull/73
The referenced PR removes `yg` from the parsed NQL output, so we also
need to remove any usage of it in Ghost
2024-01-15 14:40:01 +00:00
renovate[bot]
44ed5a4506
Update storybook monorepo to v7.6.8
2024-01-14 09:18:18 +01:00
renovate[bot]
42158c0792
Update tiptap monorepo to v2.1.16
2024-01-11 14:07:12 +00:00
renovate[bot]
ad37aaa53c
Update tiptap monorepo to v2.1.15
2024-01-08 21:57:34 +00:00
renovate[bot]
4cc7070fae
Update dependency @headlessui/react to v1.7.18
2024-01-08 16:13:31 +00:00
renovate[bot]
52051132b0
Update tiptap monorepo to v2.1.14
2024-01-08 12:46:44 +00:00
Ronald Langeveld
3c4b981674
🐛 Fixed outside click exiting Code Injection modal ( #19424 )
...
no issue
- fixed a bug causing the full screen code injection to close when
clicking out side of it, which could cause the loss of unsaved changes.
2024-01-05 10:53:57 +00:00
renovate[bot]
85f3ef3d14
Update dependency postcss to v8.4.33
2024-01-05 11:05:49 +01:00
Sodbileg Gansukh
3e98dd9edf
Simplified offers table UI ( #19439 )
...
fixes PROD-283
2024-01-04 10:45:44 +00:00
Sodbileg Gansukh
3611e99422
Close offer modal after archiving/reactivating ( #19437 )
...
fixes PROD-284
2024-01-04 02:17:53 +00:00
Sodbileg Gansukh
af1551bf8f
Moved learn more link to a separate line in Offers setting group ( #19428 )
...
fixes PROD-281
2024-01-03 06:57:32 +00:00
Sodbileg Gansukh
ea04f74a82
Fixed dashed border width issue for offers preview in Portal ( #19427 )
...
fixes PROD-282
2024-01-03 06:48:47 +00:00
Ronald Langeveld
d06a1a4e5b
Disabled Codemirror searchKeymap in Admin X ( #19423 )
...
refs https://linear.app/tryghost/issue/PROD-287/cmdf-in-code-injection
- wired in the default basicSetup and then explicitly disable the search
keymap to avoid cmd+f triggering the codemirror search and instead
brings up the default browser finder.
2024-01-02 19:34:30 +02:00
renovate[bot]
c16960e5bc
Update storybook monorepo to v7.6.7
2024-01-02 10:40:14 +01:00
renovate[bot]
3508cd12fe
Update dependency clsx to v2.1.0
2023-12-29 21:15:34 +00:00
renovate[bot]
80bb5ff887
Update dependency clsx to v2.0.1
2023-12-29 20:03:34 +00:00
Jono M
51ee276e97
Updated files with mixed named/default exports to use only named exports ( #19385 )
...
no issue
Fixes a warning in yarn dev
2023-12-14 16:01:28 +00:00
Princi Vershwal
62a5b7d61a
Removed onBlur error feedback in Recommendation edit modal ( #19382 )
...
Fixes
[PROD-266](https://linear.app/tryghost/issue/PROD-266/remove-onblur-error-feedback-in-recommendation-edit-modal )
2023-12-14 13:09:55 +00:00
Princi Vershwal
e0aca1c2fb
Removed onBlur error feedback in Custom Integration/Webhook modal ( #19384 )
...
Fixes
[PROD-269](https://linear.app/tryghost/issue/PROD-269/remove-onblur-error-feedback-in-custom-integration-webhook-modal )
2023-12-14 12:46:37 +00:00
Princi Vershwal
82d9e3a978
Removed onBlur error feedback in Custom Integration edit modal ( #19383 )
...
Fixes
[PROD-268](https://linear.app/tryghost/issue/PROD-268/remove-onblur-error-feedback-in-custom-integration-edit-modal )
2023-12-14 12:30:07 +00:00
Princi Vershwal
8d3f3d60f7
Removed onBlur error feedback on Tier detail modal ( #19381 )
...
Fixes
[PROD-265](https://linear.app/tryghost/issue/PROD-265/remove-onblur-error-feedback-on-tier-detail-modal )
2023-12-14 11:53:35 +00:00
Princi Vershwal
bb42faf694
Removed onBlur error feedback in Newsletter General settings ( #19379 )
...
Fixes PROD-267
2023-12-14 11:44:05 +00:00
Ronald Langeveld
0dc4ac380c
Portal Iframe Improvements in Admin X ( #19377 )
...
refs PROD-4
- removed unnecessary props passed into the PortalFrame component.
2023-12-14 09:42:30 +02:00
Princi Vershwal
3fef668394
Validation fix: Corrected fields should revert back from error-state ( #19376 )
...
Fixes PROD-278
2023-12-14 07:03:20 +00:00
Princi Vershwal
7b0ec35a1f
Fixed validation error: Corrected fields should revert back from erro… ( #19374 )
...
Fixes
[PROD-272](https://linear.app/tryghost/issue/PROD-272/corrected-fields-should-revert-back-from-error-state )
2023-12-14 05:32:50 +00:00
Ronald Langeveld
275cdd4db9
Added performance adjustments to Portal iFrames ( #19373 )
...
refs PROD-4
2023-12-14 06:54:39 +02:00
Djordje Vlaisavljevic
69a8f71bd1
Switched checkbox to a hint showing status
...
refs PROD-276
2023-12-13 16:58:50 +00:00
Djordje Vlaisavljevic
b0ac1e9afd
Hid price preselect dropdown when only monthly or yearly are shown
...
refs PROD-275
2023-12-13 16:58:50 +00:00
Djordje Vlaisavljevic
02e04f06b9
Fixed placeholder overflow in HTMLField
...
refs PROD-82
2023-12-13 16:58:50 +00:00
Djordje Vlaisavljevic
b97f91f408
Changed portal settings to show free tier name instead of "Free"
...
refs PROD-255
2023-12-13 16:58:50 +00:00
Sodbileg Gansukh
f00b342e83
Fixed number formatting of offer redemptions count ( #19365 )
...
fixes PROD-274
- corrected plural form of the label
- added number formatting
2023-12-13 15:38:53 +00:00
Sodbileg Gansukh
6462f8f2ab
Fixed minor design issues in offers ( #19363 )
...
fixes PROD-271, PROD-273
2023-12-13 15:26:28 +00:00
Peter Zimon
58d9b8e382
Update migration in settings ( #19278 )
...
refs.
7b40393d77
We're improving the usability and possibilities for publishers to
migrate from other platforms such as Substack, Medium or Mailchimp. This
PR applies changes to Ghost Settings to support the new flows, more
specifically:
- moves import and export functions out of Labs to its own setting,
directly available from search and the menu
- adds direct access to various platform migrations
- moves "Delete all content" to a dedicated setting group at the bottom
of all setting
---------
Co-authored-by: Jono Mingard <reason.koan@gmail.com>
2023-12-13 16:25:29 +01:00
Ronald Langeveld
f23767fe12
Fixed offers asc/desc sorting not updating in component ( #19361 )
...
refs
https://linear.app/tryghost/issue/PROD-8/when-i-sort-by-name-→-click-into-an-offer-→-go-back-to-the-list-it
2023-12-13 13:46:11 +00:00
Princi Vershwal
f29d7975a8
Removed validation onBlur ( #19358 )
...
Fixes
[PROD-209](https://linear.app/tryghost/issue/PROD-209/when-an-input-is-focused-and-a-modal-is-closed-error-messages-are )
2023-12-13 11:07:15 +00:00
Daniel Lockyer
a9c9202b5c
Added defaults to Nx build step
...
refs https://github.com/TryGhost/DevOps/issues/122
- this allows us to DRY up some of the other configuration we have
dotted around and fixes a niche bug with overlapping builds that we
were seeing before, because Nx should only allow one build at a time
2023-12-13 11:54:31 +01:00
Daniel Lockyer
efec8b5fba
Enabled concurrent execution of tsc and Vite build
...
refs https://github.com/TryGhost/DevOps/issues/122
- this runs the Vite build and Typescript type checking concurrently,
which will speed up the total time to build
2023-12-13 11:54:31 +01:00
Ronald Langeveld
286194d61a
Added global state to avoid losing sorting state in Offers ( #19355 )
...
refs
https://linear.app/tryghost/issue/PROD-8/when-i-sort-by-name-→-click-into-an-offer-→-go-back-to-the-list-it
- we now handle the state via a global state to ensure we aren't resetting the sorting options after each rerender.
2023-12-13 12:25:06 +02:00
Sodbileg Gansukh
be47817ca0
Dark mode improvements for offers success screen ( #19356 )
2023-12-13 10:20:47 +00:00
Daniel Lockyer
fc02ca8bbb
Reverted "Update Vite packages"
...
refs https://ghost.slack.com/archives/C0568LN2CGJ/p1702454781859679
- this reverts commit cf60db85d8
as we've
seen issues with the `vite-plugin-css-injected-by-js` dependency
2023-12-13 09:24:29 +01:00
renovate[bot]
9f9f6d0526
Update dependency @types/react to v18.2.45
2023-12-13 08:59:33 +01:00
Sodbileg Gansukh
3713273560
Dark mode improvements for offers ( #19352 )
...
fixes PROD-262, PROD-261
2023-12-13 07:40:40 +00:00
renovate[bot]
981b8fc814
Update dependency @types/react to v18.2.44
2023-12-13 08:23:09 +01:00
Princi Vershwal
830967d2ed
Edit cancle button fix ( #19350 )
...
Fixes:
[PROD-213](https://linear.app/tryghost/issue/PROD-213/cancelling-should-act-two-ways-when-the-modal-is-opened-from-the-list )
2023-12-13 07:16:26 +00:00
Sodbileg Gansukh
b7648e7bc2
Added design improvements to the Portal preview in offers ( #19349 )
...
fixes PROD-251, PROD-252, PROD-254
2023-12-13 06:17:12 +00:00
Princi Vershwal
7d530406f6
Add offer cancel button fix ( #19348 )
...
Ref
[PROD-213](https://linear.app/tryghost/issue/PROD-213/cancelling-should-act-two-ways-when-the-modal-is-opened-from-the-list )
2023-12-13 05:48:48 +00:00
renovate[bot]
cf60db85d8
Update Vite packages
2023-12-12 18:23:37 +01:00
Sodbileg Gansukh
03fd494e84
Hide copy link feature when there's no offer code ( #19335 )
...
fixes PROD-253
2023-12-12 15:57:55 +00:00
Sodbileg Gansukh
0a5c61acb2
Removed linking when there's no redemptions ( #19332 )
...
fixes PROD-250
2023-12-12 15:37:50 +00:00
Djordje Vlaisavljevic
5c19249473
Added yearly discount indicator to monthly/yearly toggle PROD-60 PROD-222 PROD 223 ( #19276 )
...
refs PROD-60, PROD-222, PROD-223, PROD-89, PROD-94
- Indicator shows up in the monthly/yearly toggle if there are any paid
tiers with yearly discount, and shows the highest discount in order to
nudge visitors towards checking out yearly plan
- A couple of smaller portal improvements: typos, spacing, alignment
---------
Co-authored-by: Simon Backx <simon@ghost.org>
2023-12-12 09:32:56 +00:00
Princi Vershwal
c1c3775748
Revert "Add offer cancle button fix" ( #19324 )
...
Reverts TryGhost/Ghost#19297
2023-12-12 07:27:17 +00:00
Sodbileg Gansukh
c932e9d60e
Updated copy of the add offer link in the settings group ( #19323 )
2023-12-12 12:28:53 +07:00
Sodbileg Gansukh
742a743a6b
Removed extra div when there's no offers to show in the settings group ( #19322 )
2023-12-12 05:03:43 +00:00
Daniël van der Winden
21e23981c8
Fixed X logo colour in dark mode ( #19316 )
...
Closes issue
https://linear.app/tryghost/issue/PROD-238/x-logo-should-be-inverted-in-dark-mode-in-settings
Adjusted the SVG to set its fill to currentColor.
2023-12-11 18:01:58 +01:00
Daniël van der Winden
8c5c773398
Fixed white icon bg's in tier list in dark mode ( #19310 )
...
Closes issue https://github.com/TryGhost/Ghost/issues/18872
Solves the problem of the bg-white class showing a white background
behind the checkmark icons in the tier list.
2023-12-11 17:13:46 +01:00
Jono M
9ff482f985
Updated AdminX routing to work with and without a leading slash ( #19312 )
...
no issue
2023-12-11 14:43:06 +00:00
Ronald Langeveld
4c09a96a3c
Changed request type to fetching iframe content in previews ( #19307 )
...
refs PROD-227
- Swapped out the request type from `POST` to `GET`.
2023-12-11 14:28:35 +00:00
Jono M
8ab693d74d
Fixed wrong credentials usage in AdminX previews ( #19281 )
...
refs PROD-227
2023-12-11 14:01:53 +00:00
Sanne de Vries
61a91f7dbd
Flipped thumbs-down icon horizontally in email and Portal ( #19306 )
...
Refs https://github.com/TryGhost/static/pull/3
- This way the thumbs-down is facing the opposite direction as the
thumbs-up
2023-12-11 13:05:11 +00:00
renovate[bot]
29f9322cf3
Update dependency @types/react to v18.2.43
2023-12-11 09:49:06 +01:00
renovate[bot]
9fae565673
Update sentry-javascript monorepo to v7.86.0
2023-12-11 09:48:49 +01:00
Princi Vershwal
5cb3ec6e0b
Add offer cancle button fix ( #19297 )
...
Fixes PROD-213
2023-12-11 04:40:35 +00:00
renovate[bot]
996ca6ac87
Update dependency ts-node to v10.9.2
2023-12-09 10:51:51 +01:00
Ronald Langeveld
181c5c0920
Changed code injection to full screen editor. ( #19259 )
...
fixes PROD-7
https://ghost.slack.com/archives/C0568LN2CGJ/p1701690959138659
- Changed the code injector editor to only use the full screen editor in
its own modal.
---------
Co-authored-by: Peter Zimon <peter.zimon@gmail.com>
2023-12-08 09:11:52 +02:00
Sag
1fb22c8aca
Removed hardcoded title for single free tier in Portal ( #19289 )
...
fixes PROD-68
2023-12-07 19:28:14 +00:00
renovate[bot]
e5c6b0a23f
Update storybook monorepo to v7.6.4
2023-12-07 15:37:43 +01:00
renovate[bot]
1c04bdbdb2
Update dependency typescript to v5.3.3
2023-12-06 21:29:30 +01:00
Sag
a5dcae80e7
Updated copy during email verification in newsletter settings ( #19265 )
...
fixes PROD-202
2023-12-06 19:56:25 +00:00
Djordje Vlaisavljevic
813abb06e2
Moved hint content to placeholders for consistency PROD-204, PROD-203 ( #19261 )
...
refs PROD-204, PROD-203
- Moved fallback value information from hints to placeholders for
consistency and cleaner layout
- Changed setting section label
2023-12-06 17:06:21 +00:00
Simon Backx
3bc068123c
Wired up checkbox to toggle tier visibility ( #19260 )
...
fixes PROD-200
2023-12-06 17:36:18 +01:00
Simon Backx
3f6ea04c43
Added portal default plan setting ( #19238 )
...
fixes PROD-61
This adds a new default plan setting. It defaults to yearly, which is
the current default selected interval in Portal.
Behind the new portal improvements feature flag, the default plan can be
changed. It will also change automatically if the available intervals
are changed.
This PR also wires up passing the new setting to the Portal preview.
2023-12-06 11:39:58 +01:00
Princi Vershwal
a38aef7522
Validation fix ( #19256 )
...
Fixes PROD-208
2023-12-06 10:38:05 +00:00
Simon Backx
2830a0fba0
Released Portal v2.37.0
2023-12-06 11:30:47 +01:00
Princi Vershwal
60d142202b
Remove validation error once user start typing ( #19251 )
...
Ref
[PROD-15](https://linear.app/tryghost/issue/PROD-15/validation-issues )
2023-12-06 13:32:21 +05:30