1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Commit graph

803 commits

Author SHA1 Message Date
Kevin Ansfield
78dce694e2 fix malformed CSS that was breaking production builds
no issue
- cssnano was erroring with `Error: Unexpected "space" found`
2017-03-02 11:52:33 +00:00
Kevin Ansfield
33490ad01d fix cardmenu.css import location 2017-03-02 10:16:30 +00:00
John O'Nolan
e98c7bea48 Card menu styles and editor tweaks 2017-03-02 09:56:52 +00:00
Ryan McCarvill
bad47548bf fixed the menu in perperation to the + button 2017-03-02 09:56:52 +00:00
Ryan McCarvill
40c57ca938 refactor and rename ghost-editor to koenig, removed tests from koenig to integrate into ghost-admin 2017-03-02 09:56:52 +00:00
Ryan McCarvill
bcdf9cea73 renamed to koenig 2017-03-02 09:56:52 +00:00
Ryan McCarvill
416dfdb618 Implemented new toolbar styling and layout. 2017-03-02 09:56:52 +00:00
John O'Nolan
a5991f7837 Minor editor style updates
Refs https://github.com/TryGhost/Ghost/issues/8021
2017-03-02 09:56:52 +00:00
Ryan McCarvill
737a0b3ebd 👷🏻‍♀️🚧👷 Ghost-Editor integration.
Integrated Ghost-Editor as an in-repo addon.
Moved CSS to /app/styles/addons/ghost-editor/

