Commit Graph

6092 Commits

Author SHA1 Message Date
Kevin Ansfield
26f4e79ac7 Fixed test (updated expected text in) 2021-01-19 22:38:32 +00:00
Kevin Ansfield
63c1f2060c Added stripe connection to launch site wizard
refs https://github.com/TryGhost/Team/issues/450

- duplicated and refactored/updated direct and connect settings UI from labs to the "connect stripe" step of the launch site wizard
- updated wizard buttons to be right-aligned
2021-01-19 22:31:59 +00:00
Kevin Ansfield
7828aea09c Lock file maintenance 2021-01-19 09:29:55 +00:00
Kevin Ansfield
ab2dd14677 Pinned all postcss dependencies to v7 (#1830)
no issue

- due to various levels of sub-dependency support across our postcss dependencies we'd ended up with three different versions of postcss installed (6, 7, and 8)
- pinned our dependencies to versions that all use postcss@^7
- we can't upgrade to postcss@8 because we make heavy use of `color-mod` which is no longer in the CSS spec and so the dependency providing it has not been updated
- switched from `postcss-easy-import` to `postcss-import` to drop the postcss@6 sub dependency (we weren't using any of the features that postcss-easy-import added over postcss-import)
- initial tests show CSS compilation times to have roughly halved
- disabled renovate for css dependencies to reduce noise for updates we can't merge
2021-01-19 09:25:05 +00:00
renovate[bot]
c2ad14559a Update dependency @tryghost/members-csv to v0.4.2 (#1828)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-19 08:22:48 +00:00
renovate[bot]
1f69ad3b82 Update dependency ember-fetch to v8.0.4 (#1829)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-19 08:22:32 +00:00
Aileen Nowak
abc38ab375 Updated links to ghost.org sites
no issue

Follow-up task of the updated Ghost Docs structure. Updated links reflecting the new structure to prevent unnecessary 404s and redirects.
2021-01-19 13:18:59 +13:00
Kevin Ansfield
00c73bbf68 Actually fixed tests 2021-01-18 21:16:00 +00:00
Kevin Ansfield
60be92bbc0 Fixed tests 2021-01-18 21:07:48 +00:00
Kevin Ansfield
2b41499b22 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
d48abaa1f8 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
beac5543ce 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
5463e95d8e 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]
0a3e26fb7d 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
dcd1d0d5b8 Update dependency eslint to v7.18.0 2021-01-18 07:52:49 +00:00
Rishabh Garg
464e601c4d 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
eea1ddab71 Updated integrations showcase: Plausible, Ulysses, GitHub 2021-01-14 19:29:21 +07:00
Daniel Lockyer
912c6b4896 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
6e5fca1e63 Update actions/setup-node action to v2 2021-01-13 08:26:20 +00:00
Kevin Ansfield
17a69850a2 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
4cfdd9f885 Lock file maintenance 2021-01-12 17:57:57 +00:00
renovate[bot]
1901422d04 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]
7f8eeb1566 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]
42ea6d776e 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]
76748fa4a8 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]
2fd0ea95f3 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]
31b913d4b5 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]
e8c724a22a 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]
4d6282bd87 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]
132ea620f6 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
78513b7998 🐛 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]
88e12089bd 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]
1b54ecc750 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]
49815efe29 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
44ff46277c 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
57c376e202 Fixed overflowing content on mobile for user rows on staff page 2021-01-07 17:12:28 +01:00
Daniel Lockyer
2c6701223e v3.40.5 2021-01-07 08:46:16 +00:00
Sanne de Vries
6a6858238a Fixed bug navigation margins on mobile 2021-01-06 21:52:44 +01:00
Kevin Ansfield
8c712d62bf 🐛 Fixed blank data in member customer tab
refs 772f5fa766

- 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
0a710d7b70 v3.40.4 2021-01-05 16:46:28 +00:00
Daniel Lockyer
227521a732 v3.40.3 2021-01-05 13:10:10 +00:00
renovate[bot]
dd597c3da6 Lock file maintenance (#1813)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-05 11:20:23 +00:00
renovate[bot]
af2ff1b973 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]
5dadb108f6 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]
29d9192a19 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]
ce5881b18e 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]
b04c815a80 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
eaa4d4b3fc Update dependency eslint to v7.17.0 2021-01-04 00:07:32 +00:00
Renovate Bot
cc47ab5f70 Update dependency eslint to v7.16.0 2020-12-21 00:07:26 +00:00
Kevin Ansfield
772f5fa766 🐛 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