Skip to content

fix(ui): address Custom Properties UI feedback from 2.1 release testing - #36808

Merged
anuj-kumary merged 8 commits into
mainfrom
karanh37/custom-properties-ui-feedback-address
Nov 3, 2026
Merged

anuj-kumary merged 8 commits into
mainfrom
karanh37/custom-properties-ui-feedback-address

Conversation

@karanh37

@karanh37 karanh37 commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes:

No linked issue yet. This addresses the 2.1 release-testing feedback on Custom Properties (Notion: "Custom Properties UI", Data Governance).

I fixed the issues testers reported across the classic settings page, the AI-mode settings panel and the entity Custom Properties tab, because the feature is marked "Do Not Ship" until they're resolved.

Type of change:

  • Bug fix

High-level design:

Settings (AI + classic)

  • One fetch per entity type. CustomPropertiesPanel now owns the type: it fetches once and passes it down. Previously three requests were made per selection: the landing card, the panel, then the detail page. The landing page only reports the FQN, and the detail page reports deletes back up through onEntityTypeChange. Classic's add drawer takes typeDetail from the page instead of fetching it again.
  • The URL hash drives the add/edit view. #custom-properties/<type>/add-property and …/edit-property/<name> now open the form directly. They are gated on the same canCreate / canEditAll flags as the buttons; the panel fetches the Type permission with the type and passes it to the detail page. A link the user cannot act on, or one to a missing property, falls back to the list and corrects the hash. After a save, the panel refetches once and ignores the response if the user has moved on.
  • Form checks (shared CustomPropertyFormFields, so both modes get them):
    • names that already exist are rejected, ignoring case;
    • Format is required for date, dateTime and time (the backend already rejects these without one);
    • the type picker says "SQL Query".
  • List and delete:
    • the hidden +N config values show in a tooltip;
    • classic's delete dialog now shows the display name with a destructive "Delete" button;
    • both modes warn that the property's values will be removed from assets.
  • Copy: the Personas subtitle is fixed. Entity-type labels are all plural, and the AI add button reads "Create" and stays disabled until the form is valid.

Entity tab

  • Time picker (core): a new onIncompleteChange prop. The Date & Time editor blocks Save on a half-typed time instead of saving it as midnight.
  • Date picker (core): the popover is a flex column, so the calendar scrolls and the Cancel/Apply row always stays visible.
  • Enum: a single-select enum now uses a single-select combo box.
  • Integer: whole numbers only, within ±Number.MAX_SAFE_INTEGER. The error shows inline and the dialog stays open.
  • Time Interval: manual entry accepts any non-negative epoch ms, not just 13 digits.
  • Table: a table with no rows removes the key from extension. The fix is in the shared builder, so it covers every editor.
  • Overview widget: the name gets the full row width. The type badge was replaced by the icon tile, which has a tooltip, and the name has one too. "Not set" now reads "No value yet", matching the tab.
  • Markdown: I removed the "Markdown supported" hint. The editor is the shared rich-text editor, which stores HTML like every description field.

Not in this PR

  • Stale-data save is not addressed. Saving on a page whose entity changed elsewhere still fails with the raw server error, because each page builds its patch from its own copy (84 onUpdate callers). A message-mapping fix was tried and dropped.
  • Error toasts still don't auto-dismiss; that is global toast behaviour.
  • Case-insensitive name uniqueness is enforced in the UI only. TypeRepository still compares names case-sensitively. Recorded in ADR:2026-11-02-custom-property-names-are-unique-per-entity-type-ignoring-case-in-the-ui.
  • Collate counterpart: the AI chat entity card never requested extension, so its Custom Properties tab was empty. That fix is on Collate branch karanh37/cp-chat-widget-extension, with no PR yet.

Tests:

Use cases covered

  • AI settings:
    • choosing an entity type fetches it once;
    • add and edit links open their forms;
    • an edit link to a missing property falls back to the list;
    • an add link without Create, or an edit link without EditAll, falls back to the list;
    • adding a property refetches the type once.
  • Add form rejects PRIORITY when priority exists, and requires Format for a Date property.
  • Hovering +N lists the hidden config values. Classic's delete confirm reads "Delete".
  • Date & Time editor blocks Save on a half-typed time.
  • Integer editor rejects 1.5, 9007199254740993 and -42 is accepted.
  • Time Interval accepts 946684800000.
  • An empty table value is dropped from extension.

Unit tests

  • I added unit tests for the new/changed logic.
  • App Jest: 571 tests in 41 suites pass, covering:
    • tabs/custom-properties
    • Settings/CustomProperty
    • pages/CustomPropertiesPageV1
    • common/CustomPropertyTable
    • Explore/.../CustomPropertiesSection
    • Profile/customProperties
    • CustomProperty.utils.test.ts
  • After the self-review fixes I re-ran the custom-properties, CustomPropertiesWidget and Settings/CustomProperty suites: 258/258 pass.
  • Core (vitest): time-picker and date-picker, 16/16 pass.
  • I didn't measure coverage percentages.
  • These ran against this branch's core build (moduleNameMapper pointing at the worktree dist/). The shared node_modules otherwise resolves an older core build that lacks ConfirmPopover and onIncompleteChange.

Backend integration tests

  • Not applicable (no backend changes).

Ingestion integration tests

  • Not applicable (no ingestion changes).

Playwright (UI) tests

  • Not run yet. I'll run the impacted specs before marking this ready.
  • Updated:
    • e2e/Pages/CustomProperties.spec.ts ("SQL Query")
    • constant/glossaryImportExport.ts ("SQL Query")
    • utils/customProperty.ts ("No value yet")

Manual testing performed

