Commit Graph

1016 Commits

Author SHA1 Message Date
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
Fabien O'Carroll
d03e1ae0e2 Added links to member details page from dashboard
refs https://github.com/TryGhost/Team/issues/469

This also fixes the top members list displaying
2021-02-19 17:30:29 +00:00
Peter Zimon
44df9d4dbe Dashboard chart refinements 2021-02-19 16:17:53 +01:00
Peter Zimon
0a481f40bb Added responsive support to Dashboard 2021-02-19 14:19:22 +01:00
Sanne de Vries
a7b55775db Updated secondary colors and gradients 2021-02-19 13:51:36 +01:00
Peter Zimon
c83e54f21b Updated MRR chart style 2021-02-19 13:09:01 +01:00
Sanne de Vries
e627703bdd Fixed usability issue with email address update in Newsletter settings 2021-02-19 11:46:07 +01:00
Peter Zimon
0fbb1adbdb Dashboard mini charts basic styles 2021-02-19 10:39:13 +01:00
Rishabh Garg
b7ae1233bf Updated MRR and count dashboard charts (#1846)
refs https://github.com/TryGhost/Team/issues/469

- Cleaned MRR stats data and label formatting
- Cleaned member counts stats - total and paid
2021-02-19 11:18:01 +05:30
Sanne de Vries
b0354c7f7e Updated social media previews in tag settings 2021-02-18 23:15:01 +01:00
Sanne de Vries
478084e274 Updated social media previews in general settings 2021-02-18 21:33:04 +01:00
Kevin Ansfield
fd98bc1bb9 Fixed launch acceptance tests
no issue

- skips POSTing to the front-end to get the iframe contents whilst testing because we don't have any mocks for that
2021-02-18 20:03:21 +00:00
Rish
d7cf0b4042 Fixed empty data handling for mrr chart
refs https://github.com/TryGhost/Team/issues/469
2021-02-19 00:49:59 +05:30
Kevin Ansfield
8803bf9e22 Prevented clicks in launch wizard design preview
no issue

- the new front-end preview only works for a single page, navigating away will lose the unsaved changes which could lead to confusion
- injects CSS into the preview HTML to disable pointer-events on the whole document
2021-02-18 17:47:48 +00:00
Kevin Ansfield
8525fd701a Updated launch wizard to use new design preview
refs e75720d390

- changed "Save and exit" to just "Exit" because it doesn't save anything
- updated design step of launch wizard to use new preview
  - added `replacePreviewContents` action to launch controller to overwrite preview iframe contents directly
  - replaced save-on-change behaviour with update-preview-on-change behaviour by POSTing to the front-end with preview header data and blatting the iframe contents with the result
  - changed "Next step" button to "Save and continue" with progress spinner whilst saving
2021-02-18 17:07:14 +00:00
Rish
05df2bbad4 Added initial charts for dashboard
refs https://github.com/TryGhost/Team/issues/469

- Added MRR chart for last 30 days
- Added initial chart for Total member count
2021-02-18 22:20:58 +05:30
Fabien 'egg' O'Carroll
c56ba0c71e Added initial event timeline to dashboard (#1840)
refs https://github.com/TryGhost/Team/issues/469

* Updated stats service to fetch event timeline
* Updated dashboard controller to load events
* Added currency utils
* Added GhEventTimeline component
* Updated dashboard to render GhEventTimeline
2021-02-18 14:17:10 +00:00
naz
07abb5443a Fixed EmberObject.create error on Admin start (#1841)
refs https://github.com/TryGhost/Ghost/pull/12632

- The `unsplash` setting has been migrated to a new format - plain boolean value. This is why it's no longer needed to do any serialization dances
2021-02-18 13:25:21 +13:00
Kevin Ansfield
2c95cae248 Minor cleanup
no issue

- remove `async` from non-async actions
- tidy up template indentation/spacing
2021-02-17 16:00:12 +00:00
Kevin Ansfield
16324fd2a4 Fixed brand settings not resetting when cancelling
no issue

- trigger modal close once save task has finished
- reset unsaved changes when closing the modal (eg, cancel button clicked)
- removed unused code that had been copied over from an old controller
2021-02-17 15:48:35 +00:00
Kevin Ansfield
734674d299 Fixed error when closing branding modal
no issue

- clean up event listeners when component is destroyed
- add guard for iframe existing when attempting to replace preview contents
2021-02-17 15:39:51 +00:00
Hannah Wolfe
e75720d390 Updated brand settings modal to use new preview
- the new preview mode doesn't require settings to be saved in advance
- TODO: prevent interaction with the iframe a la portal
Notes:
 - this works by sending a post message to the frontend with a custom header
 - generated HTML is loaded into the iframe using postMessage
 - we can possibly write the HTML direct to the iframe - something to experiment with later
2021-02-17 13:54:47 +00:00
Kevin Ansfield
cebe43935c Added link to preview-in-new-tab button
refs 80e2103f1d

- changed button to a link and added necessary attributes
- copied button to the mobile view for consistency
2021-02-16 11:51:32 +00:00
Sanne de Vries
80e2103f1d Added external tab preview link to post-preview modal footer 2021-02-16 12:23:34 +01:00
Sanne de Vries
0d1f288beb Fixed dark mode issues 2021-02-15 18:03:07 +01:00
Fabien 'egg' O'Carroll
b6047ae017 Updated paid member filters to handle comped status (#1839)
refs https://github.com/TryGhost/Ghost/issues/12602

As members can now have a status of 'comped' as well as 'free'/'paid',
we need to update queries to the API to function as they were before.
2021-02-15 12:15:23 +00:00
Peter Zimon
f05d353b57 Updated What's new? modal styles 2021-02-12 17:56:40 +01:00
Peter Zimon
dec10259ec Updated account menu avatar 2021-02-12 17:36:23 +01:00
Sanne de Vries
a792d152da Fixed twitter preview shrinking bug and responsive issues for social preview 2021-02-12 16:13:42 +01:00
Peter Zimon
f7cb949a6e Responsive UI fixes 2021-02-12 14:29:49 +01:00
Sanne de Vries
595a74885c Fixed scrolling bug in launch-site wizard 2021-02-12 12:33:24 +01:00
Aileen Nowak
7d616b0010 Move billing iFrame to render in main content area (#1838)
no issue

The billing iFrame needs to be rendered within the `main` content area rather than as fullscreen.

This needs most probably more tidying up, but is working for now without breaking the functionality.

* Move billing iFrame to render in main content area
* Fixed routing error when transistion url not defined
* Removed close modal button and esc key binding
2021-02-12 10:13:23 +00:00
Kevin Ansfield
f8de0f12de Fixed publish menu not closing on outside clicks in preview modal
refs https://github.com/TryGhost/Team/issues/459

- using <GhBasicDropdown> in place of <BasicDropdown> hooks into our dropdown service which has more comprehensive body click tracking
2021-02-12 09:47:46 +00:00
Kevin Ansfield
5a8753fb8f Added ability to install free themes directly from GitHub (#1837)
refs https://github.com/TryGhost/Ghost/issues/12608
requires https://github.com/TryGhost/Ghost/pull/12635

- adds `/settings/themes/install` route with `source` and `ref` query params that match the API. Shows a confirmation modal when accessed asking to confirm installation and activation
  - does not allow Casper to be installed
  - warns if installing the theme will overwrite an existing one
  - follows similar process to zip uploads for error handling
- adds install/preview links for Massively in the free themes showcase

Co-authored-by: Sanne de Vries <sannedv@protonmail.com>
2021-02-12 09:19:25 +00:00
Kevin Ansfield
3ed73c795d Fixed plan type checkboxes not updating portal preview in launch wizard
refs https://github.com/TryGhost/Team/issues/460

- incorrect property names were used
2021-02-11 18:37:23 +00:00
Peter Zimon
adc4e1e077 Updated dark styles 2021-02-11 16:24:49 +01:00
Peter Zimon
b8a79467ae Updated icons 2021-02-11 11:45:14 +01:00
Peter Zimon
9f6c83cd85 Updated no member UI 2021-02-11 10:56:54 +01:00
Peter Zimon
660ed2c79d Updated account menu 2021-02-10 21:05:54 +01:00
Peter Zimon
86ee1142e0 Member details screen refinements 2021-02-10 19:55:35 +01:00
Peter Zimon
7c2bae6f29 CSS restructure for main sections 2021-02-10 18:48:27 +01:00
Peter Zimon
7b88038d05 Fixed payments settings 2021-02-10 16:50:34 +01:00
Peter Zimon
9093b32529 Refined editor main buttons 2021-02-10 16:35:25 +01:00
Sanne de Vries
d4f131ee26 Updated preview-modal social preview design
Refs https://github.com/TryGhost/Team/issues/459

- Updated styles for Facebook, Twitter and Google
- Added mockup for tweets, posts, and Google search results
- Got rid of browser mockup on desktop preview
- Changed button-group active style from blue to black
2021-02-10 15:25:49 +01:00