Commit Graph

6400 Commits

Author SHA1 Message Date
Peter Zimon
477b58e076 Using accent color on login button 2021-03-03 13:36:44 +01:00
Sanne de Vries
2cf6dc4e4b Improved social media inline editing
No ref

- Added placeholder attributes to focused input fields
- Fixed only text value being clickable vs. entire field
- Added placeholder attributes to PSM meta data inputs
2021-03-03 13:30:41 +01:00
Kevin Ansfield
cba58451a2 Fixed linting error 2021-03-03 11:27:06 +00:00
Kevin Ansfield
225e037614 Fixed incorrect PSM seo description preview
no issue

- the SEO description preview was using old code that was designed for Ghost's 1.0 editor which only had a markdown card where we could parse the markdown contents to get a live excerpt but this doesn't work when there is no markdown card
- removed the old code so the description now uses a meta description -> custom excerpt -> contents excerpt (from API) fallback
- downside to this is that the contents excerpt will no longer reflect changes in unsaved posts but that's preferable to not showing any fallback at all for non-markdown posts
2021-03-03 11:23:28 +00:00
Kevin Ansfield
c5f75f52c1 Fixed unauthenticated redirect on billing screen
no issue

- when overriding route hooks it's necessary to call `_super` so the extended class hooks will also run, in this case the unauthenticated->signin redirect in the `beforeModel` hook
2021-03-03 08:32:19 +00:00
Sanne de Vries
4263cc7343 Changed public preview divider symbols color 2021-03-02 20:50:27 +01:00
Kevin Ansfield
905df906da Fixed double-load of front-end when opening brand settings
no issue

- moved `.site-iframe` styling into CSS files so it can be re-used outside of the `<GhSiteIframe>` component
- swapped `<GhSiteIframe>` usage in brand settings modal for a plain `<iframe>` element so that it's not initially rendered with the front-end url in it's `src` attribute
2021-03-02 17:44:53 +00:00
Sanne de Vries
e9e169fdfc Improved theme directory
No ref

- Moved from 5-column to 4-column grid
- Moved Marketplace link out of the grid
- Improved hover animation
2021-03-02 18:22:41 +01:00
Peter Zimon
bfa5a3a449 Added title to sign in screen 2021-03-02 18:22:32 +01:00
Kevin Ansfield
3cd1eb5826 Standardised brand settings form behaviour
closes https://github.com/TryGhost/Team/issues/506

- launch wizard and brand settings both shared the same design and behaviour for customising brand settings but used duplicated code that had diverged
- extracted the more up-to-date behaviour from the launch wizard into a component
- updated brand settings and launch wizard to use the new component

changes to brand settings modal behaviour:
- preview is no longer interactive
- switches to using iframe contents replacement instead of `postMessage`
2021-03-02 17:10:43 +00:00
Peter Zimon
27c8a3c524 Copy update 2021-03-02 17:41:24 +01:00
Peter Zimon
acc4254f3c Basic sign in UI update
- updated sign in UI to match better with the rest of Ghost.org
2021-03-02 17:40:35 +01:00
Kevin Ansfield
e464711faa Added "preview" as a matching shortcut for paywall card
no issue

- slash-menu shortcuts are exact matches for the card's keywords so "preview" wouldn't match "public preview"
2021-03-02 15:57:32 +00:00
Kevin Ansfield
e66bb4feac Removed tour feature
refs 10b48b1d6d
refs 1531712d92

- the tour feature is no longer used so all associated code can be removed
- removes `liquid-tether` dependency as it was only used by the tour throbbers/popovers
2021-03-02 14:29:26 +00:00
Kevin Ansfield
1531712d92 Removed missed tour item usage
refs 10b48b1d6d

- previous commit was pushed with an unsaved file, this completes the tour item removal
2021-03-02 14:21:43 +00:00
Kevin Ansfield
10b48b1d6d Removed remaining uses of tour item components
no issue

- tour items in general are being removed
- preparation for full removal of all tour-related code (to be done in following commit to allow future revert without merge errors through template divergence)
2021-03-02 14:19:52 +00:00
Sanne de Vries
d8e5764d17 Fixed google breadcumb character in social media preview 2021-03-02 13:45:53 +01:00
Sanne de Vries
2ec9383bdd Hid Facebook description when title exceeds single line in all social media previews 2021-03-02 13:25:00 +01:00
Fabien 'egg' O'Carroll
8403bf9b49 Added fallback for top members (#1856)
* Added fallback for top members

refs https://github.com/TryGhost/Team/issues/469

We do not have open rates for a member until we've sent at least 5
emails. In order to still display a top members section for sites which
have not sent that many newsletters, we fallback to paid members,
ordered by created_at. This effectively gives us our oldest members,
which are currently paid.
2021-03-02 13:08:07 +01:00
Kevin Ansfield
0ed59d730d Ensured redirect for /billing route when not signed in
no issue

Fixes a bug where the billing iframe would show a blank page when called directly and user is not logged in. This commit ensures to that we have a valid authenticated session and redirects to the signin page if not.
2021-03-02 08:50:56 +00:00
Sanne de Vries
9660f076db Fixed clicking on account menu avatar closes menu bug 2021-03-01 14:58:15 +01:00
Sanne de Vries
d82f89d33c Added margin to suspended-user badge 2021-03-01 14:50:00 +01:00
Sanne de Vries
049030899c Fixed cut-off descenders on Integration list 2021-03-01 14:45:57 +01:00
Sanne de Vries
2b83749473 Fixed empty scrollbars in portal and branding/install theme/customise email modals 2021-03-01 14:42:47 +01:00
Allan Stromfeldt Christensen
b6bc5e66eb Fixed typos in currency names (#1857) 2021-03-01 10:03:52 +00:00
Sanne de Vries
94c73e234e Refined AMP integration page 2021-03-01 10:10:55 +01:00
Sanne de Vries
89f4cdfd0a Styled social media previews empty state for images 2021-02-25 17:20:43 +01:00
Sanne de Vries
4f6710b1d3 Refined launch wizard UI
No ref

- Changed button copy
- Changed test mode switch color
2021-02-25 16:57:24 +01:00
Rish
137071500f Cleaned calculation for total/paid member count
refs https://github.com/TryGhost/Team/issues/469

- Fixed calculation for total/paid member count to use last value from outside range
- Fixed stats data override in dashboard
2021-02-25 21:19:10 +05:30
Peter Zimon
d74115aa70 Minor UI bugfix 2021-02-25 14:50:22 +01:00
Peter Zimon
8da465f1c2 Moved accent color to first place in branding settings 2021-02-25 14:47:10 +01:00
Peter Zimon
e2e6de06ee Dashboard cleanup 2021-02-25 14:39:34 +01:00
Fabien 'egg' O'Carroll
2b16d482fa Fixed currencies for launch wizard (#1854)
refs https://github.com/TryGhost/Admin/commit/34b2162c

We moved the definition of currencies to a utils file and this was
missed.
2021-02-25 13:07:57 +00:00
Peter Zimon
7744a78594 Added currency grouping 2021-02-25 12:09:06 +01:00
Peter Zimon
5491ee0d55 Refined no-data chart for total members 2021-02-25 11:35:18 +01:00
Peter Zimon
df04ec78e7 Refined no-data display for MRR charts 2021-02-25 11:28:01 +01:00
Peter Zimon
65d53e2f85 Added dismiss to launch wizard banner 2021-02-25 10:58:35 +01:00
Fabien 'egg' O'Carroll
34b2162c32 Added support for 113 new currencies (#1853)
refs https://github.com/TryGhost/Team/issues/473

This list of currencies was compiled by taking the union of the UK and US from
https://stripe.com/docs/currencies and removing all non-decimal currencies, e.g.
Japanese Yen.

The members module does not need any additional logic to handle these currencies,
however we do need to clean up hardcoded currency symbols in favour of using the new
`{{price}}` helper and `Intl.NumberFormat`
2021-02-25 09:47:08 +00:00
Peter Zimon
e253dfc0f0 Added loading and error handling for what's new in Dasboard 2021-02-25 09:57:10 +01:00
Rish
edc533cc88 Added loading/error states for whats new entries
refs https://github.com/TryGhost/Team/issues/469

- Adds new loading/error tracked values for whats new entries for error/loading states
2021-02-25 14:21:28 +05:30
Rish
ceaf54b60e Cleaned up dashboard charts loading states
refs https://github.com/TryGhost/Team/issues/469

Updated loading and error state handling for all charts to show basic spinner and error message
2021-02-25 14:04:44 +05:30
Rish
ee1bb32113 Cleaned newsletter open rate stats
refs https://github.com/TryGhost/Team/issues/469

- Cleaned up newsletter open rate stats and summary data
- Fixed incorrect cached value for open rate charts
2021-02-25 13:34:34 +05:30
Peter Zimon
125243a3ed Updated Dashboard dark mode 2021-02-24 19:18:13 +01:00
Peter Zimon
371da0b9c1 Updated launch wizard banner 2021-02-24 19:09:19 +01:00
Peter Zimon
79a9951901 Refined defaults for Dashboard charts 2021-02-24 17:21:23 +01:00
Peter Zimon
fbf121b7f2 Added 'What's new' to Dashboard 2021-02-24 16:59:05 +01:00
Kevin Ansfield
ff8f45be54 Fixed tests
refs 0503ce5f35

- referenced commit changed `dashboard` to redirect to `site` when logged in user is not an owner or admin
- updated tests to reflect the change
2021-02-24 15:56:18 +00:00
Kevin Ansfield
6214e2a187 Fixed repeat message when trying to install Casper from github
refs https://github.com/TryGhost/Team/issues/480
2021-02-24 15:48:36 +00:00
Kevin Ansfield
f0824225fd Updated marketplace themes (#1852)
refs https://github.com/TryGhost/Team/issues/480

- switched marketplace themes to a selection of Ghost's own free themes
- added install and preview buttons for all
- show theme screenshot in the install modal if it's a known theme
2021-02-24 15:42:03 +00:00
Peter Zimon
0503ce5f35 Updated Dashboard visibility
- only owner/admins can view Dashboard, everyone else is redirected to "View site"
2021-02-24 15:33:00 +01:00