Commit Graph

6166 Commits

Author SHA1 Message Date
Renovate Bot 9b2e762ca5
Update dependency eslint to v7.12.0 2020-10-26 00:06:46 +00:00
renovate[bot] 3804de4af5
Update dependency ember-power-select to v4.0.6 (#1737)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-23 14:50:45 +01:00
renovate[bot] 9893678a27
Update dependency ember-simple-auth to v3.0.1 (#1732)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-23 14:49:49 +01:00
Daniel Lockyer ef402f6bf1 🔥 Added support for Node 14 2020-10-23 12:42:34 +01:00
Kevin Ansfield a3f897f689 Removed Instagram embed entry from the card menu
no issue

- Facebook are changing how Facebook/Instagram embeds work meaning that they won't work in Ghost once the deprecation lands on Oct 24th
2020-10-23 11:40:31 +01:00
Kevin Ansfield 8f6c63ffb6 Changed snippet icon in menus based on snippet contents
no issue

- vary the snippet icon based on the snippet contents: text only, text and cards, cards only
2020-10-23 10:56:32 +01:00
Sanne de Vries f2408162d8 Fixed bottom padding for card menu in Firefox 2020-10-23 11:55:41 +02:00
Kevin Ansfield 597ed21703 Update dependency eslint-plugin-ghost to v2.0.0
no issue

- bumps eslint and eslint-plugin-ember versions
- octane rules are enabled by default
  - disabled them in our eslintrc.json so we can switch to warn/error whilst migrating to octane
- fixed a couple of linting errors from new/updated rules
2020-10-23 09:59:09 +01:00
Sanne de Vries b02f7c0617 Styled new row layout of the cardmenu
No issue

- Adjusted menu width and height
- Improved spacing cards
- Changed font styling
- Added snippet icons
2020-10-23 10:36:31 +02:00
Peter Zimon 0f12b40cb2
Moved members settings to new page (#1736)
no refs

Moves members related settings in Labs to its own page to improve the overall UX and make it more consistent with the rest of the Admin.
2020-10-22 16:09:00 +05:30
Kevin Ansfield 98e2f8323a Fixed member's location sometimes showing as ", US"
no issue

- geolocation.region is not always available but we had assumed it was. Adjusted the logic to only show "region, US" if region is available
2020-10-22 09:15:03 +01:00
Kevin Ansfield e12e5ee910 Prevented card toolbar showing for embed/bookmark cards in input state
no issue

- it doesn't make sense to create snippets of bookmark/embed cards before they contain any content so we avoid passing the save snippet function through until content exists and the card has left it's input state
2020-10-21 18:27:26 +01:00
Kevin Ansfield 438cf239a7 Changed card/plus menu layout from grid to rows
no issue

- with the addition of snippets the card menu contents height and potential label width are both growing considerably making the grid layout unworkable
2020-10-21 12:34:05 +01:00
Kevin Ansfield e5ae72cbff Added "Create snippet" toolbar icon when cards are selected
no issue

- show the toolbar icon for any `<KoenigCard>` instance that has the `saveAsSnippet` action passed to it
  - currently that's all cards except the HR card because that's a primitive element rather than containing any user-defined content
- add `koenigUi.inputHasFocus` so that card toolbars can be hidden when the snippet input is displayed
2020-10-21 12:16:04 +01:00
Kevin Ansfield 28d95002b5 Fixed error when clicking on snippets in card menu
no issue

- click event was clearing the editor range so it's necessary to reposition the cursor before replacing with the post
2020-10-20 18:10:25 +01:00
Daniel Lockyer 8a53728edd v3.36.0 2020-10-20 09:38:09 +01:00
Renovate Bot 2d19ae41d3 Update dependency @tryghost/kg-clean-basic-html to v1.0.9 2020-10-20 08:41:19 +01:00
Renovate Bot 4787dc0bbc Update dependency @tryghost/kg-parser-plugins to v1.0.9 2020-10-20 08:38:06 +01:00
Renovate Bot 331f609735 Update dependency @tryghost/timezone-data to v0.2.30 2020-10-20 08:36:57 +01:00
Renovate Bot 8813e02a69 Update dependency @tryghost/helpers to v1.1.33 2020-10-20 08:36:08 +01:00
Kevin Ansfield 250c7c073b Swapped toolbar snippet icon for the new design 2020-10-19 09:55:26 +01:00
Kevin Ansfield f94acb30e7 Added Ctrl/Cmd+P shortcut in editor to open preview in new tab
no issue

- allows quick access to the preview without having to open post settings menu and click the preview link or hit Ctrl/Cmd+S and click the link in the success notification
2020-10-19 08:25:26 +01:00
Kevin Ansfield c206954bef Disabled mocked snippets API in development 2020-10-16 19:22:09 +01:00
Kevin Ansfield 0dfb22151b Added max length validation to snippet's name field 2020-10-16 19:22:09 +01:00
Kevin Ansfield 7d23645c9a Fixed snippets not loading in background when accessing editor
no issue

- add the missing snippets API query to the editor's background loaded
2020-10-16 19:22:09 +01:00
Renovate Bot b91136f24b Update dependency @tryghost/helpers to v1.1.32 2020-10-16 14:35:51 +01:00
Renovate Bot efa506c655 Update dependency @tryghost/string to v0.1.13 2020-10-16 14:35:34 +01:00
Peter Zimon aee4b8a373
Update portal settings (#1731)
* Added auto focusing preview on the signup page while being on links and clicking on any setting in the sidebar

* Refine upload custom portal icon button

* Updated copy for sidebar and links screen

* Added grouping to links list
2020-10-16 15:34:22 +02:00
Kevin Ansfield 5ecf3872f5 Renamed snippet.title to snippet.name for consistency
no issue

- all of our models which allow users to name something use `name` as the field descriptor rather than `title` so `snippet.title` was renamed for consistency
- also fixes typo in the plus-menu component that stopped clicking on snippets from working
2020-10-16 10:15:07 +01:00
Kevin Ansfield 5606b9c068 Implemented first iteration of content snippets
closes https://github.com/TryGhost/Team/issues/411

- adds "Create snippet" icon to the editor toolbar
- uses the same link input component design for specifying snippet titles
- snippets are loaded in the background when the editor is accessed
- snippets are listed at the bottom of the card menus of the + and / menus
- clicking a snippet inserts the snippet's contents in place of the current blank section
2020-10-15 18:03:35 +01:00
Peter Zimon 8a394aea8e Fixed 'null' portal button text
no refs.
- fixing portal button displaying 'null' if the portal button text input field is empty
2020-10-14 14:47:08 +02:00
Kevin Ansfield 738e1e1a05 Lock file maintenance 2020-10-14 12:55:06 +01:00
renovate[bot] f18588724c
Update dependency ember-cli-app-version to v4 (#1724)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-14 10:21:20 +01:00
renovate[bot] a302a0ca53
Update dependency ember-truth-helpers to v3 (#1723)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-14 10:20:56 +01:00
Renovate Bot 288a3ece23
Update dependency ember-exam to v6 2020-10-12 21:55:26 +00:00
Peter Zimon 09bced72bb Updated Portal links design
no refs.
- in Portal settings domain and the path are separated visually so that it conveys the concept of using the relative URL instead of absolute
- for similar reasons, copy link copies only the path part
2020-10-12 13:56:37 +02:00
Renovate Bot 2b1bf70b91
Update dependency eslint to v7.11.0 2020-10-09 21:05:56 +00:00
Peter Zimon a4e8efb639 Fixed test for scheduling copy change
no refs.
2020-10-09 17:15:21 +02:00
Peter Zimon 2654dcc432 Removed full stop from scheduling text in editor
no refs.
2020-10-09 16:56:37 +02:00
Peter Zimon 4f8f19695f Fixed account menu margin
no refs.
- fixes account menu dropdown button margins disappearing on Firefox for smaller screensizes
2020-10-09 16:56:13 +02:00
Kevin Ansfield 43d55e2c60 Fixed usage of {{enable-developer-experiments}} without sub-expression syntax 2020-10-09 15:52:23 +01:00
Kevin Ansfield a4338ca21f Added developer experiments indication to about page
no issue

- without this there's no indication the config flag is set when you have no access to the config file or you don't know which features are currently behind the flag
2020-10-09 11:38:47 +01:00
Kevin Ansfield 0672f14b8e Added {{enable-developer-experiments}} helper
no issue

- removes the need to have component backing classes with the `config` service injected
2020-10-09 11:10:39 +01:00
Daniel Lockyer c534b74746 v3.35.5 2020-10-08 11:00:35 +01:00
Daniel Lockyer 33d5cb2edf v3.35.4 2020-10-06 09:55:49 +01:00
Kevin Ansfield 68efc5bff3 Resolved "already declared in upper scope" linting warnings
no issue

- fixed all `no-shadow` linter warnings
- changed `no-shadow` eslint rule from `warn` to `error` so we don't re-introduce shadowed variables in the future
2020-10-05 09:56:21 +01:00
renovate[bot] 88f1291e16
Update dependency ember-power-select to v4.0.5 (#1721)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-05 09:09:39 +01:00
renovate[bot] 78837f7a82
Update dependency @tryghost/timezone-data to v0.2.28 (#1719)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-05 09:09:26 +01:00
Sam Lord c6efa32c97 v3.35.3 2020-10-02 14:38:32 +01:00
Peter Zimon 46a1b4f8bb Updated scheduling copy
no refs.
- updated moment locale to display '1 minute' instead of 'a minute' to be more explicit about scheduled time
- removed full stop from the scheduler message in editor header
2020-10-02 10:45:49 +02:00