Not yet. Still to check in the browser:

  • the date picker inside the property edit modal at 1440x900;
  • the AI settings deep links;
  • the Overview widget at 1440px.

UI screen recording:

Not applicable. These are fixes from release testing, not a feature.

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation> — no issue yet.
  • My PR is linked to a GitHub issue via Fixes #<issue-number> above — no issue yet.
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: not applicable.
  • For a UI feature or feature task: not applicable (bug fixes).
  • I have added tests (unit / integration / Playwright as applicable) and listed them above.
  • Self-review: I reviewed the final diff against REVIEW.md (the pr-checklist skill runs it) and fixed every 🔴 finding, or answered it on the line below.
    • Review ran on 7e4bdc821e4, with fixes in d7a325ec116.
    • 🔴 Glossary import/export spec still selected "Sql Query": fixed.
    • Two 🟡s fixed: the stale handleSaved response, and a focus ring on the widget tooltip triggers.
    • 🟡s answered:
      • Deep links skipped the Create/EditAll check: now gated (97a52a2), with tests.
      • Case-insensitive names are UI-only: see "Not in this PR".
      • No direct CustomPropertiesAddPage test: the shared form validation is covered in AddCustomProperty.test.tsx.
      • No date-picker screenshots: browser validation is pending.
  • Decision check: adds ADR:2026-11-02-custom-property-names-are-unique-per-entity-type-ignoring-case-in-the-ui.

Bug fix

  • I have added a test that covers the exact scenario we are fixing.

🤖 Generated with Claude Code

Settings (AI + classic): fetch the entity type once, open add/edit forms
from deep links, reject duplicate names ignoring case, require a format for
date/time types, show +N config values in a tooltip, make the delete
confirmation destructive with the display name and a values-removed
warning, fix the Personas subtitle, SQL Query label and plural entity type
labels.

Entity tab: block saving an incomplete time, keep the date picker footer
visible, single-select enum picker, integer range/whole-number validation,
accept any epoch ms for time intervals, drop empty table values, give the
widget name room, consistent empty state, readable stale-patch error.
@github-actions github-actions Bot added safe to test Add this label to run secure Github workflows on PRs UI UI specific issues labels Nov 2, 2026
@karanh37
karanh37 marked this pull request as ready for review November 2, 2026 08:00
Copilot AI balanced review requested due to automatic review settings November 2, 2026 08:00
@karanh37
karanh37 requested a review from a team as a code owner November 2, 2026 08:00
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.

Maintainers can bypass this check by adding the skip-pr-checks label.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unresolved async race conditions can overwrite the current entity state or navigate back to a previously selected type, while incorrect ComboBox props prevent enum selection changes from being saved.

2 open issues
What changed in this PR

Addresses Custom Properties release-testing feedback across classic settings, AI-mode settings, and entity editors, with shared component fixes and localized messaging.

Changes:

  • Centralizes entity-type fetching and makes add/edit views follow URL hashes.
  • Strengthens property validation and improves enum, date/time, integer, and table editing.
  • Updates deletion warnings, tooltips, empty states, and regression tests.
