Skip to content

feat(WebUI): Explorer Search panel toggle + shell chrome Playwright (#2850) - #2857

Merged
natechadwick merged 2 commits into
mainfrom
feat/issue-2850-explorer-search-shell-chrome
Aug 11, 2026
Merged

natechadwick merged 2 commits into
mainfrom
feat/issue-2850-explorer-search-shell-chrome

Conversation

@natechadwick-intsof

Copy link
Copy Markdown
Collaborator

Summary

Implements #2850 (slice 3 of #2407 / grandparent #2400): product Explorer Search panel toggle composition + surface-filtered Playwright shell chrome assertions.

Changes

  • Content → Search is a menuitemcheckbox toggle sharing the same panel as View → Search (aria-controls=explorer-search-panel, Content menu stays open for flip)
  • ContentExplorerShell test/host seams: search / listSavedSearches / executeSavedSearch passed through to SearchPanel
  • Vitest: open/close View toggle, Content → Search, free-text inject criteria (folderPath + query)
  • Playwright: tests/explorer-shell-chrome.spec.js (@explorer-shell-chrome / @search / @smoke) — menu bar, display format, action toolbar region, Search open/close + free-text chrome + axe gate
  • Helpers/unit: explorer-shell-chrome.js + unit tests wired into npm run test:unit
  • product-docs: product-docs/8.2/admin/content-explorer.md (Search + shell chrome) + admin index / sites links

Out of scope

Parent / slices

Issue Role
#2400 Grandparent DCE parity epic
#2407 Parent shell composition
#2848 Slice 1 display formats (done)
#2849 Slice 2 action toolbar (PR open)
#2850 This PR (slice 3)

Test plan

  • cd WebUI && ../mvnw.cmd clean install — BUILD SUCCESS; Vitest 1776 passed
  • cd modules/perc-qa-automation && ../../mvnw.cmd clean install — BUILD SUCCESS
  • npm run test:unit in perc-qa-automation/frontend — 218 passed (includes explorer-shell-chrome)
  • npm run test:surface:list -- --path tests/explorer-shell-chrome.spec.js — 4 tests listed
  • Live test:surface against H2 QA — soft-skip documented: existing matrix CMS on :9993 returned 503; did not start a second qa-up against unhealthy stack. Human QA / next healthy perc-devctl qa-up should run surface path below.
python docker/scripts/perc-devctl.py qa-up
cd modules/perc-qa-automation/frontend
TEST_CMS_URL=http://127.0.0.1:${QA_CMS_HOST_PORT} \
  ADMIN_USERNAME=Admin ADMIN_PASSWORD=<from-qa-up> \
  npm run test:surface -- --path tests/explorer-shell-chrome.spec.js
python docker/scripts/perc-devctl.py qa-down

Product documentation

  • Updated pages under product-docs/ (8.2/admin/content-explorer.md, admin index, sites related link)

Build evidence (C3)

  • modules_built: WebUI, modules/perc-qa-automation
  • build_evidence:
    • cd WebUI; ..\mvnw.cmd clean install → BUILD SUCCESS; Vitest Tests 1776 passed
    • cd modules/perc-qa-automation; ..\..\mvnw.cmd clean install → BUILD SUCCESS
    • npm run test:unit → 218 passed
  • downstream_checked: none (no public Java API / final / signature change; WebUI TS + product-docs + Playwright only)

Operator

Operator: Grok: night-issue-prs (model grok-4.5)

Fixes #2850

Co-Authored by Grok Build using grok-4.5 with agent main.

@natechadwick-intsof

Copy link
Copy Markdown
Collaborator Author

Human QA issue: #2858 (@vijaya-boddipudi)

Co-Authored by Grok Build using grok-4.5 with agent main.

Comment thread WebUI/src/test/ts/contentExplorer/ContentExplorerShell.test.tsx
Comment thread modules/perc-qa-automation/frontend/tests/helpers/explorer-menu-bar.js Outdated
Comment thread modules/perc-qa-automation/frontend/tests/unit/explorer-menu-bar.test.js Outdated
Comment thread WebUI/src/test/ts/contentExplorer/ContentExplorerShell.test.tsx
@kilo-code-bot

kilo-code-bot Bot commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (15 files)
  • WebUI/src/main/ts/contentExplorer/ContentExplorerShell.tsx
  • WebUI/src/main/ts/contentExplorer/ExplorerMenuBar.tsx
  • WebUI/src/main/ts/contentExplorer/menuBarModel.ts
  • WebUI/src/test/ts/contentExplorer/ContentExplorerShell.test.tsx
  • WebUI/src/test/ts/contentExplorer/ExplorerMenuBar.test.tsx
  • WebUI/src/test/ts/contentExplorer/menuBarModel.test.ts
  • modules/perc-qa-automation/README.md
  • modules/perc-qa-automation/frontend/package.json
  • modules/perc-qa-automation/frontend/tests/explorer-shell-chrome.spec.js
  • modules/perc-qa-automation/frontend/tests/helpers/explorer-menu-bar.js
  • modules/perc-qa-automation/frontend/tests/helpers/explorer-shell-chrome.js
  • modules/perc-qa-automation/frontend/tests/unit/explorer-menu-bar.test.js
  • modules/perc-qa-automation/frontend/tests/unit/explorer-shell-chrome.test.js
  • product-docs/8.2/admin/content-explorer.md
Previous Review Summaries (2 snapshots, latest commit a609db5)

Current summary above is authoritative. Previous snapshots are kept for context only.

Previous review (commit a609db5)

Status: No Issues Found | Recommendation: Merge

Files Reviewed (4 files)
  • WebUI/src/test/ts/contentExplorer/ContentExplorerShell.test.tsx — 2 new tests (toggle close + saved-search pass-through)
  • modules/perc-qa-automation/frontend/tests/explorer-shell-chrome.spec.js — aria-expanded assertions added
  • modules/perc-qa-automation/frontend/tests/helpers/explorer-menu-bar.js — displayFormat removed from menu-bar TEST_IDS
  • modules/perc-qa-automation/frontend/tests/unit/explorer-menu-bar.test.js — displayFormat assertion corrected to undefined

Previous review (commit 0c4d8a9)

Status: 4 Issues Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 1
SUGGESTION 3
Issue Details (click to expand)

WARNING

File Line Issue
WebUI/src/test/ts/contentExplorer/ContentExplorerShell.test.tsx 1104 Content → Search toggle close not verified in Vitest
modules/perc-qa-automation/frontend/tests/explorer-shell-chrome.spec.js 183 Content → Search toggle close not verified in Playwright

SUGGESTION

File Line Issue
modules/perc-qa-automation/frontend/tests/helpers/explorer-menu-bar.js 24 displayFormat test ID misplaced in menu-bar helper
modules/perc-qa-automation/frontend/tests/unit/explorer-menu-bar.test.js 38 displayFormat assertion reinforces misplaced coupling
WebUI/src/test/ts/contentExplorer/ContentExplorerShell.test.tsx 1133 listSavedSearches/executeSavedSearch pass-through not verified
Files Reviewed (16 files)
  • WebUI/src/main/ts/contentExplorer/ContentExplorerShell.tsx
  • WebUI/src/main/ts/contentExplorer/ExplorerMenuBar.tsx
  • WebUI/src/main/ts/contentExplorer/menuBarModel.ts
  • WebUI/src/test/ts/contentExplorer/ContentExplorerShell.test.tsx
  • WebUI/src/test/ts/contentExplorer/ExplorerMenuBar.test.tsx
  • WebUI/src/test/ts/contentExplorer/menuBarModel.test.ts
  • modules/perc-qa-automation/README.md
  • modules/perc-qa-automation/frontend/package.json
  • modules/perc-qa-automation/frontend/tests/explorer-shell-chrome.spec.js
  • modules/perc-qa-automation/frontend/tests/helpers/explorer-menu-bar.js
  • modules/perc-qa-automation/frontend/tests/helpers/explorer-shell-chrome.js
  • modules/perc-qa-automation/frontend/tests/unit/explorer-menu-bar.test.js
  • modules/perc-qa-automation/frontend/tests/unit/explorer-shell-chrome.test.js
  • product-docs/8.2/admin/content-explorer.md
  • product-docs/8.2/admin/index.md
  • product-docs/8.2/admin/sites.md

Fix these issues in Kilo Cloud


Reviewed by step-3.7-flash · Input: 110.2K · Output: 18.4K · Cached: 861.6K

Review guidance: REVIEW.md from base branch main

natechadwick-intsof added a commit that referenced this pull request Aug 11, 2026
Address kilo review on PR #2857:
- Content → Search open/close + aria-expanded
- Playwright Content Search aria-expanded transitions
- Move displayFormat out of menu-bar helper (shell-chrome only)
- Assert listSavedSearches / executeSavedSearch shell pass-through

> Co-Authored by Grok Code using grok with agent overnight-pr-followup.
natechadwick
natechadwick previously approved these changes Aug 11, 2026
@natechadwick
natechadwick enabled auto-merge (squash) August 11, 2026 02:01
…2850)

Complete #2407 slice 3: Content/View Search share one product Search panel
with menuitemcheckbox a11y, shell search injectors for Vitest, and a
surface-filtered Playwright suite for menu bar, display format, action
toolbar, and free-text Search chrome. Product docs cover Search + shell.

Fixes #2850
Parent: #2407 / Grandparent: #2400

> Co-Authored by Grok Build using grok-4.5 with agent main.
Address kilo review on PR #2857:
- Content → Search open/close + aria-expanded
- Playwright Content Search aria-expanded transitions
- Move displayFormat out of menu-bar helper (shell-chrome only)
- Assert listSavedSearches / executeSavedSearch shell pass-through

> Co-Authored by Grok Code using grok with agent overnight-pr-followup.
@natechadwick-intsof

Copy link
Copy Markdown
Collaborator Author

Rebased onto origin/main (HEAD a7727e6cbd): resolved add/add and content conflicts in product-docs:

  • product-docs/8.2/admin/content-explorer.md — kept Search panel + display format sections from this PR; retained main's richer toolbar/context-menu wording and server-action navigation note.
  • product-docs/8.2/admin/sites.md — kept main's descriptive Content Explorer related link.

Code/tests from the branch rebased cleanly; docs-only conflict resolution.

Co-Authored by Grok Code using grok with agent night-issue-prs-followup.

@natechadwick
natechadwick merged commit f8e7710 into main Aug 11, 2026
9 checks passed
@natechadwick
natechadwick deleted the feat/issue-2850-explorer-search-shell-chrome branch August 11, 2026 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

model:grok-4.5 Grok 4.5 model operator:grok Changes authored by Grok operator:night-issue-prs night-issue-prs workflow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

issue 2407 slice 3: Search panel toggle + Playwright Explorer shell chrome

2 participants