Skip to content

Improve connector setup UI flow - #28569

Merged
aniketkatkar97 merged 101 commits into
mainfrom
harshach/connection-form-design
Jun 24, 2026
Merged

aniketkatkar97 merged 101 commits into
mainfrom
harshach/connection-form-design

Conversation

@harshach

@harshach harshach commented Jun 1, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #28910

This pull request introduces several enhancements and improvements across the OpenMetadata SDK, UI core components, and Playwright E2E tests. The most significant changes include improvements to the entity patching mechanism, the addition of a reusable password input component, UI component API enhancements, and Playwright test reliability improvements.

Backend improvements:

  • Added a normalizePatchNodes hook in EntityServiceBase to allow subclasses to normalize entity-specific response-only fields before computing diffs, improving patch accuracy. The UserService now uses this to handle the defaultPersona field. [1] [2] [3] [4] [5]
  • Updated schema descriptions in snowflakeConnection.json and testConnectionDefinition.json for clarity, and introduced a category field to test connection steps. [1] [2]

UI core component enhancements:

  • Added a new PasswordInput component supporting password visibility toggle and optional file upload for secrets/keys, with improved labeling and hints. [1] [2]
  • Enhanced the Input and InputBase components with new props: trailingSlot, inputDataTestId, hintClassName, and improved placeholder styling for consistency and extensibility. [1] [2] [3] [4] [5] [6] [7]
  • Added a new brandOutlined variant to card styles and ensured correct padding is applied based on card size. [1] [2]
  • Added a excludeFromTabOrder prop to ButtonProps for improved accessibility.
  • Added data-testid attributes to ToggleBase for more reliable UI testing.

Playwright E2E test improvements:

  • Added a mock for successful REST API service connection tests to increase test reliability and speed. [1] [2]
  • Commented out video and trace options in AutoPilot tests for OSS environments to avoid unnecessary artifacts.

These changes collectively improve backend patching flexibility, UI component usability and extensibility, and the reliability and maintainability of automated tests.


Summary by Gitar

  • Connector UI Redesign:
    • Refactored AddIngestion and ConnectionConfigForm to use ServiceFlowStepper and schema-driven primitives for a cohesive UI flow.
  • Form Framework:
    • Introduced ConnectionObjectFieldTemplate for structured layouts and AuthSelectField to handle multi-credential selection.
  • Testing Infrastructure:
    • Added ConnectionConfigLayout.spec.ts for E2E validation and ConnectionConfigForm.schema-render.test.tsx for unit-level form rendering.
  • Documentation & Context:
    • Upgraded ServiceDocPanel.tsx with focusedMode for context-aware requirements and enhanced markdown parsing.
  • Backend & Validation:
    • Implemented normalizePatchNodes in UserService to clean defaultPersona and revamped TestConnection status tracking.

This will update automatically on new commits.

@github-actions github-actions Bot added backend safe to test Add this label to run secure Github workflows on PRs labels Jun 1, 2026
@harshach
harshach marked this pull request as ready for review June 1, 2026 06:11
@harshach
harshach requested a review from a team as a code owner June 1, 2026 06:11
Copilot AI review requested due to automatic review settings June 1, 2026 06:11

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.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

chirag-madlani
chirag-madlani previously approved these changes Jun 22, 2026
className
)}
data-testid="stepper-container">
{steps.map((item, index) => {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I have added progressStepper in component

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Contributor

🟡 Playwright Results — all passed (12 flaky)

✅ 4347 passed · ❌ 0 failed · 🟡 12 flaky · ⏭️ 88 skipped

Shard Passed Failed Flaky Skipped
🟡 Shard 1 319 0 1 4
🟡 Shard 2 817 0 1 9
🟡 Shard 3 816 0 2 8
🟡 Shard 4 868 0 3 12
🟡 Shard 5 736 0 1 47
🟡 Shard 6 791 0 4 8
🟡 12 flaky test(s) (passed on retry)
  • Features/DomainIsolation/DomainListingIsolation.spec.ts › admin sees both tenants on the domains listing page (shard 1, 2 retries)
  • Features/BulkImportWithDotInName.spec.ts › Column with dot in name under service with dot (shard 2, 1 retry)
  • Features/Tasks/DomainFiltering.spec.ts › selecting All Domains removes domain filter from feed API call (shard 3, 1 retry)
  • Features/UserProfileOnlineStatus.spec.ts › Should show "Active recently" for users active within last hour (shard 3, 1 retry)
  • Pages/DataProductAndSubdomains.spec.ts › Search data products by name (shard 4, 1 retry)
  • Pages/DomainAdvanced.spec.ts › bulk remove with linked data product shows preview and commits on Remove Anyway (shard 4, 1 retry)
  • Pages/Entity.spec.ts › DisplayName Add, Update and Remove for child entities (shard 4, 1 retry)
  • Pages/EntityDataSteward.spec.ts › Tier Add, Update and Remove (shard 5, 1 retry)
  • Pages/Glossary.spec.ts › Column dropdown drag-and-drop functionality for Glossary Terms table (shard 6, 1 retry)
  • Pages/Lineage/LineageFilters.spec.ts › Verify lineage schema filter selection (shard 6, 1 retry)
  • Pages/Lineage/LineageRightPanel.spec.ts › Verify custom properties tab IS visible for supported type: searchIndex (shard 6, 1 retry)
  • Pages/Lineage/PlatformLineage.spec.ts › Verify domain platform view (shard 6, 1 retry)

📦 Download artifacts

How to debug locally
# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip    # view trace

This branch was previously deployed

1 inactive deployment
test — f5182a57 Deployed Jun 23, 2026 by aniketkatkar97 via playwright-ci-postgresql (3, 6) #52555
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Revamp service and agents form

7 participants