File Description
openmetadata-ui/​src/​main/​resources/​ui/​src/​utils/​ToastUtils.ts Replaces raw stale-patch errors with refresh guidance.
openmetadata-ui/​src/​main/​resources/​ui/​src/​utils/​ToastUtils.test.ts Tests stale-patch error messaging.
openmetadata-ui/​src/​main/​resources/​ui/​src/​utils/​GlobalSettingsClassBase.ts Pluralizes entity-type labels.
openmetadata-ui/​src/​main/​resources/​ui/​src/​utils/​CustomProperty.utils.ts Removes empty table values from extensions.
openmetadata-ui/​src/​main/​resources/​ui/​src/​utils/​CustomProperty.utils.test.ts Covers empty-table removal.
openmetadata-ui/​src/​main/​resources/​ui/​src/​pages/​CustomPropertiesPageV1/​CustomPropertiesPageV1.tsx Passes loaded type data into the add drawer.
openmetadata-ui/​src/​main/​resources/​ui/​src/​locale/​languages/​zh-tw.json Updates Traditional Chinese messages.
openmetadata-ui/​src/​main/​resources/​ui/​src/​locale/​languages/​zh-cn.json Updates Simplified Chinese messages.
openmetadata-ui/​src/​main/​resources/​ui/​src/​locale/​languages/​tr-tr.json Updates Turkish messages.
openmetadata-ui/​src/​main/​resources/​ui/​src/​locale/​languages/​th-th.json Updates Thai messages.
openmetadata-ui/​src/​main/​resources/​ui/​src/​locale/​languages/​sv-se.json Updates Swedish messages.
openmetadata-ui/​src/​main/​resources/​ui/​src/​locale/​languages/​ru-ru.json Updates Russian messages.
openmetadata-ui/​src/​main/​resources/​ui/​src/​locale/​languages/​pt-pt.json Updates European Portuguese messages.
openmetadata-ui/​src/​main/​resources/​ui/​src/​locale/​languages/​pt-br.json Updates Brazilian Portuguese messages.
openmetadata-ui/​src/​main/​resources/​ui/​src/​locale/​languages/​pr-pr.json Updates Persian messages.
openmetadata-ui/​src/​main/​resources/​ui/​src/​locale/​languages/​nl-nl.json Updates Dutch messages.
openmetadata-ui/​src/​main/​resources/​ui/​src/​locale/​languages/​mr-in.json Updates Marathi messages.
openmetadata-ui/​src/​main/​resources/​ui/​src/​locale/​languages/​ko-kr.json Updates Korean messages.
openmetadata-ui/​src/​main/​resources/​ui/​src/​locale/​languages/​ja-jp.json Updates Japanese messages.
openmetadata-ui/​src/​main/​resources/​ui/​src/​locale/​languages/​it-it.json Updates Italian messages.
openmetadata-ui/​src/​main/​resources/​ui/​src/​locale/​languages/​he-he.json Updates Hebrew messages.
openmetadata-ui/​src/​main/​resources/​ui/​src/​locale/​languages/​gl-es.json Updates Galician messages.
openmetadata-ui/​src/​main/​resources/​ui/​src/​locale/​languages/​fr-fr.json Updates French messages.
openmetadata-ui/​src/​main/​resources/​ui/​src/​locale/​languages/​es-es.json Updates Spanish messages.
openmetadata-ui/​src/​main/​resources/​ui/​src/​locale/​languages/​en-us.json Revises warnings, validation, and settings copy.
openmetadata-ui/​src/​main/​resources/​ui/​src/​locale/​languages/​de-de.json Updates German messages.
openmetadata-ui/​src/​main/​resources/​ui/​src/​locale/​languages/​ar-sa.json Updates Arabic messages.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​Settings/​CustomProperty/​CustomPropertyTable.tsx Uses display names and destructive Delete confirmation.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​Settings/​CustomProperty/​CustomPropertyTable.test.tsx Tests Delete wording and hidden-value tooltips.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​Settings/​CustomProperty/​CustomPropertiesListTable.tsx Exposes hidden configuration values through tooltips.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​Settings/​CustomProperty/​AddCustomProperty/​AddCustomProperty.tsx Reuses loaded type data and supplies existing names.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​Settings/​CustomProperty/​AddCustomProperty/​AddCustomProperty.test.tsx Tests duplicate names, required formats, and fetch reuse.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​Explore/​EntitySummaryPanel/​CustomPropertiesSection/​CustomPropertiesSection.test.tsx Updates empty-value expectations.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​discovery/​personal-space/​Profile/​tabs/​custom-properties/​CustomPropertyFormFields.tsx Adds duplicate-name and required-format validation.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​discovery/​personal-space/​Profile/​tabs/​custom-properties/​CustomPropertiesPanel.types.ts Updates selection and parent-state callback contracts.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​discovery/​personal-space/​Profile/​tabs/​custom-properties/​CustomPropertiesPanel.tsx Owns type fetching, hash navigation, and save refreshes.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​discovery/​personal-space/​Profile/​tabs/​custom-properties/​CustomPropertiesPanel.test.tsx Covers deep links, fetch counts, and save refreshes.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​discovery/​personal-space/​Profile/​tabs/​custom-properties/​CustomPropertiesLandingPage.tsx Reports type selections without fetching details.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​discovery/​personal-space/​Profile/​tabs/​custom-properties/​CustomPropertiesLandingPage.test.tsx Verifies selection without redundant fetching.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​discovery/​personal-space/​Profile/​tabs/​custom-properties/​CustomPropertiesDetailPage.tsx Uses parent-owned type data and reports deletions upward.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​discovery/​personal-space/​Profile/​tabs/​custom-properties/​CustomPropertiesDetailPage.test.tsx Adapts tests to parent-owned data and permission fetching.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​discovery/​personal-space/​Profile/​tabs/​custom-properties/​CustomPropertiesAddPage.tsx Disables Create until valid and checks existing names.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​common/​CustomPropertyTable/​CustomPropertyCard/​renderers/​TimeIntervalPropertyValue.utils.ts Accepts non-negative safe-integer epoch values.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​common/​CustomPropertyTable/​CustomPropertyCard/​renderers/​TimeIntervalPropertyValue.utils.test.ts Covers shorter timestamps and unsafe integers.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​common/​CustomPropertyTable/​CustomPropertyCard/​renderers/​TextPropertyValue.tsx Validates whole numbers within the safe-integer range.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​common/​CustomPropertyTable/​CustomPropertyCard/​renderers/​MarkdownPropertyValue.tsx Removes the Markdown-support hint.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​common/​CustomPropertyTable/​CustomPropertyCard/​renderers/​EnumPropertyValue.tsx Adds a dedicated single-select ComboBox branch.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​common/​CustomPropertyTable/​CustomPropertyCard/​renderers/​DatePropertyValue.tsx Blocks incomplete-time saves with inline feedback.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​common/​CustomPropertyTable/​CustomPropertyCard/​CustomPropertyVersionList.test.tsx Updates empty-value wording expectations.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​common/​CustomPropertyTable/​CustomPropertyCard/​CustomPropertyRenderers.test.tsx Adds time, enum, and integer regression cases.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​common/​CustomPropertyTable/​CustomPropertiesWidget/​CustomPropertyListItem.tsx Gives names more space and adds name/type tooltips.
openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​common/​CustomPropertyTable/​CustomPropertiesWidget/​CustomPropertyListItem.test.tsx Updates tooltip-trigger and empty-state assertions.
openmetadata-ui/​src/​main/​resources/​ui/​playwright/​utils/​customProperty.ts Aligns empty-state checks with revised wording.
openmetadata-ui/​src/​main/​resources/​ui/​playwright/​e2e/​Pages/​CustomProperties.spec.ts Updates the SQL Query label expectation.
openmetadata-ui/​src/​main/​resources/​ui/​playwright/​constant/​glossaryImportExport.ts Updates the SQL Query fixture label.
openmetadata-ui-core-components/​src/​main/​resources/​ui/​src/​components/​base/​time-picker/​time-picker.tsx Reports partially entered or cleared times.
openmetadata-ui-core-components/​src/​main/​resources/​ui/​src/​components/​base/​time-picker/​time-picker.test.tsx Tests incomplete-time reporting.
openmetadata-ui-core-components/​src/​main/​resources/​ui/​src/​components/​application/​date-picker/​date-picker.tsx Makes the calendar scroll while keeping footer actions visible.

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 2, 2026 08:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The enum editor uses incorrect ComboBox selection props, so existing values are not initialized and selecting or clearing an option does not update what Save submits.

