Repository navigation
Conversation
🤖 PR meta 🤖🎉 PropsIf you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
Updated as activity occurs, without notifying anyone named here. Add the 📦 Bundle sizeSize Change: +223 B (0%) Total Size: 8.68 MB 📦 View Changed
⚡ PerformanceShow the resultsClient side metrics exclude the server response time. front-end-block-theme
front-end-classic-theme
media-processing
media-upload
post-editor
site-editor
🏁 Flaky testsSome tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information. As a user I want to be able to add multiple close buttons so that users can close the overlay from different positions in
|
See #80412.
What?
Migrate the Month field in
TimePickerto@wordpress/uiSelectControl.Why?
The publish date and scheduling controls are among the remaining users of the legacy select.
How?
Use the selected month with the existing date calculation for the site's time zone and skip the change callback when the user picks the current month again. Let the trigger shrink beside the day and year fields so a long month name can fit in the popup without stretching the date row.
Testing Instructions
Testing Instructions for Keyboard
Screenshots
Captured in Chromium on Linux at 1440 × 900, with the same date and viewport in each pair. Before uses
3b5195cf76eand after usesef582d2d24b.Post editor settings
Closed
Closed, trigger hovered
Closed, trigger focused by keyboard
Dropdown open
Dropdown open, option hovered
Dropdown open, option highlighted by keyboard
Pre-publish scheduling panel
Closed
Closed, trigger hovered
Closed, trigger focused by keyboard
Dropdown open
Dropdown open, option hovered
Dropdown open, option highlighted by keyboard
Status panel for a scheduled post
Closed
Closed, trigger hovered
Closed, trigger focused by keyboard
Dropdown open
Dropdown open, option hovered
Dropdown open, option highlighted by keyboard
Post Date block toolbar
Closed
Closed, trigger hovered
Closed, trigger focused by keyboard
Dropdown open
Dropdown open, option hovered
Dropdown open, option highlighted by keyboard
Site Editor page settings
Closed
Closed, trigger hovered
Closed, trigger focused by keyboard
Dropdown open
Dropdown open, option hovered
Dropdown open, option highlighted by keyboard
Pages Quick Edit
Closed
Closed, trigger hovered
Closed, trigger focused by keyboard
Dropdown open
Dropdown open, option hovered
Dropdown open, option highlighted by keyboard
Pages Date filter
Closed
Closed, trigger hovered
Closed, trigger focused by keyboard
Dropdown open
Dropdown open, option hovered
Dropdown open, option highlighted by keyboard
Use of AI Tools
Codex implemented the migration, updated and ran tests, and drafted this description.