Still a WIP.
2017-03-02 09:56:51 +00:00
Kevin Ansfield
ffa1afbd59 🐛 fix unclickable app after closing modal
no issue
- `liquid-wormhole` changed the class of it's default destination element which meant that one of our styles resulted in it overlaying the whole app and preventing anything from being clicked after closing a modal
2017-03-01 17:30:46 +00:00
Kevin Ansfield
90be933bfe 🐛 display correct expired/expires text for invites (#550)
closes https://github.com/TryGhost/Ghost/issues/8055

- use `expired` if the date is in the past, otherwise `expires`
- fix mirage factories to use `moment.valueOf` instead of `moment.unix` for invite `expires` attributes
2017-02-27 13:11:39 +00:00
Kevin Ansfield
ec6a47f774 fix tests for new themes table styles (#553) 2017-02-27 12:34:46 +00:00
John O'Nolan
ae1007c58d Update design screen styles, fix login bugs
Refs https://github.com/TryGhost/Ghost/issues/8021
2017-02-27 13:31:01 +07:00
Kevin Ansfield
bd45481027 remove unnecessary posts/index route (#545)
no issue
- the index route/controller/template was initially used for a separate loading state within the posts screen layout, this isn't necessary however as the same effect can be achieved with the `posts-loading.hbs` template
- this change also lays the groundwork for more complex dropdown-based filters as it enables the filters and query params to live in the same controller+template
2017-02-23 18:47:52 +00:00
Kevin Ansfield
0f4ea73254 rename settings/navigation -> settings/design, move theme management (#543)
no issue

- following from the `settings/general` redesign, navigation and themes management are now co-located in `settings/design`
2017-02-21 19:04:50 +00:00
Kevin Ansfield
c43974c14b fetch themes from /themes endpoint (#542)
refs https://github.com/TryGhost/Ghost/pull/8022

- use `/themes` API endpoint to fetch list of themes instead of `settings[0].availableThemes`
2017-02-21 18:28:44 +00:00
Kevin Ansfield
5674498759 accordion toggles for settings sections 2017-02-21 13:03:44 +00:00
Kevin Ansfield
1ff1a8306f fix settings/general acceptance tests 2017-02-21 13:03:44 +00:00
John O'Nolan
c1cd4c1070 Colour updates 2017-02-21 13:03:44 +00:00
John O'Nolan
27ed167340 New settings/general styles 2017-02-21 13:03:44 +00:00
Kevin Ansfield
ad2193b1e2 🐛 fix posts screen infinite scroll (#539)
no issue
- changes to layout meant that every page was automatically requested upon loading the content screen, this changes the infinite scroll trigger to match the new scrollable element
2017-02-21 11:12:30 +00:00
Austin Burdine
2093463568 🐛 disable failing test temporarily 2017-02-17 12:31:12 -06:00
John O'Nolan
f8c6b9438a Prototype nightshift 🌆 2017-02-17 12:31:12 -06:00
John O'Nolan
b80cb64b74 Labs UI update 2017-02-17 12:31:12 -06:00
John O'Nolan
15b73a810d Prototype mobile navbar 2017-02-17 12:31:12 -06:00
Austin Burdine
c97f8141e0 🐛 don't destroy codemirror editor if it doesn't exist (#530)
closes TryGhost/Ghost#7855
- check if codemirror has been initialized before trying to destroy it
2017-02-17 10:15:28 +00:00
Austin Burdine
f3824db513 🐛 fix gh-search-input highlighting (#532)
closes TryGhost/Ghost#8013
- ember-power-select yields the select public api object instead of just
the searchterm
2017-02-17 10:15:09 +00:00
Kevin Ansfield
d12a9901fb update tests for HTML changes 2017-02-17 10:14:16 +00:00
John O'Nolan
51cdd60b3e Style updates to new app frame for all other screens 2017-02-17 10:14:16 +00:00
John O'Nolan
f7ac444532 Team / Apps app frame style update 2017-02-17 10:14:16 +00:00
Kevin Ansfield
503e8d8263 Update styles for content screen, buttons, and app frame
* Updates styling on content management screen, replaces button styles, tweaks application frame style
2017-02-16 19:50:05 +00:00
Kevin Ansfield
3956210018 fix header flash when changing content filters 2017-02-15 12:45:44 +00:00
John O'Nolan
887eb9b437 WIP: New content (#528)
* Initial style updates
* First pass content management design overhaul
2017-02-15 12:43:49 +00:00
Kevin Ansfield
68e59de195 refresh access token on app boot (#524)
refs https://github.com/TryGhost/Ghost/issues/5202

- refresh the access token after a successful authenticated application boot so that the session lifetime is continually extended
2017-02-10 14:35:45 +01:00
Kevin Ansfield
942d01cd04 Content link resets filter if already viewing content screen (#521)
no issue

- the content filter will be remembered if you navigate away from then back to the content screen
- this PR changes the behaviour slightly so that clicking the sidebar "Content" link whilst viewing the content screen will act as a shortcut to reset the filter
2017-02-10 14:24:13 +01:00
Austin Burdine
7b0ed8cf76 more ember-simple-auth UnauthenticatedRoute cleanup (#44)
no issue
- aligns routes that require the user to be logged out with the ember-simple-auth method of doing things
2017-02-10 10:34:37 +00:00
Kevin Ansfield
6f637e1726 deps: ember-simple-auth@1.2.0 2017-02-06 16:39:42 +00:00
Kevin Ansfield
6d26685b65 bring keyboard navigation back to the content screen
refs https://github.com/TryGhost/Ghost/issues/7860
- restores the previous up/down/enter/cmd+backspace functionality
- modifies the `delete-post` modal to accept a hash with an `onSuccess` action
2017-02-04 09:01:52 -06:00
Kevin Ansfield
9abe999bc8 clean up content screen prototype
refs https://github.com/TryGhost/Ghost/issues/7860
- load 30 posts per page
- clean up unnecessary styles, match class name to component name
- start moving towards desired content/styles end goal
2017-02-04 09:01:52 -06:00
Kevin Ansfield
0affec3932 disable touch events in ember's event dispatcher (Chrome scrolling fix)
refs https://github.com/TryGhost/Ghost/issues/7860
- if touch event handlers are registered Chrome assumes it's being run on a touch device and will attempt to optimise scrolling by delaying `setTimeout` and XHRs which in turn plays havoc with infinite scroll performance
2017-02-04 09:01:52 -06:00
Kevin Ansfield
b792e45881 prevent ember searching for non-existant custom event dispatchers 2017-02-04 09:01:52 -06:00
Kevin Ansfield
aebe06dd14 deps: ghost-editor@0.1.6 (#515)
no issue
- adds Ghost-Editor 0.1.6
  - Improves markdown parsing speed
  - Shows toolbar on mouseup now (still freezes on loading unfortunately)
  - Makes Ghost-Editor full height for easy selection
- temporarily pull from a branch that fixes dependency issues
- remove unused module-for-acceptance.js file
2017-02-03 22:51:18 +00:00
Kevin Ansfield
eaf16ca2a7 fix flickering filter menu on content screen 2017-02-01 17:03:38 -06:00
Kevin Ansfield
791a8197e3 defer navigation display until user promise is fulfilled 2017-02-01 17:03:38 -06:00
Kevin Ansfield
7f584b3509 remove unused gh-content-preview-content component 2017-02-01 17:03:38 -06:00
Kevin Ansfield
faeefaef52 fix double-render issues with validation-state mixin 2017-02-01 17:03:38 -06:00
Kevin Ansfield
5383fb18a2 use current URI instead of configured blog URI for OAuth redirectURI (#518)
refs https://github.com/TryGhost/Ghost/issues/7907
- rather than forwarding the redirect URI as configured in Ghost we should use the URL that the admin client is currently loaded on when setting the Ghost OAuth `redirectUri` attribute
- fixes issue with the admin app loading inside of the OAuth popup window and not logging in when using https with a registered http redirect uri
2017-02-01 16:15:47 +00:00
André Borud
98f06c783e 🐛 fix jumping "Invite User" button when modal is opened
closes TryGhost/Ghost#7890
- moved the modal outside of the `<header>` tag to avoid triggering unexpected flexbox justification
2017-01-31 09:10:36 +00:00
Kevin Ansfield
11dd3b93ff 🔥 remove unused CPs (#509)
no issue
-  `settings/general` controller contained a number of `xImageSource` CPs that are no longer being used
2017-01-26 11:01:49 -06:00
Kevin Ansfield
3b96baf9df 🐛 fix double slashes in URLs (#506)
no issue

- update `config` service normalise blogUrl to non-trailing slash to match previous API behaviour
- fixes double slashes appearing in places around the app
- fixes "Redirect URI Mismatch" errors when using Ghost OAuth due to the double slashes
2017-01-26 13:45:11 +01:00