Repository navigation
fix(webgui): backport time zone dropdown selection to 7.3 - #2856
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
🔧 PR Test Plugin AvailableA test plugin has been generated for this PR that includes the modified files. Version: 📥 Installation Instructions:Install via Unraid Web UI:
Alternative: Direct Download
|
Related to DST-410.
Summary
Backport the searchable Time zone dropdown and its selection fixes from #2842 to WebGUI 7.3.
Why this exists
The 7.3 Date and Time page has a long time zone list. Search helps users find a zone, and the selection fixes let them reopen the list and apply changes reliably.
Resolution
Enable the upstream searchable widget on the Date and Time page. Clicking a closed field reopens the list even when the field still has focus. Choosing a different zone updates the native select and emits one bubbling
changeevent so the page can apply the change.Reviewer considerations
timeZoneselect owns the submitted value. Typing a search, dismissing the list, or choosing the current zone leaves the form unchanged.7.4.1-rc.0.1. The only omitted file is the original PR’s AI review marker.Behavior changes
Users can filter by zone name or ID, select a result with the mouse or keyboard, and reopen the list after selecting a result or pressing Escape.
Implementation summary
The Date and Time page loads the shared jQuery UI widget and styles, then initializes the existing select after its options render.
Verification
node tests/searchable-select.cjspassed all five tests in Chromium, andBROWSER=webkit node tests/searchable-select.cjspassed the same five in WebKit.git diff --checkpassed.Risk
The browser tests use the 7.3 branch assets and a representative settings form. The original #2842 PR plugin passed appliance QA on Unraid 7.3.2 at the exact upstream revision backported here. The #2856 plugin has no separate appliance QA result yet.