2 open issues
2 previously missed issues

In code that hasn't changed since last review

Medium severity Add a visible focus indicator to the +N tooltip

openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​Settings/​CustomProperty/​CustomPropertiesListTable.tsx:96

The new +N tooltip wrapper is keyboard-focusable, but core Tooltip gives its generated button tw:outline-hidden; this class adds no replacement focus indicator. Tabbing to the hidden-values control therefore gives no visible indication of focus. Add a focus-visible outline, as the widget tooltip triggers do.

Medium severity Ignore deletion results for entities no longer selected

openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​discovery/​personal-space/​Profile/​tabs/​custom-properties/​CustomPropertiesPanel.tsx:364

If a Table property deletion finishes after the user switches to Dashboards, this unguarded setter replaces the active type with the old Table response. The hash still names Dashboards, so the panel falls back to the landing page without refetching. Apply the update only when its FQN matches the active selection, and cover switching types during a pending delete with a regression test.

Review effort: Balanced

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 81%
81.13% (137574/169559) 68.07% (49440/72621) 71.11% (27809/39103)

Copilot AI balanced review requested due to automatic review settings November 2, 2026 08:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

A pending Tables deletion can overwrite Topics state after navigation, showing the landing page and preventing Topics from reloading when reselected.

No open issues 🎉

1 previously missed issue

In code that hasn't changed since last review

Medium severity Prevent stale delete responses from overwriting the active FQN

openmetadata-ui/​src/​main/​resources/​ui/​src/​components/​discovery/​personal-space/​Profile/​tabs/​custom-properties/​CustomPropertiesPanel.tsx:370

If a Tables deletion finishes after hash navigation has loaded Topics, this parent setter replaces Topics with the stale Tables response. The type/hash mismatch then renders the landing page, and selecting Topics again does not reload it because resolvedFqnRef still equals topic. Guard the update against the active FQN, as handleSaved does, and add a regression test that navigates while a delete is pending.

2 resolved since last review

Review effort: Balanced

karanh37 and others added 4 commits November 2, 2026 15:37
…rties-ui-feedback-address

# Conflicts:
#	openmetadata-ui-core-components/src/main/resources/ui/src/components/application/date-picker/date-picker.tsx
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

🔄 Playwright impact map auto-refreshed

This PR touched specs or UI source that changed the source→spec routing map. I regenerated .github/playwright/impact-map.generated.json and pushed the diff to this branch.

- source entries: 1024 → 1028
- 4 added, 0 removed, 37 changed spec-list

New source→spec entries:
  openmetadata-ui/src/main/resources/ui/src/components/Database/SchemaTable/ColumnCustomPropertyCell.tsx
  openmetadata-ui/src/main/resources/ui/src/components/common/Form/JSONSchema/JsonSchemaWidgets/LdapRoleMappingWidget/LdapRoleMappingWidget.tsx
  openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/components/AccessTokenRow.tsx
  openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/access-control/AccessControlRulesTable.tsx

Entries whose spec list changed:
  openmetadata-ui/src/main/resources/ui/playwright/e2e/fixtures/pages.ts
  openmetadata-ui/src/main/resources/ui/playwright/support/entity/Entity.interface.ts
  openmetadata-ui/src/main/resources/ui/playwright/support/entity/TableClass.ts
  openmetadata-ui/src/main/resources/ui/playwright/support/fixtures/isolatedUser.ts
  openmetadata-ui/src/main/resources/ui/playwright/utils/aiProfile.ts
  openmetadata-ui/src/main/resources/ui/playwright/utils/apiResponse.ts
  openmetadata-ui/src/main/resources/ui/playwright/utils/common.ts
  openmetadata-ui/src/main/resources/ui/playwright/utils/customProperty.ts
  openmetadata-ui/src/main/resources/ui/playwright/utils/dragDrop.ts
  openmetadata-ui/src/main/resources/ui/playwright/utils/entity.ts
  … and 27 more

What is this file? It is the auto-generated half of Playwright's PR planner. It routes "if source X changes, run specs Y" by walking spec imports and cross-referencing getByTestId strings. Hand-authored routing in impact-map.json always wins on conflict.

What if I want to regenerate locally instead? Run this before pushing your next change to skip the bot commit:

python3 .github/scripts/generate_playwright_impact_map.py
git add .github/playwright/impact-map.generated.json
git commit --amend --no-edit  # or a separate commit

@gitar-bot

gitar-bot Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 2 closed / 2 findings

🟡 Medium risk · Custom-property editor and persistence changes could alter asset metadata, including dropping empty table values from extension.

Fixes Custom Properties UI feedback from 2.1 release testing across classic settings, the AI settings panel, and the entity Custom Properties tab, including single fetch per entity type, permission-gated add/edit hash deep links, case-insensitive name checks, and Format validation for date/time properties. Both resolved findings were addressed by recording the case-insensitive name rule and the hash-link permission gating in decision records. No open issues remain.

✅ 2 closed
✅ Quality: Case-insensitive property name uniqueness has no decision record

📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/custom-properties/CustomPropertyFormFields.tsx:163-169 📄 openmetadata-ui/src/main/resources/ui/src/components/Settings/CustomProperty/AddCustomProperty/AddCustomProperty.tsx:95-98 📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/custom-properties/CustomPropertiesAddPage.tsx:51-54
The PR adds a rule that a new custom property name is rejected when it matches an existing name ignoring case (CustomPropertyFormFields.tsx validate, wired from AddCustomProperty and CustomPropertiesAddPage). The description says this is "enforced in the UI only" and that "TypeRepository still compares names case-sensitively", so the UI and the backend now follow different naming rules. Nothing in docs/decisions/ states this rule, and the repo squash-merges, so the explanation will be lost. Add a record that says something like: "Custom property names must be unique per entity type ignoring case; the UI enforces this, and the backend (TypeRepository) compares case-sensitively until it is aligned."

✅ Quality: Hash deep links skipping the permission check have no record

📄 openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/custom-properties/CustomPropertiesPanel.tsx:111-125
CustomPropertiesPanel now builds the view from the hash, so #custom-properties/<type>/add-property and /edit-property/<name> open the add and edit forms directly. These links bypass the canCreate/canEditAll gating that controls the buttons in CustomPropertiesDetailPage. The description says this is deliberate: the deep links "skip the Create/EditAll permission check, and the server still enforces it with a 403 toast". That ordering and authorization rule exists nowhere in the tree. Add a record that says something like: "Custom-property add/edit hash links open the form without a client-side permission check; authorization is enforced only by the server, which returns 403." Alternatively, gate the add and edit subViews on the fetched permission.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

⚠️ UI Checkstyle passed — lint findings in changed files

🔍 ESLint findings in this PR's files — 0 error(s), 2 warning(s)

Errors block the build. Warnings do not yet — they are rules whose backlog is still
being worked down, listed so this PR does not add to it. See docs/ui-code-quality-gate.md.

0 error(s), 2 warning(s) across 1 changed file(s).

Count Rule
2 react-hooks/exhaustive-deps
All findings
Location Rule Message
🟡 src/pages/CustomPropertiesPageV1/CustomPropertiesPageV1.tsx:225:6 react-hooks/exhaustive-deps React Hook useEffect has missing dependencies: 'fetchTypeDetail' and 'tab'. Either include them or remove the dependency array.
🟡 src/pages/CustomPropertiesPageV1/CustomPropertiesPageV1.tsx:266:6 react-hooks/exhaustive-deps React Hook useMemo has missing dependencies: 'selectedEntityTypeDetail' and 't'. Either include them or remove the dependency array.

Fix locally (fast - only checks files changed in this branch):

make ui-checkstyle-changed

@sonarqubecloud

sonarqubecloud Bot commented Nov 3, 2026

Copy link
Copy Markdown

