Skip to content

Fix CMS home-page pathbox: show full list on open (1.18.1) - #320

Merged
WebTigers merged 1 commit into
mainfrom
fix/pathbox-focus-full-list
Sep 27, 2026
Merged

WebTigers merged 1 commit into
mainfrom
fix/pathbox-focus-full-list

Conversation

@WebTigers

Copy link
Copy Markdown
Owner

CMS home-page picker: show the full list on open

Symptom: with a theme active (e.g. Grey Mist), the CMS Settings → Home page combobox wouldn't list it — opening the control showed only the current selection.

Root cause (client-side): tiger.pathbox.js sent the input's current text as the search query q on focus. The input is pre-filled with the committed label ("— Built-in landing page —"), so opening the box "searched" for that string and filtered out every other option, including the active theme's home. The discovery service (Cms_Service_Paths) was already returning the theme correctly (verified on dev via reflection).

Fix:

  • While the box still shows the committed label, search with an empty q (full list); filter only once the user actually types.
  • Select the text on focus so typing replaces the label cleanly.
  • Move the "Advanced search" toggle beside the combobox (help text → label tooltip) for a tidier row.

Proven on tiger-dev: opening the picker now lists Grey Mist / Porto / TigerMarketing theme homes + CMS pages + /docs. Patch release 1.18.1.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ASauLLscjqdsNqBNsx2Typ

On focus the pathbox sent its current label as the search query, filtering
out every option including the active theme's home. Send an empty query while
the box shows the committed label; filter only once the user types; select the
text on focus. Also move the "Advanced search" toggle beside the combobox.
Server-side discovery was already correct. 1.18.0 → 1.18.1.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ASauLLscjqdsNqBNsx2Typ
@WebTigers
WebTigers merged commit 1113d72 into main Sep 27, 2026
14 checks passed
@WebTigers
WebTigers deleted the fix/pathbox-focus-full-list branch September 27, 2026 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant