Commit Graph

312 Commits

Author SHA1 Message Date
Nazar Gargol
a31902024b Tag Settings Menu Autosave
closes #4517

- adds autosave to name/slug/description fields in TMS
- adds nprogress indicator when saving
2014-12-03 19:15:59 +01:00
Hannah Wolfe
a1ab6b4a13 Merge pull request #4502 from felixrieseberg/iss4431
Ensure Post Image Uploader Reset
2014-11-25 19:07:32 +00:00
Felix Rieseberg
634a095711 Ensure Post Image Uploader Reset
Closes #4431

- The PSM does not reset on a transition from editor (existing post) to
editor (new post). If the existing post had a cover image, the image
uploader would not be reset during the transition and appear slightly
broken in the editor for the new post.
- In this PR: A reference to the uploader is saved, allowing the route
for editor/new to instruct the PSM controller to have the uploader
reset.
2014-11-24 09:43:17 -08:00
Paul Adam Davis
ba67a02b9b Larger edit tag hit area
Closes #4505

- Increases the size of hit area on tags settings pages
- Comments out the styles for nested tags as these will need revisiting
2014-11-24 11:08:02 +00:00
Matt Enlow
26268d7667 Tags management api hookup
Ref #4248
- Added tags settings menu
- Added basic new, edit, delete, and save actions
- Show actionable edit buttons dynamically based on tag state
- Infinite scroll
- Closing the tag settings menu rollbacks your changes
- Removed not-yet-implementable code
2014-11-21 16:24:28 -07:00
Hannah Wolfe
c18527de44 Revert "Update PSM Date and Time to be Selectable Instead of Text" 2014-11-17 17:09:01 +00:00
Hannah Wolfe
dcca72c800 Merge pull request #4459 from novaugust/slow-save-errors#4400
Fix high latency autosave bug in editor.new
2014-11-17 15:18:12 +00:00
Paul Davis
c226701801 Merge pull request #4448 from dbalders/master
Update PSM Date and Time to be Selectable Instead of Text
2014-11-17 11:24:10 +00:00
David Balderston
fc22161680 Update PSM Date to be Selectable 2014-11-16 11:59:09 -08:00
Matt Enlow
4394e4f38f Fix high latency autosave bug in editor.new
Closes #4400
- Added focusCursorAtEnd property to codemirror component, to set the cursor at document end on load. Used for posts that have been edited
- centralized codemirror init code in component
2014-11-16 08:53:02 -07:00
John O'Nolan
4eed7dab23 Merge pull request #4397 from PaulAdamDavis/cleanup-users
Cleanup User List styles
2014-11-14 14:57:31 +01:00
Paul Adam Davis
bd4ac53fcb Refactor component styles
Continues on from #4401

- Reformats the Sass to match our new style (property order, comments, & white space)
- Changes the modal container to a class from an ID (and adjust tests)
2014-11-13 11:28:22 +00:00
David Balderston
1f65ef7839 Change Numeric Keyboard to Keypad
Added pattern to html to make the keyboard a keypad

Closes #4426

    Added pattern="[0-9]*" to the postsPerPage input on general.hbs
2014-11-10 12:57:24 -08:00
Jilles Soeters
526501fdf7 Remove hash after the url when clicking Meta Data
Removes that hash appended to the URL when clicking Meta Data in post settings.

Closes #4386

When clicking 'Meta Data' the click event appends a # to the URL. I replaced the a with a button element so that won't happen anymore. The button has a type attribute because it will try and submit the form without it. Added text-align: left to the navlist button because the button centers it's content by default.
2014-11-05 14:17:52 +00:00
Paul Adam Davis
8d6c73d09d Cleanup User List styles
No issue

* Cleans up the Sass a bit
* Uses the same basic markup as other settings pages. Before, we had extra elements which required 'reseting'
2014-11-04 22:00:32 +00:00
cobbspur
b04068d9b9 Create Tags Management Stubs for Ember
closes #4260