@karanh37
karanh37 enabled auto-merge November 3, 2026 07:38
@karanh37
karanh37 disabled auto-merge November 3, 2026 07:38
@karanh37
karanh37 added this pull request to the merge queue Nov 3, 2026
@anuj-kumary
anuj-kumary merged commit 74162b5 into main Nov 3, 2026
71 of 72 checks passed
@anuj-kumary
anuj-kumary deleted the karanh37/custom-properties-ui-feedback-address branch November 3, 2026 16:59
anuj-kumary added a commit that referenced this pull request Nov 4, 2026
…ation tests with the current UI (#37008)

The delete confirmation names a custom property by its display name since
#36808, and the edit step upper-cases that display name, so match the name
case-insensitively. The AI-mode Navigation card opens the AI sidebar editor
since #36862, so the unsaved-changes tests toggle ai-sidebar-switch-explore.
chirag-madlani added a commit that referenced this pull request Nov 6, 2026
Main (#36808) labels the type "SQL Query" and names the property in the
delete confirmation by its display name inside a warning sentence.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
chirag-madlani added a commit that referenced this pull request Nov 23, 2026
…arch specs to browser tests; run only affected browser tests (#36198)

* test(ui): add Vitest browser-mode UI integration tests and migrate Pagination.spec.ts

* test(ui): unmount before resetting MSW handlers; keep coverage on failure

vitest-browser-react unmounts in the next test's beforeEach, so the global
afterEach reset handlers and the URL under a still-mounted page, which then
refetched and got wrong-shaped responses (unhandled paging/permission errors).
Also write lcov when a test fails so one flake can't drop Sonar coverage.

* ci(ui): POC workflow for Vitest browser tests with coverage comment and stability runs

Runs the browser suite with istanbul coverage and posts a Jest-style coverage
and JUnit comment, plus five shuffled no-retry runs whose failures are
summarized in a second comment. Drops the duplicate patch file.

* test(ui): mock approval-workflow endpoints main added; keep CI timings on failure

main now calls /metadata/types/workflows/approvalEnforcedEntityTypes and
/changeRequests from entity pages, which the strict unmocked-API check caught.
The workflow now records wall time and uploads screenshots even when tests fail.

* test(ui): entity-page harness for browser tests and the migratedTo marker

Adds a Data Steward persona built from the seeded policies (server-accurate
ViewAll/EditAll expansion and notAllow), an entity server that applies the
page's JSON patches, a search fixture keyed by index alias, and the first
migrated flow: owners add/replace/clear on the table page. Drops the
AntDConfigProvider main removed. migratedTo.browser/javaIT tags Playwright
tests whose coverage moved, with the replacement in an annotation.

* test(ui): migrate EntityDataSteward table tests to browser mode

* test(ui): run the EntityDataSteward browser tests for all 15 entity types

* test(playwright): mark EntityDataSteward tests migrated to browser mode

* test(ui): split EntityDataSteward browser tests into one file per entity type

Vitest runs a file in one worker, so the 195 cases ran serially (6m18s
locally). The flows now live in entityDataSteward.contract.tsx and each
entity type has a thin file, so workers run types in parallel (4m25s on
3 workers). The Playwright marker points at the new files.

* test(ui): mark Playwright tests covered by Java ITs with migratedTo.javaIT

* test(ui): drop AntDConfigProvider from the browser-test harness

main removed it with the antd Form/Select/Input migration (#35509); the app
no longer mounts it.

* test(ui): speed up browser tests: short steward schema, shared page per worker

The Data Steward flows edit only the first column, yet the Table page
rendered 50 of 120 columns on every re-render (~2x per test). Serving 15
columns and reusing each worker's page across files (isolate: false, so the
app loads once per worker instead of once per file) takes the entity matrix
from 4m25s to 2m01s locally; the whole suite passes shuffled with it.

* test(ui): migrate EntityDataConsumer flows to browser tests

Shares the entity configs and steps with the Data Steward contract
(entityMatrix.ts) and adds a DATA_CONSUMER persona whose noOwner()/isOwner()
rules are evaluated against the entity's owners, as the server does.

* test(playwright): mark EntityDataConsumer tests migrated to browser tests

* fix(ui): cancel Searchbar's pending debounced search on unmount

Closing a picker within typingInterval of typing still fired the search for
a list that was gone (a wasted request and a state update after unmount).
The browser tests surfaced it as a stray /search/query in the next test.

* test(ui): name the index and query of an unmocked API call

A stray search is then traceable to the picker that sent it.

* fix(ui): cancel Searchbar's pending search on unmount only

The previous cleanup also ran whenever the debounce was recreated, i.e.
whenever the parent passed a new onSearch, so a search typed during such a
re-render was silently dropped (pagination search tests caught it on CI).
Keep the latest debounce in a ref and cancel it from an unmount-only effect.

* test(ui): give the instrumented coverage run a 30 s test timeout

Istanbul slows every test; SchemaTable's Next/Previous test passed in all
five uninstrumented runs but crossed 15 s under coverage. The strict 15 s
limit stays for test:ui:run, which the stability runs use.

* ci(ui): cache Playwright Chromium and skip its apt deps in browser-test setup

A stability run timed out at 30 min after its runner spent ~10 min on
playwright install --with-deps fetching fonts from a slow apt mirror. The
runner image already has headless Chromium's libraries; cache the browser
per Playwright version.

* test(ui): migrate ServiceEntity flows to browser tests

* test(playwright): mark ServiceEntity tests migrated to browser tests and Java ITs

* test(ui): retry announcement card actions closed by a late refetch

* ci(ui): shard the browser-test coverage and stability runs across 3 runners

One runner took ~10 min for the 510-test suite. Coverage shards write blob
reports that a report job merges (vitest --merge-reports --coverage) into the
single summary and JUnit file the PR comment uses; each shuffled stability
run is split the same way and the report sums its shards.

* ci(ui): install the ANTLR CLI from a cached pinned jar in browser-test setup

make install_antlr_cli tries apt first, which took 9-10 min on several
runners (each shard paid it). Use the Makefile's pinned 4.9.2 jar and
checksum, cached, and put it on PATH.

* test(ui): migrate Entity header, announcement and delete flows to browser tests

* test(ui): allow 30 s per browser test for a page's cold first load

TableVersionColumns failed once in 15 shuffled shard runs: its page took
over 15 s to render on its first load in that worker (isolate:false loads
a page's module graph once per worker). Coverage runs get 45 s.

* test(ui): confirm each tag and data-product pick before saving

A picker re-renders its options when its search lands. pickTag waited for
any earlier query with the same term, so a repeat toggle could click while
this search re-rendered the tree, and the page saved without the tag
(ServiceEntity.PipelineService tags). The data product picker never waited
for its search, so a removal click could be lost the same way
(EntityAdmin.Worksheet domain flow).

Each pick now waits for the search sent after its own keystrokes, then
clicks the option until the DOM shows the wanted state (tree data-selected,
menu aria-checked) before Update; the data product save also waits for its
PATCH.

Also shares the tag/glossary pickers, a column read and search endpoint on
the column fixture, data model columns backed by the entity (row PUTs and
panel PATCHes reach the same columns), and a second child per fixture, for
the column panel tests.

* test(ui): migrate Entity column detail panel and child-table flows to browser tests

* test(ui): migrate Entity Table tab flows to browser tests

* test(playwright): mark Entity tests migrated to browser tests and Java ITs

* test(ui): wait for the team owner search so it cannot land in the next test

The team picker's debounced search could fire after the owner flow ended
and reach the next test in the same worker as an unmocked call
("GET /search/query?index=team&q=PW Team 2" failing PipelineTasks and
SchemaTable under --sequence.shuffle). Wait for it like the user picker.

* test(ui): wait for the glossary picker's search and pick tags and terms by intent

The glossary picker read a term's selected state before its own search had
re-rendered the tree, so on a slow (coverage) run it could 'confirm' a state
that was already true and save nothing: PW_Term_1 stayed after its removal.
Wait until the search has filtered the tree, and let the add/update/remove
helpers pass the wanted state instead of inferring it from the DOM. The tag
picker's search wait gets a 10 s ceiling instead of expect.poll's 1 s.

* test(ui): re-click a picker trigger until the picker opens

A column panel re-rendering under the click dropped it, so the glossary
picker never opened (EntityColumnPanel.Pipeline, once in 15 shard runs).
Click until the picker's search box shows, as the Playwright helpers do.
The owner search wait gets the same 10 s ceiling as the others.

* ci(ui): retry yarn install in browser-test setup

A shard failed before running a test because the registry answered 502.

* test(ui): open the description editor through openPicker; give re-clicks a grace period

The DashboardDataModel column panel's description editor never opened once
on CI: the click was lost to a re-render. saveDescription now takes the
trigger and clicks it until the editor shows. openPicker waits 3 s before
re-clicking, so a picker that is merely slow to open is not closed again,
and polls the DOM instead of catching a failed expect.element (a caught
browser assertion still fails the test).

* test(ui): give expect.poll and expect.element a 10 s default in browser tests

A StorageService tag test failed once in 15 shard runs 2.5 s in: the
1 s default poll checked the server before the page's tag PATCH landed on a
busy runner. A condition that never comes true still fails.

* test(ui): migrate CustomProperties flows to browser tests

* test(playwright): mark CustomProperties tests migrated to browser tests

* test(ui): migrate AdvancedSearch query builder flows to browser tests

* test(playwright): mark AdvancedSearch tests migrated to browser tests

* test(ui): let a newly added advanced search rule settle before filling it

Under a shuffled run the second group's rule sometimes kept the default
Owners field while its select showed the picked one. Wait for the new rule
to show its default field, and refill a rule whose field reverted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(ui): fix browser test races seen under coverage

Count Explore searches from before the quick filter pick, render Explore
once per custom property search test, and give a cold first load of the
settings and Explore pages 90 s under istanbul.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci(ui): run the browser suite on 5 shards, 3 shuffled stability runs

The suite grew to ~1,060 tests with CustomProperties and AdvancedSearch;
three shards ran past 10 minutes each. Five shards keep each job short,
and three shuffled runs (15 jobs) keep the total near 20 jobs per push.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(playwright): mark specs covered by the new Java ITs

Search RBAC (asset, column, explore and type counts), API collection
owner inheritance, rename consolidation for data products, tags and
glossary terms, approve/reject after a glossary term move, task
resolution on every entity type and the 16-type custom property
contract now carry migratedTo.javaIT markers.

Delete tests split to BaseEntityIT#delete_async_soft_delete, which
exercises the async endpoint the UI calls, then restores; Database
gains a marker and Database Schema switches to it. Table and Database
Service stay the real-server delete flows.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(ui): show the held field when a query builder Field box is left unpicked

Typing a field name filters the selected field out of the Field combobox.
Left without a pick (blur or Escape), React Aria commits the selection it
can no longer find as null, and OMFieldSelect ignored null, so the box kept
the typed text: it showed "Name" while the rule still filtered on Owners and
the search went out on Owners. A browser test that misses the option click
under load hit exactly this (the advanced search "two conditions as a group"
flake). Reset the box to the selected field's label on that commit.

The browser helpers now leave the box after picking, so it shows what the
rule holds rather than the typed filter, and pick again if a click missed.
That replaces the earlier settle-wait and fillRule retry, whose premise (a
new rule resetting its field) did not hold up: instrumented runs showed the
pick never reached the rule.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(ui): scale suite-level time limits under coverage

A describe-level { timeout } overrides the CLI --testTimeout, so the 45 s
coverage limit never reached suites that set their own (60-150 s), while
istanbul made their cold first page load several times slower:
CustomPropertyCards' first test took 63 s on a coverage shard (5-8 s
uninstrumented). suiteTimeout(ms) doubles those limits under --coverage.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(ui-core): keep a staged TreeSelect pick across an equal value

An entity refetch rebuilds the tags array the glossary and tag pickers
receive; TreeSelect resynced on value identity and discarded the staged
draft, so Apply saved nothing. Resync on the selected ids instead.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci(ui): drop the browser-test stability runs

The shuffled no-retry runs showed the suite stable; the workflow now runs
the browser tests once, with coverage, on UI and core-component changes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci(ui): drop the browser-test stability runs

The shuffled no-retry runs showed the suite stable; the workflow now runs
the sharded browser tests once, with merged coverage, on UI and
core-component changes (and on changes to its setup action).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(playwright): keep migrated pagination tests, marked @migrated-browser

The 35 Pagination E2E tests covered by browser tests keep running, tagged
with their replacement, until the browser tests are validated and
PaginationIT walks cursors for every listed entity type. Records the
layering rule as a decision.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci(ui): keep browser-test failure handling when the comment cannot post

Skips the coverage comment on fork PRs and lets it fail without failing
the job; formats three browser-test files.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(ui): reset browser-test state even when a request never settles

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* style(ui): organise imports and format migrated specs and browser tests

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci(ui): run only the browser tests a pull request affects

The full run on main records which source files each browser test file
executes (coverage counters, src/test/browser/impact.ts) and keeps the map
in the Actions cache. A pull request selects the test files that executed
its changed code, plus the tests reaching changed helpers, direct imports
of executed files, and changed en-us.json keys. A missing map, or a change
to test setup, configs, dependencies or core components, runs everything.

The static import graph cannot do this alone: lazy imports tie ~1,000
modules into one cycle (openmetadata-collate#7947).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci(ui): record the impact map on every full browser-test run

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci(ui): keep each shard's impact records when merging the map

Shards name their record file after the process id, which repeats across
runners; merged into one folder they overwrote each other (104 of 130 test
files mapped).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(ui): drop an internal ticket reference from the browser-test selection notes

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(ui): re-click the column panel's Data Quality tab if a re-render drops it

CI screenshot showed the panel still on Overview after the click.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(ui): scale every cold-load wait for coverage runs

A coverage run roughly doubles a cold page load, but fixed 60-90 s element
and test limits did not scale with it; the impact-analysis test timed out
with the lineage tab still loading. scaled(ms) applies the same factor as
suiteTimeout.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(agents): say which UI test layer a check belongs in

A path-scoped rule for browser tests and Playwright specs: pick the layer
(Jest, browser test, Java IT, Playwright journey), write a browser test
with the shared fixtures, and tag a moved Playwright test instead of
deleting it. The Playwright rule and test-enforcement skill point to it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci(ui): run the full browser suite in the merge queue; report changed-code coverage

The merge queue now runs every browser test file (when the queued change
touches the UI), so a selection miss cannot reach main, and its passing
run publishes the impact map as an artifact pull requests download (queue
caches are not readable from pull requests). Push-to-main runs go.

The PR comment reports what ran and why, the result, and how many of the
changed lines the tests that ran executed, instead of an overall coverage
percentage that only reflects whichever tests were selected.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* chore(ui): ignore browser-test report outputs

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(ui): mock main's new app-shell calls; follow its standard page sizes

Main added GET /domains/styles and /ontologyConcepts/boundTo calls to
every entity page, and moved list pages to 15/25/50 (#35288); the
browser tests now answer both calls and read PAGE_SIZE_BASE.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(ui): import PAGE_SIZE_BASE in the pagination contract

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* style(ui): format two browser tests' imports

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* style(ui): format two tagged Playwright specs

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(ui): let renderApp take a distribution's router and providers

Collate mounts its own router (Collate routes, then AuthenticatedAppRouter)
and adds a provider; with these options its renderApp reuses the same
provider stack instead of repeating it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(ui): match the Explore panel's renamed Custom properties tab

Main renamed the right panel tab from "Custom property" to "Custom
properties"; the custom-property value tests clicked the old name.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* chore(playwright): auto-refresh impact-map.generated.json

* test(ui): follow main's custom-property settings changes

Main (#36808) labels the type "SQL Query" and names the property in the
delete confirmation by its display name inside a warning sentence.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* chore(playwright): auto-refresh impact-map.generated.json

* ci(ui): run browser tests on ubuntu-24.04 with read-only permissions

ubuntu-latest moved to 26.04, which Playwright 1.57 cannot install
Chromium on; main's Playwright workflows pin 24.04 too. Main's PR
workflow security check requires read-only permissions on pull-request
jobs, so the results go to the job summary instead of a PR comment.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci(ui): pull requests only restore browser-test caches; refresh the impact map

Main's CI check forbids cache saves from pull-request jobs; the setup
action restores Chromium and the ANTLR CLI and saves them only outside
pull requests.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* style(ui): format MetricSearch.spec.ts

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(ui): serve a topic's schema fields through the columns API

Main pages topic schema fields from /topics/name/{fqn}/columns and saves
field edits with PUT /columns/name/{fqn} (#37862); the topic page tests
now serve the fields that way, held inside the topic like a data model's
columns.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci(ui): treat core components as a library for browser-test selection

A core-components change no longer runs every browser test. It runs core's
own tests and build in a new core components job; until now no CI ran
core's Vitest suite at all. Six tag tests had rotted unnoticed: main made a
badge's tooltip trigger a non-focusable span (no nested buttons), and the
tests still expected a button.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(ui): pagination search checks the rows it shows; drop unused Sonar path

Search hits now come back in a different order from the list, and the
contract asserts the visible rows after search, Next and reload, so a page
that sends the right request but keeps showing old rows fails. Sonar never
receives browser coverage yet, so its lcov path is dropped. The agent rule
names only helpers that exist on this branch.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(agents): name the browser-test helpers this branch adds

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(ui): wait for network idle, not fixed sleeps, in the pagination contract

settle() slept 300 ms. The contract now waits until MSW has nothing in
flight and no new request for a short quiet window, which is what a
request count needs to be final; render waits poll for the row.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(ui): share the network-idle wait as src/test/browser/network.ts

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(ui): wait for network idle instead of fixed sleeps in setup and advanced search

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(ui): address review on the browser-test setup

- Data Models and Stored Procedures: their browser tests are pinned failing
  by a product bug (#38295), so their Playwright tests stay untagged;
  double fetch filed as #38296. Migration doc counts and rows updated.
- Decision record is Proposed until the team signs off.
- No Sonar claims (it does not read browser coverage yet); no unused JUnit.
- The workflow also runs on setup-action changes; the setup action caches
  Chromium and the ANTLR CLI.
- setup.ts resets the app-wide zustand stores between tests.
- networkIdle counts /api requests only and notes its quiet-window limit.
- Screenshot comparison runs on Linux only (its baseline's platform).
- Contract: two-page assumption checked, empty-record guard, isListPage
  shared, search mock scope documented; msw resolutions dropped.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Address review on browser-test migration and selection

- SearchBar: one debounced search per typingInterval reading the latest
  onSearch, so a rerender then unmount leaves no old timer running.
- TreeSelect: resync on the selected nodes' content (id, label, data), so a
  renamed selection updates while an equal rebuilt value keeps the draft.
- Selection: a changed screenshot baseline runs its test, global styles run
  everything, and a deleted source file still selects its tests.
- Workflow: manual runs always run in full; a run that selects nothing
  still updates the PR comment with why.
- Tests: no as-unknown-as casts (typed EntityLike children, generic column
  fixtures); setup.ts store reset and the Bots fixture now type-check.
- pickOption keeps its confirm-then-repick, documented as the one sanctioned
  re-attempt, and the rule now says when that is allowed.
- Decision record for the selection policy.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* style(ui): fix import formatting in entityMatrix.ts

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci(ui): run the full browser suite in the queue for core changes; fail when selection fails

A core-only pull request still runs core's own tests, but the merge queue
now runs every browser test for it, so a core change that breaks the app
cannot reach main. If test selection fails, the report check fails instead
of being skipped (a skipped required check passes).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants