Commit Graph

267 Commits

Author SHA1 Message Date
Paul Davis
f3238b99fd Merge pull request #4139 from JohnONolan/dropdown-refresh
Updated dropdown component style
2014-09-24 12:19:58 +01:00
John O'Nolan
e34824cbcb Merge pull request #4128 from PaulAdamDavis/fix-tags-input
Rewrite publish bar markup
2014-09-24 13:12:10 +02:00
John O'Nolan
e39d648c8e Updated dropdown component style 2014-09-24 14:03:19 +03:00
John O'Nolan
84421511e2 Update icons 2014-09-24 13:46:13 +03:00
Paul Adam Davis
0c1d7518fd 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
e30d6c33f1 Merge pull request #4118 from JohnONolan/053-fixes 2014-09-24 09:16:14 +01:00
John O'Nolan
e8a51e4c7b Fix broken link, remove old html files 2014-09-24 09:08:42 +01:00
Fabian Becker
7aed86c205 Remove placeholders and limit SERP description
closes #4112, closes #4113
- Remove meta_* placeholders
- Add … in SERP preview when desc too long
2014-09-23 21:07:21 +02:00
Matt Enlow
b9322e34d4 Fix uncentered no posts view
Closes #4097
2014-09-22 17:42:56 -06:00
Fabian Becker
ef3fa3b9dc Validate and properly color letter count.
fixes #4087
- Adds correct validations for meta_title/meta_description
- Adds correct coloring of letter count
2014-09-22 12:55:03 +00:00
Hannah Wolfe
f991ab44b8 Merge pull request #4066 from halfdan/3939-psm3-meta
Meta data screen
2014-09-21 17:53:12 +01:00
Fabian Becker
30f56280e0 Meta data screen
closes #3939
- Add Seo Tab component to PSM
- Add new gh-blur-textarea component
- Refactor blur-input to use new text-input mixin
2014-09-21 15:13:06 +00:00
John O'Nolan
2f986160fd Merge pull request #4053 from PaulAdamDavis/css-bug-fixes
Tiny CSS bug fixes
2014-09-20 09:12:25 +02:00
Paul Adam Davis
81fe516481 Fix several tiny CSS bugs
Closes #4050

- Full-width invite user modal button
- `<select>` can be focused in Firefox
- Increase size of background images for avatars
- Add `-moz-osx-font-smoothing: grayscale;` to icons
2014-09-19 21:24:43 +01:00
Hannah Wolfe
69ea28e951 Merge pull request #4042 from novaugust/psm2-tabs
Add Tab components
2014-09-19 17:33:57 +01:00
Hannah Wolfe
9ca6f08976 Merge pull request #4045 from halfdan/4031-mobile-content
Mobile view menu for content screen
2014-09-19 14:10:46 +01:00
Matt Enlow
5851b1ad9c Merge pull request #4051 from PaulAdamDavis/fix-user-settings
Fix user settings page for Firefox
2014-09-18 18:51:22 -06:00
Matt Enlow
f29231aa70 Add Tab components
Closes #3937
- Add ghost tab components
- Remove extra container div from Application view
- Move right-outlet viewing logic to application level
- Prepare PSM.hbs for tabbing
2014-09-18 18:15:43 -06:00
Fabian Becker
8575e8de59 Mobile view menu for content screen
closes #4031
- Adds css to show back button, edit button in header nav on mobile
2014-09-18 15:52:40 +00:00
Fabian Becker
12f117cfbe Properly handle no posts
fixes #4058
- Set noPosts in setupController
2014-09-18 16:29:03 +02:00
Paul Adam Davis
b55d1b47d2 Fix user settings page for Firefox
References #4050

- Restructures the CSS to work in Firefox - No visual changes, only fixes
2014-09-17 14:07:44 +01:00
Matt Enlow
21aee9229c Merge pull request #4041 from felixrieseberg/psm-coverimages
PSM: Cover Images
2014-09-16 15:37:33 -06:00
Felix Rieseberg
0048d393ac PSM: Cover Images
closes #3885
2014-09-16 13:32:43 -07:00
Matt Enlow
09fb17a2be Abstract mobile transition interactions
Closes #4032
- Created "mobile" views: `parent-view`, `content-view` and `index-view`
- `mobile/parent-view` has three callbacks for managing layout, and a mediaQuery listener to keep in sync with the user
- content-view and index-view use their parent-views callbacks to bring themselves into and out of the viewport as appropriate
- fixed media queries for post content list from 800px to 900px
- Created `mobile-index-route` to intelligently transition to a new route on desktops (used by both PostsIndexRoute and SettingsIndexRoute)
- Extract mobile interactions from settings views to new mobile utility views
- `js-` prefixed settings view transitions
- removed unused openEditor action from PostsRoute
- removed unused mobile util "responsiveAction"
2014-09-16 07:28:03 -06:00
Paul Adam Davis
9b94e71805 Static nanoscroller integration
References #1892

A static integration of https://github.com/jamesflorentino/nanoScrollerJS



This is WIP with the goal of getting feedback on and deciding how we should integrate this into Ghost.
2014-09-14 17:15:57 +01:00
John O'Nolan
bd163ada46 Merge pull request #4014 from PaulAdamDavis/fix-mobile-nav-click
Change class for editor PSM closing transparent div
2014-09-12 14:51:05 +02:00
Hannah Wolfe
f2eb90f606 Merge pull request #3999 from novaugust/emberify-posts-c-and-v
Emberify Posts mobile transitions
2014-09-12 11:19:34 +01:00
Paul Adam Davis
9a233cde7b Change class for editor PSM closing transparent div
No issue

