Commit Graph

1059 Commits

Author SHA1 Message Date
Peter Zimon
b7dc86460b Added member count to main navigation
- added total member count to main navigation to bring more attention to "Members" and balance the sidebar visually
2021-03-04 14:51:19 +01:00
Peter Zimon
cee09f6c16 Updated members table created data style 2021-03-04 13:08:38 +01:00
Peter Zimon
ce43df193f Applied green color to publish button in preview 2021-03-04 11:53:31 +01:00
Sanne de Vries
312000638d Improved social media previews screen in post-preview
No ref

- Added explanatory copy
- Updated "change image" button type
2021-03-03 15:53:16 +01:00
Sanne de Vries
b9a35be517 Fixed facebook description cut-off in edit mode bug 2021-03-03 14:59:28 +01:00
Peter Zimon
332e54533a Updated fallback site icon for navigation header 2021-03-03 14:01: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
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
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
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
Sanne de Vries
9660f076db Fixed clicking on account menu avatar closes menu bug 2021-03-01 14:58:15 +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
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
Peter Zimon
8da465f1c2 Moved accent color to first place in branding settings 2021-02-25 14:47:10 +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
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
79a9951901 Refined defaults for Dashboard charts 2021-02-24 17:21:23 +01: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
Peter Zimon
10f58f74dd Showing email if no name is provided on Dashboard 2021-02-24 14:51:52 +01:00
Peter Zimon
d633f312f1 Added "View billing" link to main menu
- updated main menu to contain "View billing" when it's enabled in config
2021-02-24 13:15:11 +01:00
Sanne de Vries
eec031fa72 Updated social media previews in PSM 2021-02-24 13:04:56 +01:00
Peter Zimon
32c69b4f1b Fixed Dashboard events MRR display bug 2021-02-24 10:21:37 +01:00
Peter Zimon
bc06565bcb Removed suggested minimum from Dashboard charts 2021-02-24 10:11:47 +01:00
Sanne de Vries
1cb2b8cddd Improved social media preview editing design 2021-02-23 21:47:17 +01:00
Kevin Ansfield
ff09a20ac8 Made social/meta text and images in preview modal editable (#1850)
refs https://github.com/TryGhost/Team/issues/482

- replace titles and descriptions with text fields when clicked
    - save on blur
    - blur+save on <kbd>Enter</kbd>
    - blur+restore on <kbd>Escape</kbd>
    - create newline with <kbd>Shift+Enter</kbd> in description fields
- if there's no available image or fallback show a "+ Add image" header in the previews when hovering
- if there is an image show an upload/change image button when hovering
- show a delete image button when hovering once a custom image has been uploaded

Co-authored-by: Sanne de Vries <sannedv@protonmail.com>
2021-02-23 18:37:12 +00:00
Peter Zimon
564e5c2a85 Fix tests 2021-02-23 14:33:49 +01:00
Peter Zimon
b51cec8094 Fixed dynamic color for open rate chart 2021-02-23 14:27:25 +01:00
Peter Zimon
66a813e6cb Updated no-activity-feed in member details 2021-02-23 13:54:24 +01:00
Peter Zimon
ccb4747aaf Added empty member activity UI 2021-02-23 13:54:23 +01:00
Peter Zimon
92dbc288ec Updated open rate chart
- changed to bar chart
- added handling of empty dataset
2021-02-23 13:54:23 +01:00
Kevin Ansfield
15d5096275 Added success notification on launch wizard completion
no issue

- provide an indication of success and a "next step" option
2021-02-23 10:18:57 +00:00
Peter Zimon
937ce7ba89 Updated error box style 2021-02-22 22:33:42 +01:00
Rish
002cc33d52 Fixed currency in chart options
refs https://github.com/TryGhost/Team/issues/469

Uses correct binding to setup currency for MRR charts in y axis ticks
2021-02-23 02:12:12 +05:30
Rish
42d7282b57 Updated chart tick options for MRR
refs https://github.com/TryGhost/Team/issues/469

- Appends currency to the tick value in case of MRR charts
2021-02-23 02:07:55 +05:30
Peter Zimon
693eecb2e9 Fixed email preview UI bugs 2021-02-22 21:14:16 +01:00
Peter Zimon
1f2aeec9d5 Udpated small chart sizes 2021-02-22 20:11:25 +01:00
Peter Zimon
1e4d6e0c0f Added line color variable to charts 2021-02-22 20:11:25 +01:00
Rish
6592fabbe9 Fixed missing options for chart
no refs

- Setting chart options in case of nightShift change was missing options param
2021-02-22 14:01:08 +05:30