- Adds "tags" route inside of the settings routes.
- Adds this route to router.js
- Links the route from the settings.hbs template
- Adds demo tags html in tag.hbs template
- Adds flag for tagsUI
2014-11-04 15:50:41 +00:00
Jason Williams
c2e35f9a9b Update Ember to 1.8.0.
Closes #4316
- Ember@1.8.0.
- Ember-Data@1.0.0-beta.11.
- Change templates to use new Ember.Select syntax and other minor
  cleanup.
- Adjust functional tests.
2014-10-30 06:01:22 +00:00
Hannah Wolfe
1c7450bd04 Merge pull request #4285 from novaugust/read-draft-shortcuts
Go between post list / post content with keyboard
2014-10-28 13:02:17 +02:00
Paul Adam Davis
39b1c0775f Use gh-path for nav bar dfallback avatar
Closes #4344

- Uses the `{{gh-path}}` helper to make the fellback avatar src work when Ghost is in a sub-directory
2014-10-27 16:26:02 +00:00
Matt Enlow
9cff617899 Go between post list / post content with keyboard
Closes #3940
- Pushing left/right changes the "focus" of the posts screen to the list / content, respectively
- Once one of these has been focused, up/down keyboards work on that section in particular
- By default, the post list is selected
- Using the keyboard to focus one of the two makes it go "poof" to let you know you changed stuff
2014-10-27 09:41:13 -06:00
Felix Rieseberg
89e37ab0a1 Include post title in 'delete post' modal
Closes #2971
2014-10-25 18:37:18 -07:00
Jason Williams
6b09117861 Change slug and date placeholders to values
Closes #4121
2014-10-22 16:49:13 +00:00
Paul Adam Davis
20c11e563f Move unrelated editor cover code to the right place
Closes #4106

Moved the `.editor-close` styles to `post-settings-menu.scss`
2014-10-21 13:14:07 +01:00
John O'Nolan
db8efb8282 Merge pull request #4213 from PaulAdamDavis/new-popovers
Implement new popovers
2014-10-21 14:02:17 +02:00
Paul Adam Davis
3a13563f0b Implement popovers 2014-10-20 22:09:45 +01:00
Paul Adam Davis
74d71ed8b8 Tag input UX improvements
Closes #4105

- Turns the tag icon white when input is focused.
- Focuses on the tag inout after deleting a tag.

Credit to @novaugust for a PR to this which is rebased into one single commit
2014-10-20 22:08:26 +01:00
Hannah Wolfe
768e335735 More autosave improvements
issue #4305, issue #4259, issue #1413

- change new->edit transitionToRoute to be replaceRoute
- auto focus in the editor on transition to the edit route
- change the one-time autosave to happen on codemirror focusin instead of title focusout
- re-add removed tests, and reorder broken test
2014-10-18 17:27:05 +02:00
Jason Williams
0f9342bf69 Auto-save changes
Refs #4259
- Auto-save new post when title loses focus.
- If a post has '(Untitled)' for a title, regenerate slugs
  on all title changes--same behavior as a new post that does
  not yet have a slug.
- Adjust some functional tests to handle the automatic transition
  from editor/new to editor/editor and the URL changes that go
  along with it.
2014-10-17 22:52:43 +00:00
Jason Williams
b6951ac9a2 Truncate metatitle and url when > 70 characters
Closes #4301
2014-10-17 17:15:36 +00:00
Hannah Wolfe
a2b7fe718b Merge pull request #4259 from novaugust/auto-save
Auto save draft posts
2014-10-17 19:04:07 +03:00
Jason Williams
3a83a65f74 Show all invited users and infinite scroll active
Closes #4239
2014-10-16 20:09:03 +00:00
Jason Williams
0ee3d660eb Fix up labels for controls in post settings menu
No issue
2014-10-16 15:47:03 +00:00
Paul Adam Davis
dea7de2db4 Rename .object-list to .user-list
No issue
References todo comment in [users.scss](ed5f5c7fe1/core/client/assets/sass/layouts/users.scss (L6-L7))

- Renames anything starting with `.object-list` to `.user-list`
- Adjusts tests to match
2014-10-13 22:43:03 +01:00
Matt Enlow
98e4f95a81 Autosave Draft posts
Ref #1413
- If the user stops typing for 5 seconds, a "typingPause" action is sent from the GhCodemirrorComponent
- Editor-base-controller ties the "typingPause" action to its "autosave"
- If a post is being saved and does not have a title, the title is set to "(Untitled)"
- Cleanup editor base controller property dependencies and code
2014-10-13 15:28:27 -06:00
Ian Mitchell
740c3bdfba Updated blog link title
The admin navbar title used to just be `/`. It now reads `Visit blog`,
in accordance with the nav label.
2014-10-08 20:57:10 -07:00
Mattias Cibien
03b0e06b9e Clean up hardcoded ghost paths
closes #4144
- made contributors template use the `gh-path` helper
- Removing blogRoot from application.js
- made error image use the `gh-path` helper
2014-10-06 16:33:58 +02:00
John O'Nolan
f92fdebfe5 Merge pull request #4187 from PaulAdamDavis/settings-fixes
Refactor settings & content wrappers
2014-10-04 14:36:48 +02:00
Matt Enlow
6e5ec0a7e7 Reset password signs the user in
Closes #4196
- Clear confidential info on leaving reset route
- Remove nested password access, because gross
- Also cleaned up some .then(f, h) to .then(f).catch(h) in setup controller
2014-10-03 15:22:20 -06:00
Paul Adam Davis
d3d74f0395 Refactor settings and content wrappers to allow smooth overflows and properly show headers on mobile
Closes #4186, Closes #4190, Closes #4150

- Alters markup to allow for correct use of `-webkit-overflow-scrolling: touch;`
- Updates the debug page to use the same markup as the rest of the settings page
- Solve floating tag bar issue by making it absolute, not fixed
2014-10-03 18:54:18 +01:00
Paul Adam Davis
979017e780 Rename popovers to dropdowns 2014-09-30 10:48:21 +01:00
Fabian Becker
947ae53dcb Hide author dropdown for authors.
fixes #4205, refs #3084
- Hide author dropdown for authors
2014-09-28 10:21:09 +00:00
Hannah Wolfe
536b66111f Updating markdown help modal with new shortcuts
issue #3019
2014-09-24 18:14:05 +01:00
Matt Enlow
434ea7b3fd Merge pull request #3824 from felixrieseberg/iss3718-2
{{gh-path}} Handlebars helper, returning paths
2014-09-24 08:48:31 -06:00
Fabian Becker
5f5993819a Static page and feature options in new PSM
closes #4109
- Add featured option
- Move static page/featured to other place
- Change wording on static page
2014-09-24 12:29:17 +00:00
Paul Davis
d87980b80a Merge pull request #4139 from JohnONolan/dropdown-refresh
Updated dropdown component style
2014-09-24 12:19:58 +01:00
John O'Nolan
be1fe86c96 Merge pull request #4128 from PaulAdamDavis/fix-tags-input
Rewrite publish bar markup
2014-09-24 13:12:10 +02:00
John O'Nolan
7c235e6388 Updated dropdown component style 2014-09-24 14:03:19 +03:00
John O'Nolan
df53e692d9 Update icons 2014-09-24 13:46:13 +03:00
Paul Adam Davis
37ca589af4 Rewrite publish bar markup
Closes #4123, closes #4114, references #4105

- Rewrite to use flexbox for über mobile goodness
- Fixes tag suggestions (using the new dropdown style)
- Fixes vertical alignment
2014-09-24 09:47:33 +01:00
Hannah Wolfe
f4beed6120 Merge pull request #4118 from JohnONolan/053-fixes 2014-09-24 09:16:14 +01:00