Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#57330 new enhancement

Show number of scheduled posts in calendar popup when scheduling

Reported by: sokrates4612's profile sokrates4612 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Editor Keywords: move-to-github close
Focuses: ui Cc:

Description

When scheduling a post using default wordpress scheduler, there is a nice feature – I see a blue dots under a day numbers what means, that there I have some posts already scheduled for that day.

But there is only a blue dot – it would be nice to see also a number of posts scheduled for that day.

That number is already in the html code visible – when I right click on the blue dot and click “Inspect” in HTML code I see an information like this:
“December 10, 2022. Selected. There is 1 event”

Change History (1)

#1 @sabernhardt
2 years ago

  • Component changed from Posts, Post Types to Editor
  • Keywords move-to-github close added
  • Summary changed from Show number of scheduled posts in calendar popu when scheduling to Show number of scheduled posts in calendar popup when scheduling

Thanks for the suggestion!

Could you open an issue on the Gutenberg repository? Any change would need to be made to the plugin first.

Showing another number in the datepicker might confuse people, so I don't think that should be the default behavior. However, maybe the button could include an attribute like data-events for extenders to display the counts when the button receives focus.
.components-datetime__date__day:focus::after { content: attr(data-events); }

Note: See TracTickets for help on using tickets.