Commit Graph

6523 Commits

Author SHA1 Message Date
Sanne de Vries
abbb5cb314 Updated info box styles 2021-03-23 12:17:47 +01:00
Sanne de Vries
e0b9d64875 Fixed dashboard graphs responsive issue 2021-03-22 15:59:18 +01:00
Peter Zimon
50c41c18f8 Fixed box alignment on Dashboard 2021-03-22 15:42:16 +01:00
Peter Zimon
6cdd79e0b5 Updated settings button copy on Dashboard 2021-03-22 15:37:46 +01:00
Peter Zimon
48f44b9093 Fixed placeholder of tag color 2021-03-22 15:16:09 +01:00
Sanne de Vries
6f3ae6e4ed Fixed arrow widths for avatar and canvas title 2021-03-22 10:53:39 +01:00
Sanne de Vries
2937df8212 Fixed logo icons in Integrations/Zapier for dark mode 2021-03-22 10:33:28 +01:00
Sanne de Vries
12abd4c2c9 Changed dashboard button style in dark mode 2021-03-19 12:14:24 +01:00
Sanne de Vries
a231c8970d Fixed email preview height Safari bug 2021-03-19 11:57:22 +01:00
Daniel Lockyer
3bcc2bc184 v4.1.0 2021-03-18 17:40:06 +00:00
Peter Zimon
105140ef3f New logo (#1868)
refs TryGhost/Team#547

- Updated Admin to use new Ghost logo
2021-03-18 17:26:35 +00:00
Kevin Ansfield
7286ae9fcf 🐛 Fixed link contrast in editor with very light/dark accent colors (#1870)
refs https://github.com/TryGhost/Team/issues/551
refs https://github.com/TryGhost/Ghost/issues/12767#issuecomment-800177254

- calculate contrast color of accent color against light/dark mode background color
- lighten (dark mode) or darken (light mode) the accent color used in the editor to ensure it has enough contrast to be legible
2021-03-18 16:46:38 +00:00
Fabien 'egg' O'Carroll
6d324e31f1 🐛 Fixed deleting members to prompt cancellation (#1869)
closes https://github.com/TryGhost/Team/issues/546

Since https://github.com/TryGhost/Ghost/commit/26ee6483 and
https://github.com/TryGhost/Admin/commit/fbd42ef3 member
subscriptions have not been on the `stripe` property.

This meant that all members were considered to not have subscriptions,
and so the modal would not display to option to cancel subscriptions.
2021-03-18 14:45:29 +00:00
Sanne de Vries
eec670a859 Fixed Safari bug social previews icon height 2021-03-18 15:14:23 +01:00
Sanne de Vries
5ade9fe201 Updated links style 2021-03-18 14:56:33 +01:00
Kevin Ansfield
df2301e1c0 Revert "Refactored ApplicationController to use native class"
This reverts commit 9b6d4822e7.

- there is an issue with properties not being tracked correctly and the menu not being shown when returning from the editor
- reverting to working version with computed properties for now
2021-03-17 12:00:14 +00:00
Kevin Ansfield
9b6d4822e7 Refactored ApplicationController to use native class
no issue

- updated to use Ember Octane idioms
2021-03-17 11:48:36 +00:00
Daniel Lockyer
a43386371a v4.0.1 2021-03-16 01:09:59 +00:00
Daniel Lockyer
b4bc750d35 v4.0.0 2021-03-15 23:37:47 +00:00
Daniel Lockyer
dd2d8fb2d2 v4.0.0-rc.3 2021-03-15 13:13:18 +00:00
Kevin Ansfield
efdde1f4a6 Fixed billing/update links showing for admins
no issue

- only owners can generate tokens to identify as the publication so the billing app won't work for non-owners
2021-03-15 12:33:48 +00:00
Rishabh Garg
74e2d3ef8c 🐛 Fixed MRR start date value in chart (#1865)
no refs

MRR start date value for charts was being calculated with start value as 0, assuming we have the data for first date in our range to use as start value. Since the events data returned only has data on dates where any MRR event happened, in case the first date in our range didn't have any. data we started from 0 instead of value on previous date. This fix

- updates calculation to pick the start value for chart based on value on last date in our range(30 days)
- adds unit tests for stats
2021-03-15 15:23:55 +05:30
Daniel Lockyer
c11d32cabb v4.0.0-rc.2 2021-03-12 20:33:20 +00:00
Daniel Lockyer
ff6dbd62d1 v4.0.0-rc.1 2021-03-10 21:43:11 +00:00
Peter Zimon
5d158aa7c5 Updated launch site banner on Dashboard 2021-03-10 22:18:44 +01:00
Peter Zimon
8210116c28 Added 'create content' card to Dashboard 2021-03-10 22:15:51 +01:00
Peter Zimon
73500dc712 Updated internal link cards on Dashboard 2021-03-10 21:49:55 +01:00
Peter Zimon
0eaf1abfe6 Added 'crunched' card to Dashboard 2021-03-10 21:39:06 +01:00
Peter Zimon
61334c0014 Added community card to Dashboard 2021-03-10 20:49:23 +01:00
Peter Zimon
9667293a42 Added blog post to Dashboard 2021-03-10 20:21:26 +01:00
Peter Zimon
f9f8c4019a Updated link cards on Dashboard 2021-03-10 20:16:24 +01:00
Peter Zimon
4c9297b04d Added blog post to Dashboard 2021-03-10 20:12:21 +01:00
Peter Zimon
0c1be1c132 Added TheBrowser card to Dashboard 2021-03-10 19:23:06 +01:00
Peter Zimon
f6fe6127ca Fixed test 2021-03-10 18:05:24 +01:00
Peter Zimon
6f2fe2d80e Fixed top members 'since' column on Dashboard
- removed from time from Top members list
2021-03-10 18:01:21 +01:00
Kevin Ansfield
ddbeec3945 Fixed billing nav menu item not showing as active
no issue

- the billing nav menu item isn't a regular route link so we don't get "active" classes by default
- added active class manually based on the service property that controls billing screen visibility
2021-03-10 16:16:42 +00:00
Kevin Ansfield
cce71e5517 Fixed preview shortcut not working when billing app is enabled
no issue

- the billing modal is always rendered, it's contents being shown/hidden via CSS
- when the billing modal was rendered it was changing the `key` scope and binding the enter key, however because it's always rendered this was messing with the default key scope for all other areas of the app
- removed all keyboard handling from the billing modal because it wasn't actually doing anything (there is nothing to handle the "confirm" action when Enter is pressed) which fixes the unexpected key scope change
2021-03-10 16:15:19 +00:00
Peter Zimon
d3b3a0117d Updated squirlce logo ref to 4.0 repo 2021-03-10 15:54:22 +01:00
Hannah Wolfe
16b0311aa7 Updated reference to members importer template
- Have created a new v4 template, which is the same as the v3 template.
- Updating this reference now keeps it versioned, so that if we need to make changes just for v4 we can easily by just updating the asset
2021-03-10 14:17:07 +00:00
Sanne de Vries
eba163ec15 Fixed color-picker divider border 2021-03-10 13:42:32 +01:00
Sanne de Vries
16883b41a5 Changed styling of what's-new indicator 2021-03-10 13:20:55 +01:00
Kevin Ansfield
287c98c707 Fixed membersStats service stale-data logic
no issue

- the stale data checks would always return false because the calculation was reversed
  - `old date - new date` will always result in a negative number so it would never be greater than 60000
  - switched to `new date - old date` to get a positive number so the `>` comparison works
  - moved `1 * 60 * 1000` into a constant so it's easier to the intended behaviour at a glance
2021-03-10 10:06:06 +00:00
Kevin Ansfield
a8abc3a366 Pre-filled email address input in post preview modal for current user
no issue

- when viewing the email preview in the post preview modal having your email address pre-filled makes sending yourself an email preview much quicker as there's no need to type anything
2021-03-10 09:35:10 +00:00
Peter Zimon
a274ac3912 Updated upgrade button styles 2021-03-10 09:38:57 +01:00
Rishabh Garg
85c2628049 Added validation to not allow empty accent color (#1863)
closes https://github.com/TryGhost/Team/issues/535

To ensure accent color is always set for a site, this updates brand settings screen and launch wizard to not allow empty accent color to be set or updated, adding the relevant error on the page which needs to be fixed before saving or continuing on the screens.

- Shows error message for empty accent color on brand settings and launch wizard
- Shows error message for invalid accent color on brand settings and launch wizard
- Blocks save and continue with invalid/empty accent color on brand settings and launch wizard

Co-authored-by: Peter Zimon <zimo@ghost.org>
2021-03-09 23:55:06 +05:30
Kevin Ansfield
f24f6e5d0d Fixed editor drag/drop getting stuck
no issue

- sometimes it was possible for a drop target element to not have a child which would cause an error and cause drag/drop to get stuck with the dragged element sticking to the cursor with no action occurring on mouseup, requiring an `Esc` press but all further drags also being broken
- added a guard so we can handle `element.firstChild` not existing
2021-03-09 17:56:38 +00:00
Rish
0ae423bbb4 Fixed selected currency in payment settings
no refs

For selected currency, we were only checking in the secondary currency list which does not include the top currencies like USD, so if the current selected currency is one of the top currencies, the `selectedCurrency` returned a value of `undefined`. The fix updates selected currency computation to check both top and other currencies
2021-03-09 23:14:21 +05:30
Sanne de Vries
b67fef2cea Fixed hidden dropdowns and responsive issues on members screen 2021-03-09 17:57:16 +01:00
Peter Zimon
7f1eef014b Fixed Koenig link underlines
- replaced box shadow styling with native text-decoration for links in Koenig for better consistency with themes
2021-03-09 16:10:27 +01:00
Peter Zimon
e4ba518597 Replaced default user avatar image in Admin 2021-03-09 15:00:02 +01:00