Skip to content

Modernize frontend: design tokens, unified tables, UX polish#368

Merged
Edwardvaneechoud merged 8 commits intomainfrom
claude/modernize-frontend-components-HuTbx
Mar 29, 2026
Merged

Modernize frontend: design tokens, unified tables, UX polish#368
Edwardvaneechoud merged 8 commits intomainfrom
claude/modernize-frontend-components-HuTbx

Conversation

@Edwardvaneechoud
Copy link
Copy Markdown
Owner

Summary

  • Replace 30+ hardcoded hex colors with CSS design tokens (--color-success, --color-danger, --color-warning, etc.) across 7 components for theme consistency and dark mode readiness
  • Unify catalog tables by applying the existing .styled-table class to RunDetailPanel, FlowDetailPanel, and TableDetailPanel — removing ~30 lines of duplicated CSS
  • Add shared CSS utilities (_status-badges.css, _detail-panels.css) for consistent status badges, meta grids, and detail panel layouts across all views
  • Enhance empty states with title/subtitle pattern for better user guidance (FlowDetailPanel, SecretsView)
  • Add page fade transition (0.15s) on route changes via AppLayout for smoother navigation

Files changed (13)

Area Files Change
Design tokens CatalogTreeNode, ArtifactDetailPanel, RunDetailPanel, FlowDetailPanel, KernelCard, Header/run Replace hardcoded #hex with var(--color-*)
Table unification RunDetailPanel, FlowDetailPanel, TableDetailPanel Add .styled-table class, remove duplicate base styles
New shared CSS _status-badges.css, _detail-panels.css Reusable status badge + detail panel utilities
Empty states FlowDetailPanel, SecretsView, _cards.css Add empty-state__title/__subtitle classes
Transitions AppLayout, main.css Page fade transition on route changes

Test plan

  • Navigate to Catalog views — verify tables render with consistent styling (borders, hover, sticky headers)
  • Check status badges in RunDetailPanel, FlowDetailPanel, ArtifactDetailPanel — colors should match
  • Verify CatalogTreeNode icons use correct semantic colors (green for success, red for failure, amber for warnings)
  • Check KernelCard memory bars render correctly with token colors
  • Visit SecretsView with no secrets — verify improved empty state messaging
  • Visit FlowDetailPanel with no runs — verify improved empty state with guidance text
  • Navigate between pages — confirm subtle fade transition
  • Run npx vite build --mode web — confirm clean build

https://claude.ai/code/session_012RoLapoVECWQxbxLviCruw

…ance UX

- Replace 30+ hardcoded hex colors (#22c55e, #ef4444, #f59e0b, etc.) with
  CSS design tokens (--color-success, --color-danger, --color-warning) across
  CatalogTreeNode, ArtifactDetailPanel, RunDetailPanel, FlowDetailPanel,
  KernelCard, and Header/run components for theme consistency and dark mode
- Apply existing .styled-table class to catalog detail panel tables
  (RunDetailPanel, FlowDetailPanel, TableDetailPanel) and remove duplicated
  table base styles, reducing CSS by ~30 lines
- Add shared _status-badges.css with unified status badge and text color
  utilities for consistent status indicators across all views
- Add shared _detail-panels.css with reusable meta-grid, back-button, and
  section layout styles for detail panel views
- Enhance empty states with title/subtitle pattern in FlowDetailPanel and
  SecretsView for better user guidance
- Add subtle page fade transition (0.15s) on route changes via AppLayout
- Add empty-state__title and empty-state__subtitle utility classes to _cards.css

https://claude.ai/code/session_012RoLapoVECWQxbxLviCruw
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 24, 2026

Deploy Preview for flowfile-wasm canceled.

Name Link
🔨 Latest commit 5b0ae41
🔍 Latest deploy log https://app.netlify.com/projects/flowfile-wasm/deploys/69c8f5273fbbf1000809e541

claude and others added 7 commits March 24, 2026 20:42
… RunHistoryTable

Resolves merge conflicts in ArtifactDetailPanel, FlowDetailPanel, and
RunDetailPanel. Keeps main's RunHistoryTable component and scheduling
features while preserving our design token replacements (CSS variables
instead of hardcoded hex colors) and styled-table class additions.

https://claude.ai/code/session_012RoLapoVECWQxbxLviCruw
… div

DesignerView had 3 root-level conditional siblings (v-if, v-if, v-else-if/v-else)
making it a fragment. Vue's <Transition> in AppLayout requires a single root
element to animate. Wrapping in <div class="designer-view"> resolves the warning.

https://claude.ai/code/session_012RoLapoVECWQxbxLviCruw
@Edwardvaneechoud Edwardvaneechoud merged commit 5d7b6fe into main Mar 29, 2026
18 checks passed
@Edwardvaneechoud Edwardvaneechoud deleted the claude/modernize-frontend-components-HuTbx branch March 29, 2026 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants