Skip to content

feat: show page ancestors in table search - #83548

Closed
dinhtungdu wants to merge 4 commits into
fix/80360-static-breadcrumbsfrom
fix/80360-page-search-paths
Closed

dinhtungdu wants to merge 4 commits into
fix/80360-static-breadcrumbsfrom
fix/80360-page-search-paths

Conversation

@dinhtungdu

@dinhtungdu dinhtungdu commented Sep 26, 2026 •

Copy link
Copy Markdown
Member

Summary

Show non-interactive ancestor paths beneath matching page titles in flat table search, in both site editors. Resolve missing ancestors through the existing shared, batched lookup, including draft parents, and render labels with small local components in each Pages screen. No new Admin UI public API.

Part of #80360. Combines the display and search work previously split across #83547 and this PR. The planned base is the Pages hierarchy integration (#83546); changing the current base and closing #83547 await explicit authorization. The title remains the only navigation target; incomplete or cyclic ancestor paths are not shown. Child counts and manual ordering (#82400) remain separate.

Verification

  • Six focused tests covering static path rendering and ancestor lookup pass.
  • Production build, full typecheck, focused JavaScript lint, SCSS lint, and commit hooks pass.
  • Both Pages screens verified on the assigned local WordPress site: published and draft-parent paths appear beneath matching titles, with no links inside the path. Screenshots opened and inspected.
  • The existing experimental editor lazy-loader console limitation remains outside this change. New GitHub CI is not claimed as passing.

Screenshots or screencast

Captured from 54060202c12506858ab108bb50eeaa33b6358835 after moving rendering into the local Pages components.

Classic Site Editor search with local ancestor paths

Extensible Site Editor search with local ancestor paths

@dinhtungdu
dinhtungdu added this pull request to stack #83317 September 26, 2026 11:32
@github-actions github-actions Bot added [Package] Editor /packages/editor [Package] Edit Site /packages/edit-site labels Sep 26, 2026
@dinhtungdu dinhtungdu changed the title fix/80360 page search paths feat: show page ancestors in table search Sep 26, 2026
@dinhtungdu dinhtungdu added [Type] Feature New feature to highlight in changelogs. [Feature] DataViews Work surrounding upgrading and evolving views in the site editor and beyond labels Sep 26, 2026
@github-actions

github-actions Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

🤖 PR meta 🤖

📦 Bundle size

Size Change: +1.54 kB (+0.02%)

Total Size: 8.22 MB

📦 View Changed
Filename Size Change
build/scripts/edit-site/index.min.js 386 kB +818 B (+0.21%)
build/scripts/editor/index.min.js 614 kB +722 B (+0.12%)

From ef1a941, not the current head. Run

⚡ Performance

Show the results

Client side metrics exclude the server response time.

front-end-block-theme

Metric f997598 fix/80360-static-breadcrumbs % Change
timeToFirstByte 56.05 ms +8.3% -2.68% 57.45 ms +8.09% -2.79% -2.44%
largestContentfulPaint 96 ms +4.17% -6.25% 100 ms +4% -8% -4%
lcpMinusTtfb 35.15 ms +24.32% -3.7% 37.2 ms +20.97% -8.74% -5.51%
wpBeforeTemplate 28.09 ms +10.68% -1.53% 28.64 ms +14.77% -2.03% -1.92%
wpTemplate 24.25 ms +2.35% -3.46% 24.28 ms +3.54% -2.92% -0.12%
wpTotal 52.57 ms +8.35% -3.04% 53.58 ms +8.75% -2.78% -1.89%
wpMemoryUsage 7.59 MB +0% -0% 7.58 MB +0% -0% 0.1%
wpDbQueries 17 +0% -0% 17 +0% -0% 0%

front-end-classic-theme

Metric f997598 fix/80360-static-breadcrumbs % Change
timeToFirstByte 46.9 ms +5.65% -1.49% 49.15 ms +6% -2.54% -4.58%
largestContentfulPaint 102 ms +3.92% -1.96% 106 ms +1.89% -1.89% -3.77%
lcpMinusTtfb 54.35 ms +4.32% -1.38% 56.05 ms +0.54% -1.43% -3.03%
wpBeforeTemplate 26.16 ms +4.7% -2.03% 26.94 ms +7.72% -1.08% -2.9%
wpTemplate 17.7 ms +3.67% -0.79% 18.23 ms +5.54% -0.16% -2.91%
wpTotal 43.89 ms +5.42% -1.55% 46.12 ms +5.55% -2.65% -4.84%
wpMemoryUsage 6.21 MB +0% -0% 6.20 MB +0% -0% 0.13%
wpDbQueries 14 +0% -0% 14 +0% -0% 0%

media-processing

Metric f997598 fix/80360-static-breadcrumbs % Change
mediaProcessingJpeg 400.21 ms +1.5% -1.22% 401.99 ms +0.72% -0.46% -0.44%
mediaProcessingAvif 6057.35 ms +0.18% -0.11% 6061.32 ms +0.14% -0.23% -0.07%
mediaProcessingJpegToAvif 4171.71 ms +0.54% -0.17% 4181.87 ms +0.23% -0.21% -0.24%

media-upload

Metric f997598 fix/80360-static-breadcrumbs % Change
jpegUploadProcessing 1464.76 ms +32.56% -3.73% 1428.1 ms +1.23% -0.83% 2.57%
pngUploadProcessing 200.08 ms +16.7% -11.81% 218.99 ms +2.31% -3.1% -8.64%
largeJpegUploadProcessing 1410.41 ms +0.67% -0.38% 1413.66 ms +0.63% -0.71% -0.23%
multipleImageUploadProcessing 1617.15 ms +9.42% -1.43% 2074.19 ms +0.45% -21.07% -22.03%

post-editor

Metric f997598 fix/80360-static-breadcrumbs % Change
serverResponse 422.54 ms +3.8% -6.29% 410.2 ms +5.96% -1.83% 3.01%
firstPaint 213.09 ms +10.14% -20.02% 229.5 ms +9.77% -9.71% -7.15%
domContentLoaded 1018.59 ms +3.04% -1.38% 1020.74 ms +1.21% -0.64% -0.21%
loaded 1019.81 ms +3.03% -1.37% 1021.96 ms +1.22% -0.64% -0.21%
firstContentfulPaint 417.99 ms +2.37% -4.32% 418.94 ms +0.99% -2.35% -0.23%
firstBlock 2998.38 ms +0.16% -2.69% 2960.05 ms +1.76% -0.42% 1.29%
type 18.61 ms +7.63% -4.25% 19.51 ms +1.03% -3.33% -4.61%
typeWithoutInspector 19.1 ms +4.03% -5.18% 19.52 ms +3.53% -6.4% -2.15%
typeWithTopToolbar 23.08 ms +2.64% -4.98% 25.2 ms +1.83% -8.02% -8.41%
typeContainer 8.65 ms +1.5% -1.73% 8.82 ms +4.08% -10.88% -1.93%
focus 75.07 ms +4.21% -4.96% 80.22 ms +4.69% -2.19% -6.42%
firstFocus 191.7 ms +0% -0% 193.14 ms +0% -0% -0.75%
selectAll 426.97 ms +5.35% -1.53% 452.02 ms +0.12% -0.07% -5.54%
listViewOpen 68.59 ms +4.27% -7.36% 68.97 ms +5.86% -11.43% -0.55%
inserterOpen 23.3 ms +19.91% -4.12% 21.87 ms +5.26% -11.98% 6.54%
inserterHover 2.94 ms +8.84% -6.8% 3.06 ms +6.54% -5.88% -3.92%
inserterSearch 7.94 ms +12.72% -5.04% 7.64 ms +12.17% -4.32% 3.93%
loadPatterns 642.68 ms +5.62% -2.68% 646.32 ms +3.1% -1.56% -0.56%
wpTotal 412.93 ms +3.93% -6.4% 400.74 ms +5.98% -1.91% 3.04%
wpMemoryUsage 13.13 MB +0% -0% 13.12 MB +0% -0% 0.08%
wpDbQueries 54 +0% -0% 54 +0% -0% 0%

site-editor

Metric f997598 fix/80360-static-breadcrumbs % Change
serverResponse 503.85 ms +4.68% -3.71% 508.44 ms +3.2% -10.03% -0.9%
firstPaint 279.58 ms +25.89% -5.11% 245.18 ms +19.11% -7.2% 14.03%
domContentLoaded 1143.29 ms +1.61% -0.72% 1140.23 ms +1.31% -2.35% 0.27%
loaded 1144.51 ms +1.61% -0.72% 1141.63 ms +1.3% -2.36% 0.25%
firstContentfulPaint 457.35 ms +2.15% -1.92% 448.66 ms +2.1% -0.96% 1.94%
firstBlock 4178.21 ms +1.32% -0.67% 4165.92 ms +0.56% -1.79% 0.3%
type 20.89 ms +3.59% -5.6% 18.68 ms +10.06% -7.01% 11.83%
navigate 123.36 ms +8.05% -10.23% 114.13 ms +15.41% -5.55% 8.09%
loadPatterns 1429.42 ms +8.84% -6.62% 1378.79 ms +10.02% -9.72% 3.67%
loadPages 1085.91 ms +1.03% -0.65% 1070.63 ms +0.69% -1.35% 1.43%
wpTotal 493.96 ms +4.77% -3.66% 498.4 ms +3.4% -10.18% -0.89%
wpMemoryUsage 12.11 MB +0% -0% 12.10 MB +0% -0% 0.06%
wpDbQueries 43 +2.33% -0% 43 +2.33% -0% 0%

From ef1a941, not the current head. Run

@github-actions github-actions Bot added the [Package] Admin UI /packages/admin-ui label Oct 6, 2026
@dinhtungdu dinhtungdu closed this Oct 6, 2026
@dinhtungdu
dinhtungdu removed this pull request from stack #83317 October 6, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] DataViews Work surrounding upgrading and evolving views in the site editor and beyond [Package] Admin UI /packages/admin-ui [Package] Edit Site /packages/edit-site [Package] Editor /packages/editor [Type] Feature New feature to highlight in changelogs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant