0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/apps/portal/src
Kevin Ansfield 73d75413a0
🎨 Convert portal links to relative to avoid homepage flash on click (#20896)
closes https://linear.app/tryghost/issue/PLG-190

- often when adding portal links to your own site pages the URLs are added as absolute on the site's homepage due to copy+paste from displayed URLs in Admin
- when clicking absolute portal URLs the homepage is first loaded before the Portal popup is shown resulting in a slower and flashier experience
- added a transform for all local portal URLs on the page when Portal is initialized so links open the Portal popup immediately on the current page
2024-09-02 11:23:12 +00:00
..
components Added sentry to support error on Portal (#20890) 2024-09-02 16:58:22 +09:00
images Flipped thumbs-down icon horizontally in email and Portal (#19306) 2023-12-11 13:05:11 +00:00
tests 🎨 Convert portal links to relative to avoid homepage flash on click (#20896) 2024-09-02 11:23:12 +00:00
utils 🎨 Convert portal links to relative to avoid homepage flash on click (#20896) 2024-09-02 11:23:12 +00:00
actions.js 🐛 Added integrity token to one click subscribe (#20836) 2024-08-27 21:17:19 +00:00
App.css
App.js 🎨 Convert portal links to relative to avoid homepage flash on click (#20896) 2024-09-02 11:23:12 +00:00
App.test.js Updated ESLint config for React+Typescript packages 2023-07-27 11:40:31 +02:00
AppContext.js
data-attributes.js Added support in Portal for integrity tokens on magic link API 2024-08-22 22:23:16 +01:00
index.css
index.js Updated ESLint config for React+Typescript packages 2023-07-27 11:40:31 +02:00
logo.svg
pages.js Added basic Recommendations modal (#17877) 2023-08-30 15:24:04 +00:00
setupTests.js