1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Commit graph

6152 commits

Author SHA1 Message Date
Kevin Ansfield 524d84ffba Added design customisation and preview to launch wizard
refs https://github.com/TryGhost/Team/issues/450

- moved next/finish buttons into wizard step components in case they need to save before triggering transition
- added icon, logo, and cover image upload+removal to "customise design" step alongside a preview that reloads each time an image is changed
2021-01-18 17:48:11 +00:00
Kevin Ansfield 322dc85613 Added outline launch wizard framework
refs https://github.com/TryGhost/Team/issues/450

- adds `launch/*` routes corresponding to launch wizard steps
- sets up navigation between each wizard step
- adds components for each `launch/*` step to contain step-related functionality and facilitate later refactoring to a generalised wizard component
- adds link to the launch wizard from the dashboard screen
2021-01-18 13:48:23 +00:00
Kevin Ansfield e450d4351e Default developer experiments to "off" in tests
no issue

- we should be testing production functionality by default, if tests need to test functionality behind the developer experiments flag they should explicitly enable it
2021-01-18 09:13:43 +00:00
Kevin Ansfield e3e1c4bb0a Added blank dashboard screen
no issue

- preparatory work for upcoming features
- default homepage when developer experiments is enabled
2021-01-18 09:02:44 +00:00
renovate[bot] 9785e85454
Update dependency ember-fetch to v8.0.3 (#1826)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-18 08:19:35 +00:00
Renovate Bot 68e0578bf8
Update dependency eslint to v7.18.0 2021-01-18 07:52:49 +00:00
Rishabh Garg 06d47f53e5
Added new FirstPromoter integration (#1825)
no issue

Adds new FirstPromoter integration on the integrations page. FirstPromoter enables sites to launch their own members referral program, and integration allows Site admins to directly add their FirstPromoter tracking ID in the settings to enable FirstPromoter script on their site.
2021-01-15 20:01:40 +05:30
John O'Nolan a1da989d21 Updated integrations showcase: Plausible, Ulysses, GitHub 2021-01-14 19:29:21 +07:00
Daniel Lockyer 5ed01516bc
Renamed TryGhost/Ghost-Admin links to TryGhost/Admin
no issue

- the repository has been renamed so this commit brings the links inline with this
2021-01-13 09:36:27 +00:00
Renovate Bot 267523ce7e Update actions/setup-node action to v2 2021-01-13 08:26:20 +00:00
Kevin Ansfield 213c7b8b0b Removed "unsubscribed" events from member activity feed
refs 63f7f9a827
closes https://github.com/TryGhost/Team/issues/446

- email failures no longer auto-unsubscribe members so we shouldn't show that in the activity feed
2021-01-12 18:44:43 +00:00
Kevin Ansfield d007cad0cc Lock file maintenance 2021-01-12 17:57:57 +00:00
renovate[bot] fe402e9910
Update dependency @tryghost/timezone-data to v0.2.35 (#1824)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-12 17:55:33 +00:00
renovate[bot] efee8e5061
Update dependency @tryghost/string to v0.1.16 (#1823)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-12 17:50:04 +00:00
renovate[bot] e612d64923
Update dependency @tryghost/helpers to v1.1.37 (#1822)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-12 17:49:50 +00:00
renovate[bot] 8911979205
Update dependency ember-in-viewport to v3.8.1 (#1804)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-12 17:49:34 +00:00
renovate[bot] 5a43b02b22
Update dependency markdown-it to v12 (#1729)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-12 11:21:56 +00:00
renovate[bot] a2173a5728
Update dependency @tryghost/kg-parser-plugins to v1.1.0 (#1821)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-12 11:06:21 +00:00
renovate[bot] 14d8103bf9
Update dependency @tryghost/kg-clean-basic-html to v1.0.11 (#1820)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-12 11:05:29 +00:00
renovate[bot] 94ddcc50b0
Update dependency reframe.js to v3 (#1588)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-12 10:22:01 +00:00
renovate[bot] 1fd989dfb3
Update dependency @tryghost/timezone-data to v0.2.34 (#1817)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-12 09:46:04 +00:00
Harsh Maur 90343a5dc8
🐛 Fixed flash of unstyled content appearing when toggling night mode (#1818)
closes https://github.com/TryGhost/Ghost/issues/12396

We use two stylesheets ghost-light.css and ghost-dark.css for light mode and night mode respectively. The problem occurs when we disable the light stylesheet when we enable dark stylesheet, as there is a moment when there is no style applied. This causes flash of unstyled content (or a big logo when users flip the night mode switch)

Since the ghost-dark style is loaded after the ghost-light stylesheet, we only need to enable or disable the dark stylesheet. When the dark stylesheet is enabled, the light stylesheet will be overridden automatically by the browser. I could not find any performance implications on overriding styles. The only performance implication is around loading a new stylesheet which we already do.
2021-01-12 09:45:33 +00:00
renovate[bot] 3cd0d7993c
Update dependency @tryghost/string to v0.1.15 (#1816)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-12 09:17:31 +00:00
renovate[bot] cb8853cd5d
Update dependency @tryghost/helpers to v1.1.36 (#1815)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-12 09:17:21 +00:00
renovate[bot] 1d2cb74390
Update dependency autoprefixer to v10.2.1 (#1814)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-12 09:17:06 +00:00
Sanne de Vries 3e9e48cc44 Fixed several responsiveness issues in members list
No issue

- Member email is cut off when overflowing on mobile
- Not displaying date moment-from-now and chevron on mobile
- Fixed left alignment issue for geolocation when there's no open rate
2021-01-08 14:01:48 +01:00
Sanne de Vries 90f5447c54 Fixed overflowing content on mobile for user rows on staff page 2021-01-07 17:12:28 +01:00
Daniel Lockyer f51c8a750b
v3.40.5 2021-01-07 08:46:16 +00:00
Sanne de Vries 5b9f4b6940 Fixed bug navigation margins on mobile 2021-01-06 21:52:44 +01:00
Kevin Ansfield be080c5604 🐛 Fixed blank data in member customer tab
refs 5e1b78abe2

- when pulling the customer data display out of the subscriptions loop the data output was not updated to match
- adds a `customer` property to the `<GhMemberSettingsForm>` backing class that pulls the customer data from the first available subscription and adds the `startDate` property. Using the first available customer record works because there's a 1:1 mapping of member to stripe customer
2021-01-06 11:56:15 +00:00
Daniel Lockyer d809614223
v3.40.4 2021-01-05 16:46:28 +00:00
Daniel Lockyer f25d00f016
v3.40.3 2021-01-05 13:10:10 +00:00
renovate[bot] 562ea61bbc
Lock file maintenance (#1813)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-05 11:20:23 +00:00
renovate[bot] dd3de175cb
Update dependency @tryghost/members-csv to v0.4.1 (#1798)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-04 09:24:49 +00:00
renovate[bot] 9c14187c29
Update dependency ember-cli-mirage to v2 (#1812)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-04 09:08:31 +00:00
renovate[bot] baacd75e06
Update dependency markdown-it-mark to v3.0.1 (#1811)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-04 08:54:53 +00:00
renovate[bot] 962f037573
Update dependency ember-concurrency-decorators to v2.0.3 (#1810)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-04 08:54:35 +00:00
renovate[bot] 37616d0fbc
Update dependency ember-auto-import to v1.10.1 (#1809)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-04 08:53:43 +00:00
Renovate Bot d7a9e9cd0e
Update dependency eslint to v7.17.0 2021-01-04 00:07:32 +00:00
Renovate Bot 1e0cdac7ab
Update dependency eslint to v7.16.0 2020-12-21 00:07:26 +00:00
Kevin Ansfield 5e1b78abe2 🐛 Fixed duplicate customers showing for members with multiple subscriptions
no issue

- the customer info table was being rendered as part of the `{{#each member.subscriptions}}` loops which meant it was being rendered again for every subscription
- moved the customer record display out of the subscriptions loop
2020-12-19 09:11:13 +00:00
Daniel Lockyer aa15f59dae
v3.40.2 2020-12-16 14:04:39 +00:00
Kevin Ansfield 26a20abb2b 🐛 Fixed potential "Request entity too large" error when saving members
no issue

- `email_recipient` records are embedded alongside member data when fetching individual members so the member activity feed can be generated
- full email details are included for each email so that previews can be generated which can result in a large payload
- by default Ember Data will push all embedded records back to the server when saving which resulted in `Request entity too large` errors in some environments when a member has received many emails
2020-12-16 13:41:45 +00:00
Sanne de Vries 900c52f769
Fixed issues for member details mobile view (#1807)
* Fixed issues for member details mobile view

No-ref

- Changed order to display feed at the bottom
- Displayed heading and value vertically between 1400px and 1160px
- Displayed "Complementary plan" copy and switch vertically between 1400px and 1160px
- Added margin below "Continue subscription" button
- Prevented date in feed to wrap

* fixed tests

Co-authored-by: Kevin Ansfield <kevin@lookingsideways.co.uk>
2020-12-16 10:04:33 +01:00
renovate[bot] 6532e1dec1
Update dependency ember-auto-import to v1.9.0 (#1805)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-14 12:29:53 +00:00
renovate[bot] 8da1bdc035
Update dependency @glimmer/component to v1.0.3 (#1802)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-14 12:29:29 +00:00
Daniel Lockyer bdf90d1d5a
v3.40.1 2020-12-11 11:28:12 +00:00
Kevin Ansfield c9933b7a2d 🐛 Fixed clipped tooltips in member activity feed after showing all
no issue

- liquid-fire containers (inserted by `{{#liquid-if}}`) have `overflow: hidden` applied which means the absolutely positioned tooltips that leave the container are clipped or in some cases not visible at all
- adding `class="show-overflow"` to `{{#liquid-if}}` adds the class to the top-level `.liquid-container` element allowing us to alter the behaviour slightly in CSS by making use of the `.liquid-animating` class that is added whilst the animation is in progress. By only applying `overflow: hidden` whilst animating we can keep the reveal whilst eliminating the clipping when the animation finishes
  - does not work in all cases and can introduce jankiness in others where the visible overflow causes positioning changes
2020-12-11 11:04:18 +00:00
Sanne de Vries fefe74ed10 Fixed test failure for post time format 2020-12-11 10:03:29 +01:00
Sanne de Vries 26fa14ea1f Changed tooltip on hovering schedule state in post list from uppercase to capitalised 2020-12-11 09:49:07 +01:00