Suggest picking a category on the pre-publish panel#37703
Conversation
|
Size Change: +214 B (0%) Total Size: 1.13 MB
ℹ️ View Unchanged
|
Mamaduka
left a comment
There was a problem hiding this comment.
Uses can change default post category from Settings > Writing. Do we want to handle this scenario as well?
packages/editor/src/components/post-publish-panel/maybe-category-panel.js
Outdated
Show resolved
Hide resolved
How do you think this would impact the behavior here? |
|
I think that depends on how we look at this feature. A. If we want to suggest assigning another category than "default," we need to take user-defined settings into account. |
|
It seems B is a better option to me, A default category (other than uncategorized) is probably always going to be a "good" category to pick from. |
|
We can also keep it as it is and improve when we need it. |
I thought about this but I decided to still keep the panel because they can add a category inline there.
👍 |
|
This is neat, I often forget to assign categories :) Do we definitely need the logic though... or would it be adequate to simply repeat the panels from the document inspector 1:1? I ask because by comparison, I'm not sure that the "Suggestion: " text stands out enough to warrant the special treatment, and as mentioned above can feel a bit awkward in some circumstances. For example I don't use tags at all on my blog, and would find the constant "suggestion" a little aggravating, like my site doesn't know me :D Since the pre-publish panel is about double-checking settings, I don't know if we really need to frame these as "suggestions". |
|
I've added the educational text. If folks agree to remove "Suggestion:" from both tags and categories, I can do so 🤷♂️ |
Mamaduka
left a comment
There was a problem hiding this comment.
It looks good from a code perspective and as a feature.
I'm going to leave text copy decisions to others :)
d8dda30 to
ac72e7d
Compare
|
I think for the purpose and context of tis PR, let's keep 'suggestion'. It's straight forward in what it is and inline with tags. For folks like Jay, who don't utilize tags or cats, they can ignore the said suggestions - no harm, no foul.
|


Before publishing a post, if it has no assigned category or has the "uncategorized" one, this PR shows a new suggestion on the panel to pick a category before publishing.