- Changes the class used by the transparent div used to close the PSM

Without this change, when in the editor and the nav is open, the transparent div here is above the div the nav is looking for. So, the div for the PSM is clicked, rather than the nav div.
2014-09-11 16:38:57 +01:00
Paul Adam Davis
8f9401a78c Add icons to settings nav menu
References #3810

- Re-adds the icons for each item of the settings nav and related styles

I've opted to go with adding `.icon-users` classes instead of setting them in the Sass.
2014-09-11 15:27:28 +01:00
Matt Enlow
6f929eee4a Emberify Posts mobile transitions
Closes #3950

- Fixed up event attachment and removal in a few mixins
- Renamed content-list-content-view to something more understandable
- simplify transition from posts.index to posts.post
2014-09-10 20:58:10 -06:00
Paul Adam Davis
00abfa64fe [WIP] Wire up new mobile nav
References #3810

With GUI2, there's now a number of places to open the mobile navigation menu. This handles those clicks.
2014-09-10 18:33:27 +01:00
John O'Nolan
47a0a71350 Merge pull request #3960 from PaulAdamDavis/fix-user-settings-page
Fix user profile settings
2014-09-10 19:04:06 +02:00
Fabian Becker
961ab5f064 Post Settings Menu - Step 1
closes #3936
- Implement new PSM
- Hook up close action
- Automatically close when view is destroyed
- Close on click and when pressing ESC
2014-09-10 17:31:19 +02:00
Paul Adam Davis
ecf5d045f3 Fix user profile settings
References #3810, #3944

- Fixes several small visual bugs with the user settings page
- Changes `.settings-subview-header` to use a clearfix instead of `overflow: hidden;` (fixing style issues in #3944)
2014-09-09 11:21:39 +01:00
Fabian Becker
2959b6d391 Show settings-cog and back button
closes #3925
- Make user-settings-cog reappear
- Show [< Users] back button
2014-09-03 17:18:41 +02:00
Matt Enlow
03bea5dbef js- prefix; fix content preview back button
Closes #1990, Ref #3810
- Add `js-` prefix to jQuery calls throughout code and templates
- move MarkdownComponent classNames to template
- Fix back button on posts content preview
- Remove dead code for preview tabbing jQuery
2014-09-02 22:29:32 -06:00
Matt Enlow
737ea3f65e Implement About Ghost page
Closes #3568
- Deleted html placeholders in client
- Added new grunt task, buildAboutPage, which 1)creates -contributors.hbs partial and 2) downloads contributor avatars
- buildAboutPage is called by anything that does an emberTemplates task
- Removed unused code from ghostpaths
2014-09-02 13:49:01 -06:00
Hannah Wolfe
25e08d6af5 Merge pull request #3882 from JohnONolan/fix-profile
Fix up user profile
2014-08-26 12:30:00 +01:00
John O'Nolan
15b4791e54 Fix up user profile 2014-08-26 13:08:43 +03:00
Jason Williams
03d25ca502 Show warning dialog if session has ended in editor
Closes #3839
- Display a warning modal in the editor routes if the user
  is logged out due to re-authorization problems.  This provides
  a chance to copy any unsaved content before being sent to the
  signin page to log back in.
2014-08-25 19:45:26 +00:00
Hannah Wolfe
62eed88d3b Merge pull request #3830 from wjake/issue-3813
Fix editor markdown tab
2014-08-21 20:09:18 +01:00
Hannah Wolfe
3992b1f3cf Merge pull request #3836 from jaswilli/ember17-prep
Rework editor save button.
2014-08-21 19:47:35 +01:00
Jake Wright
349fd649f8 Fix markdown/preview tab for mobile
Fixes #3813

- Add togglePreview action to controller
- Implement action and bind attributes
- Remove the now pointless
- Update to comply with issue suggestions
2014-08-21 17:13:30 +01:00
Hannah Wolfe
e7f451cbef Merge pull request #3820 from PaulAdamDavis/input-icons
Icon wrapper around signing inputs
2014-08-20 19:15:56 +01:00
Jason Williams
f59ad208ac Rework editor save button.
Refs #3834
- Change bindings and fix a forward reference.  Preparation for
  upgrade to Ember 1.7.0.
2014-08-20 13:36:25 +00:00
Hannah Wolfe
edc9f5e164 Merge pull request #3816 from felixrieseberg/iss3671
'Autocorrect' for posts per page setting
2014-08-20 13:44:29 +01:00
Paul Adam Davis
9c6ed3bf7b Icon wrapper around signing inputs
No issue

References https://github.com/TryGhost/Ghost-UI/commit/379a630e1bc1

- Adds `<span class="input-icon icon-mail">` around signing inputs to help match markup used elsewhere
2014-08-19 15:36:59 +01:00
Felix Rieseberg
6710a1da89 Working CopyHTML shortcut
closes #3481
- Pressing Ctrl/CMD+Shift+C in the editor will open up a modal that
contains the generated HTML for either the selected text or the whole
post
2014-08-19 15:05:26 +01:00
Felix Rieseberg
acf8ffc1fb 'Autocorrect' for posts per page setting
See #3671
- As @JohnONolan’s suggestion, if the user enters an invalid value for
the ‘posts per page’ setting, the number autocorrects to 5, iOS
autocorrect-style
2014-08-18 23:24:59 -06:00
Hannah Wolfe
02ca955a00 Merge pull request #3766 from jaswilli/user-slug
Correct behavior on updating user slug.
2014-08-18 20:55:54 +01:00