Repository navigation
fix(ui): dark-mode Workflows cards and Marketplace sections - #33960
shah-harshit wants to merge 4 commits into
Conversation
Workflow cards get the AI Automations template-card hover (brand-300 border, shadow-lg, 2px lift, 160ms) plus shadow-xs at rest. In dark the grid container and pagination footer drop bg-primary so the page background shows through instead of a darker panel. Light unchanged.
Disabled antd buttons and pagination used the legacy 25%-black colour, which vanished on the dark page. Retint to --om-color-text-disabled under .dark-mode (same rules as #33905, so the two merge cleanly).
The New Data Products / New Domains sections were bg-primary, a darker frame around bg-surface item cards. Use the surface token so section and cards share one colour; light stays white.
|
| Count | Rule |
|---|---|
| 1 | openmetadata-ui-patterns/no-non-adaptive-palette |
| 1 | react-hooks/exhaustive-deps |
All findings
| Location | Rule | Message | |
|---|---|---|---|
| 🟡 | src/components/WorkflowDefinitions/WorkflowCard/WorkflowCard.component.tsx:45:9 |
openmetadata-ui-patterns/no-non-adaptive-palette |
Raw palette class "tw:hover:border-brand-300" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:border-utility-brand-300) |
| 🟡 | src/pages/WorkflowDefinitions/WorkflowsPage/WorkflowsPage.tsx:148:6 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 'navigate'. Either include it or remove the dependency array. |
Fix locally (fast - only checks files changed in this branch):
make ui-checkstyle-changedData product and domain cards move to bg-secondary in dark, the Explore entity-card tone, so they sit a step below the bg-surface sections.
Code Review ✅ Approved🟢 Low risk · Dark-mode styling updates adjust workflow and marketplace card appearance and disabled text. Dark-mode polish for Workflows and Data Marketplace pages: workflow cards now match entity card styling with hover effects ( OptionsDisplay: compact → Counting what did not apply, without listing it. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|
✅ Playwright Results — workflow succeededValidated commit ✅ 4578 passed · ❌ 0 failed · 🟡 8 flaky · ⏭️ 1 skipped · 🧰 0 lifecycle flaky PerformanceBlocking targets: ✅ met · Optimization targets: 🟡 in progress Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting. 🕒 Full workflow signal wall (to summary) 1h 6m 14s ⏱️ Max setup 5m 11s · max shard execution 23m 17s · max shard-job elapsed before upload 26m 17s · reporting 26s 🌐 128.40 requests/attempt · 2.24 app boots/UI scenario · 41.09% common-shard skew Optimization targets still in progress:
🟡 8 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |



Describe your changes:
Dark-mode polish for the AI-mode Workflows page (
/workflows) and the Data Marketplace overview (/data-marketplace).shadow-xsat rest; on hover abrand-300(#84caff) border,shadow-lgand a 2px lift, 160ms ease. Both themes.bg-primary(#0c0e12), a darker panel on the page background (rgb(19,22,27)). Dark addstw:dark:bg-transparentso the page background shows through; borders kept. Light unchanged.--om-color-text-disabled(antd disabled buttons + pagination). Same rules as #33905, so whichever merges second applies cleanly.bg-primaryframingbg-surfaceitem cards;.marketplace-widget-sectionnow--om-color-bg-surface, so section and cards share one colour. Light: white, unchanged.MarketplaceItemCard) →tw:dark:bg-secondary, the Explore entity-card tone, a step below the sections.tw:hover:border-brand-300triggers theno-non-adaptive-palettelint warning on purpose: the template card uses the same fixed#84caffin both themes, andutility-brand-300would flip to a dark blue (#175cd3) in dark and no longer match.Type of change:
Testing
/workflows: hovered card shows the#84caffborder,shadow-lgandtranslate: 0 -2px; grid container and footer computetransparentover thergb(19,22,27)pagergb(123,127,134)in dark (werergba(0,0,0,0.25))/data-marketplacedark: sectionsrgb(34,38,47), item cardsrgb(19,22,27)jestWorkflowDefinitions (components + pages): 101 passedexhaustive-depswarning in WorkflowsPage is untouched)