Commit Graph

6489 Commits

Author SHA1 Message Date
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
Sanne de Vries
e9aac9c07b Fixed post status background in editor 2021-03-09 14:57:18 +01:00
Peter Zimon
9a38d74a65 Fixed missing background of image uploader in PSM 2021-03-09 12:59:25 +01:00
Peter Zimon
c554081c4f Fixed 'Preview' link color in PSM/email 2021-03-09 12:54:26 +01:00
Peter Zimon
059f8cfd0e Fixed card border color in Koenig
- changed Koenig border color to green
- changed snippet input border to green
2021-03-09 12:51:35 +01:00
Peter Zimon
3d4e1a2bf2 Koenig action bar color fixes
- changed highlighted icons to green
- updated action bar background in dark mode for better contrast
- udpated link input border to green
2021-03-09 12:45:18 +01:00
Kevin Ansfield
644a2eef9f Fixed header content jump when navigating between custom views 2021-03-09 11:38:48 +00:00
Peter Zimon
83b7aac8cd Refined ::selection color 2021-03-09 12:33:30 +01:00
Peter Zimon
7256de95b6 Updated custom view dot position
- moved custom post view's color dot to right of the menu name to make the navigation more visually balanced
2021-03-09 12:25:50 +01:00
Peter Zimon
9c94c5f6b2 Updated 'View billing' copy to 'Ghost(Pro)' 2021-03-09 12:25:50 +01:00
Sanne de Vries
b75839f325 Fixed Safari bug not showing full-height post preview 2021-03-09 09:52:35 +01:00
Sanne de Vries
425bf20c19 Fixed spacing issue in launch-site wizard 2021-03-09 09:51:37 +01:00
Peter Zimon
85f4ae525e Refined Portal redirect URLs
- added footer text and placeholder for Portal redirect URL input fields
2021-03-09 09:22:41 +01:00
Peter Zimon
c65b1b02d5 Fixed separator color in Koenig menu 2021-03-09 09:12:24 +01:00
Peter Zimon
951333701a Fixed link color in Portal settings 2021-03-09 09:09:52 +01:00
Aileen Nowak
a2fe325b6b Use own isActiveTrial property for show upgrade CTA
no issue

The subscription.status property was set for a Stripe response. Switch to a `isActiveTrial` custom property which we send from the BMA
2021-03-09 13:31:48 +13:00
Peter Zimon
6ce4d53259 Minor style fix for What's new notification 2021-03-08 19:34:31 +01:00
Peter Zimon
67a541d33b Added thousands separator to member stats on Dashboard 2021-03-08 18:10:51 +01:00
Peter Zimon
e489b1765a Fixed MRR summary formatting on Dashboard
- added thousands separator to MRR summary data
- separated currency from amount for better readability
2021-03-08 18:08:53 +01:00
Peter Zimon
14fcd3c7fa Fixed payment settings input field UI bug 2021-03-08 17:16:16 +01:00
Peter Zimon
43c3b3cd43 Fixed overflow bug in Email settings 2021-03-08 17:06:53 +01:00
Rish
f7bc2f264b Fixed "member since" date on dashboard
no refs

Fixes the "member since" value on dashboard for Top members table, was incorrectly referencing the `member` variable so all dates were picked as of today.
2021-03-08 20:40:50 +05:30
Peter Zimon
c206506ccb Fixed menu positions in Settings main screen
- swapped Branding and Themes to follow a more logical setup flow
2021-03-08 15:07:29 +01:00
Peter Zimon
c5db8b38c0 Fixed member event list issues
- fixed copy for sent emails
- changed layout for member event list if Stripe info is not available
- fixed minor UI misalignment
2021-03-08 14:24:03 +01:00
Peter Zimon
4effce5285 Added '+' to positive growth on Dashboard 2021-03-08 13:55:34 +01:00
Peter Zimon
952384aeb2 Fixed image delete icon color in darkmode 2021-03-08 13:33:21 +01:00
Peter Zimon
5899d21e03 Fixed notification background in dark mode 2021-03-08 13:28:28 +01:00
Peter Zimon
f8b2d739ce Minor icon/copy fix for site setup flow 2021-03-05 15:55:56 +01:00
Peter Zimon
b8b5703899 Fix: hiding owner-only setting links from admins
- hides "Email newsletter" and "Payments" setting links from administrators on settings main page, as they are owner-only
2021-03-05 15:23:23 +01:00
Daniel Lockyer
6198cacd6a v4.0.0-rc.0 2021-03-05 14:08:52 +00:00
Fabien O'Carroll
7bf6294714 Added support for signup_event's to the event timeline
refs https://github.com/TryGhost/Team/issues/469
2021-03-05 13:01:48 +00:00
Sanne de Vries
6ea24e6384 Changed all green and blue modal buttons to black 2021-03-05 13:16:43 +01:00
Peter Zimon
b053f1d284 Added percent class to newsletter open rate on Dashboard 2021-03-05 12:46:32 +01:00
Peter Zimon
6dd07c1421 Changed top members limit to 5 2021-03-05 12:43:54 +01:00
Rish
418f6e9cbe Updated mrr stats data on dashboard
refs https://github.com/TryGhost/Team/issues/469
refs 6594741c11

- Updates mrr stats data on dashboard using updated object response
2021-03-05 16:41:16 +05:30