Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor: Hide drafts button when no drafts exist #348

Closed
kriskarkoski opened this issue Nov 20, 2015 · 0 comments
Closed

Editor: Hide drafts button when no drafts exist #348

kriskarkoski opened this issue Nov 20, 2015 · 0 comments
Assignees
Labels
[Feature] Post/Page Editor The editor for editing posts and pages. [Pri] Normal Schedule for the next available opportuinity. [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it
Milestone

Comments

@kriskarkoski
Copy link
Contributor

When you have no drafts the drafts drawer has a suggestion to start a new post, which you're already doing and the button just reloads the page:

screen shot 2015-11-20 at 4 06 44 pm

We should hide the drafts link when there are none or update it to include some motivation to write a post without an action.

Comment: "I think a good solution would be to render the "drafts" button as "disabled" by default (based on this.props.count)."

raised by apeatling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Post/Page Editor The editor for editing posts and pages. [Pri] Normal Schedule for the next available opportuinity. [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it
Projects
None yet
Development

No branches or pull requests

2 participants