Repository navigation
Conversation
PR SummaryOverview A new Local search in the entity value menu now matches containers on their full parent path (so filtering by a parent name in Unit tests cover the disambiguation logic and menu rendering; Playwright tests and fixtures exercise the behavior in the Container filter dropdown. Reviewed by Cursor Bugbot for commit fe891b5. Bugbot is set up for automated code reviews on this repo. Configure here. |
Bundle ReportChanges will increase total bundle size by 2.5kB (0.01%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: datahub-react-web-esmAssets Changed:
Files in
Files in
|
i18n locale parityStatus:
Per-key detail is in the job summary of the ./gradlew :datahub-web-react:yarnI18nParityCheck # all locales
cd datahub-web-react && yarn check-i18n-parity --lang de # one locale |
❌ 4 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
|
✅ Meticulous spotted 0 visual differences across 426 screens tested: view results. Meticulous evaluated ~18 hours of user flows which tested 74/171 of the executable lines edited in your PR1. 1. These 97 untested lines will likely automatically gain test coverage over the coming days, however if you wish to increase coverage immediately you can do so by interacting with your feature on localhost. Expected differences? Click here. Last updated for commit |
Initial JS bundle size ➡️
|
Boot web vitals (no backend)Unauthenticated /login against the two dist/ trees from this job. No GMS — this is eager JS, not search/dataset payload. Lantern, desktop, 1x CPU. Does not forecast fleet p75; do not gate on LCP. Web-vitals A/B — base (2ba446b) (A) vs pr (fe891b5) (B)Lighthouse 12.8.2, throttling simulate (cpu 1x, rtt 40 ms, 10240 kbps). Form factor: desktop. Cache: cold (fresh incognito context per run). target n=3/build, 1 warm-up discarded, alternating A,B. Boot-only (no GMS). Unauthenticated login route — eager JS/CSS/font transfer and parse, not search/dataset payload. Do not treat as a fleet p75.
|
| metric | A p50 | B p50 | Δ p50 | Δ% | A p95 | B p95 |
|---|---|---|---|---|---|---|
| fcp | 851 ms | 780 ms | -71 ms | -8.3% | 852 ms | 850 ms |
| lcp | 1304 ms | 1308 ms | 4 ms | +0.3% | 1305 ms | 1326 ms |
| cls | 0.0000 | 0.0000 | 0.0000 | — | 0.0000 | 0.0000 |
| tbt | 11 ms | 15 ms | 4 ms | +36.4% | 13 ms | 20 ms |
| tti | 1305 ms | 1309 ms | 4 ms | +0.3% | 1306 ms | 1329 ms |
| ttfb | 1 ms | 1 ms | 0 ms | +5.3% | 1 ms | 1 ms |
| transferredBytes | 1077.1 KB | 1077.1 KB | 0.0 KB | +0.0% | 1077.1 KB | 1077.1 KB |
| mainThread | 276 ms | 286 ms | 10 ms | +3.8% | 279 ms | 340 ms |
| bootup | 149 ms | 156 ms | 7 ms | +4.6% | 150 ms | 180 ms |
Resource transfer by type (p50):
| type | A bytes | B bytes | Δ bytes | A requests | B requests |
|---|---|---|---|---|---|
| document | 1.3 KB | 1.3 KB | 0.0 KB | 1 | 1 |
| script | 645.3 KB | 645.3 KB | -0.0 KB | 8 | 8 |
| stylesheet | 3.0 KB | 3.0 KB | 0.0 KB | 2 | 2 |
| image | 48.7 KB | 48.7 KB | 0.0 KB | 1 | 1 |
| media | 257.3 KB | 257.3 KB | 0.0 KB | 1 | 1 |
| font | 106.6 KB | 106.6 KB | 0.0 KB | 3 | 3 |
| other | 0.0 KB | 0.0 KB | 0.0 KB | 0 | 0 |
LCP element A: div > div.sc-fpAkvV > div.sc-pRPz > p.sc-pNWdM — Welcome to DataHub
LCP element B: div > div.sc-fpAkvV > div.sc-pRPz > p.sc-pNWdM — Welcome to DataHub
These numbers rank changes and gate regressions against the measured origin(s). They do not sum across PRs and do not forecast any fleet-wide production number.
Container filter options were labelled with the container's name only, so a "store" schema in two databases showed up as two identical "store" entries. When options on offer share a name, prefix each with the fewest parent containers that tell them apart (the database first, then higher levels), as a dotted path. A long path keeps the parent that tells it apart and the container's own name, collapses the levels between them to an ellipsis and shortens over-long names in the middle; hovering an ellipsis shows what it hides and hovering the rest shows the full path. Options with a unique name are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nt names A long path collapsed every level between its outermost parent and the container's own name, which could make labels collide again when several levels are needed to tell options apart. Collapse only the levels the whole group shares, keep the ones that differ, and skip shortening a level when the shortened names would look alike. The value menu's search matched only a container's own name, so typing a parent shown in a label hid that option. Match containers on their full path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…yout Master now renders entity filter options with EntitySelectOption. Show the entity icon before the disambiguating container path, keep master's option when no path is needed, restore the Entity import mapFilterOption lost in the rebase, and drop the onApply prop EntityValueMenu no longer takes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
32ff512 to
fe891b5
Compare
Smart test selectionPlaywright E2E testsThis run:
Specs selected because of this PR (14)
Add the commit |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 3 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit fe891b5. Configure here.
| } | ||
| }); | ||
| closeSharedRun(); | ||
| return segments.concat(shorten('self', label)); |
There was a problem hiding this comment.
Shortened names still collide
Medium Severity
keepWhole only compares parent names inside one same-name group. The container's own name is always passed through shortenName, which keeps a fixed head and tail. Two different long names that share those ends, under the same disambiguating parent, still render as the same option label.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit fe891b5. Configure here.
| overflow: hidden; | ||
| text-overflow: ellipsis; | ||
| white-space: nowrap; | ||
| `; |
There was a problem hiding this comment.
Full names clipped after keepWhole
Medium Severity
When keepWhole is set, the full parent name is rendered with no hidden text. ContainerPath then clips that string with overflow: hidden and an end ellipsis, so names that differ only in the middle can still look identical in the list.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit fe891b5. Configure here.
| <Label style={{ maxWidth: 150 }}> | ||
| {isSubTypeFilter ? capitalizeFirstLetterOnly(label as string) : label} | ||
| </Label> | ||
| defaultLabel |
There was a problem hiding this comment.
Checkbox name ignores disambiguated path
Medium Severity
Disambiguated container rows draw a parent path, but the checkbox aria-label and data-testid still use the plain label from getFilterIconAndLabel. Same-named containers stay identical to assistive tech, and those test ids collide.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit fe891b5. Configure here.


Before this PR, the Container filter's option list labels each container by its name only, so a
storeschema in two databases shows up as two identicalstoreentries and users can't tell which one they are picking; with this PR, options that share a name are prefixed with the fewest parent containers that tell them apart (the database first, then higher levels), shown as a dotted path such aspetshop_east.store; long paths stay readable (lakehouse_a.….supply,petsho…to_2024.store) and the hidden parts show on hover.What changes
…, and a name too long on its own is shortened in the middle, so names that differ only at the start or end (…_2019_to_2024vs…_2014_to_2018) stay apart. Hovering an ellipsis shows what it hides; hovering the rest of the path shows the full path. The row never scrolls sideways.How
The search, autocomplete and facet queries behind these menus already fetch
parentContainersfor containers, so this is UI-only:searchV2/filters/containerDisambiguation.ts(new): groups container options by name and finds the minimal disambiguating depth per group;getContainerPathSegmentsturns a path into display segments within a character budget, each ellipsis carrying the text it hides.EntityValueMenucomputes it over the options on offer and passes each option its parents throughmapFilterOptiontoFilterOption, which renders each segment with its own tooltip.No GraphQL, backend or config changes; no new UI strings.
Testing
tests/search-container-filter/container-filter-disambiguation.spec.tswith petshop sample containers: same-named schemas in two databases, same-named databases in two catalogs (a collapsed path, checking both hover tooltips), and a unique name. Passes with this PR at32ff5120d55(4 of 4). Also checked by hand with 60–90 character names and a six-level chain: every option stays distinct and nothing overflows.containerDisambiguation.test.ts(grouping, depth, unique names, non-container options, identical chains, path formatting, collapsing and middle-shortening long paths),EntityValueMenu.test.tsx(labels rendered end to end, including shortened ones),FilterOption.test.tsx. 100% of changed lines covered.:datahub-web-react:yarnLint,:e2e-test:ui:playwright:lint).Checklist
🤖 Generated with Claude Code
Summary by cubic
Fixes the Container filter option list so same-named containers are told apart, and search can find them by a parent name.
petshop_east.store; unique names stay plain.petshop_east) keeps that option.parentContainers, so no GraphQL, backend, or config changes.Written for commit fe891b5. Summary will update on new commits.