Commit Graph

6376 Commits

Author SHA1 Message Date
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
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
5c9e2a46aa Refined grey box color 2021-02-24 11:09:09 +01:00
Peter Zimon
53358422e4 Members style update 2021-02-24 11:02:51 +01:00
Peter Zimon
8565b2521b Added percentage growth styles 2021-02-24 10:32:10 +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
Daniel Lockyer
0a700c7097 v4.0.0-alpha.3 2021-02-23 19:41:48 +00: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
Fabien O'Carroll
a16519baa9 Fixed Dashboard Controller fetching data
no-issue

By fetching data in the constructor, we would fetch data immediately
when the route created the controller. Which would cause us to fetch
data before a user was logged in. By moving the data fetching until
after setupController is called, we can be sure that it will not happen
until the route is being rendered.
2021-02-23 14:35:56 +00:00
Peter Zimon
564e5c2a85 Fix tests 2021-02-23 14:33:49 +01:00
Peter Zimon
90fa9de9f2 Dashboard color refinements 2021-02-23 14:29:58 +01:00
Peter Zimon
ffce5bc6c4 Dashboard copy update 2021-02-23 14:28:34 +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
Fabien O'Carroll
c7bc501d23 Updated dashboard controller to fetch 5 events for timeline
refs https://github.com/TryGhost/Team/issues/469
2021-02-23 12:46:19 +00:00
Fabien O'Carroll
110335c7ac Updated fetching event timeline to accept limit
refs https://github.com/TryGhost/Team/issues/469

We want to allow the consumer of the data to be able to specify how much
data to fetch.
2021-02-23 12:44:17 +00: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
6fc1f786f4 Copy update 2021-02-23 10:47:49 +01:00
Peter Zimon
3ed9e02ef1 Integrations UI fixes 2021-02-22 22:51:02 +01:00