-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
feat: workflow unpublished entry #2914
Conversation
If we are going gray for |
Why? It's already a different color button.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work @barthc.
I'm going over it now
@@ -63,6 +64,8 @@ const en = { | |||
publishing: 'Publishing...', | |||
publish: 'Publish', | |||
published: 'Published', | |||
unpublish: 'Unpublish entry', | |||
unpublishing: 'Unpublishing', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be Unpublishing...
similar to Publishing...
right?
@@ -63,6 +64,8 @@ const en = { | |||
publishing: 'Publishing...', | |||
publish: 'Publish', | |||
published: 'Published', | |||
unpublish: 'Unpublish entry', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use just Unpublish
like Publish and create new
or Publish now
?
@barthc looks good pending UI decisions. Also do you mind adding a scenario for unpublishing for the test backend in the Cypress tests? |
@erezrokah Digging that first one! |
|
Even better! |
@erezrokah honestly the dropdown |
That settles it then 😄 |
be5ba4f
to
72a0bb8
Compare
@tomrutgers, @barthc I rebased the branch, made the UI changes, added a cypress test and a fix to re-load the unpublished entry (was needed due to this recent change: https://github.com/netlify/netlify-cms/pull/2878/files#diff-7d0283827744acf7472c54d35c205500R305). |
@erezrokah was about to push changes for the dropdown and the cypress test 😀 |
Looking good! |
@barthc Sorry for that, I'm pushing for keeping the PR number low and we have some more changes coming around that area :) |
* feat: workflow unpublished entry * fix: post rebase fix - load unpublished entry after unpublish * feat: change unpublish button to dropdown * test(cypress): add unpublish entry cypress test
* feat: workflow unpublished entry * fix: post rebase fix - load unpublished entry after unpublish * feat: change unpublish button to dropdown * test(cypress): add unpublish entry cypress test
Summary
Closes #727
Currently swap the editorial toolbar section from:

to:

cc: @tomrutgers