Skip to content

Conversation

@odaneau-astro
Copy link
Contributor

This PR implements a UI playground similar to Chakra UI to display all UI components in a single page.
This page will help review UI styling and formatting and measure WCAG accessibility scores.
In the future, the page could also be used to help users configure custom themes and color palettes.
In local development, it can be accessed at http://localhost:28080/playground.

Components added:

  • Playground.tsx - Main playground page
  • ColorPaletteSection.tsx - Color palette matrix display
  • ButtonsCodeSection.tsx - Button variations and code examples
  • FormsInputsSection.tsx - Form controls and input examples
  • ProgressTaskStatesSection.tsx - Progress bars and task states
  • ChartsGanttSection.tsx - Chart.js integration with proper theming
  • GraphSection.tsx - ReactFlow graph visualization
  • BadgesAvatarsSection.tsx - Badge and avatar components
  • ModalDialog.tsx - Modal and dialog examples
  • TableOfContents.tsx - Navigation with expand/collapse controls
  • forms/ - Individual form component examples
playground-preview

@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Sep 17, 2025
- Implement comprehensive UI playground showcasing Chakra UI v3 components
- Add sections for color palette, buttons, forms, progress indicators, charts, and graphs
- Update to Chakra UI v3 API patterns and best practices
- Fix all linting and formatting issues
- Add proper accessibility features and semantic HTML
- Implement collapsible sections with consistent styling
- Add task instance states visualization with progress bars
- Include ReactFlow graph components matching DAGs view
- Add comprehensive color matrix display similar to Tailwind CSS
- Remove all custom margins/padding for consistent design
- Add proper TypeScript types and error handling
- Ensure full ESLint and Prettier compliance

Components added:
- Playground.tsx - Main playground page with state management
- ColorPaletteSection.tsx - Color palette matrix display
- ButtonsCodeSection.tsx - Button variations and code examples
- FormsInputsSection.tsx - Form controls and input examples
- ProgressTaskStatesSection.tsx - Progress bars and task states
- ChartsGanttSection.tsx - Chart.js integration with proper theming
- GraphSection.tsx - ReactFlow graph visualization
- BadgesAvatarsSection.tsx - Badge and avatar components
- ModalDialog.tsx - Modal and dialog examples
- TableOfContents.tsx - Navigation with expand/collapse controls
- forms/ - Individual form component examples

Fixes:
- All ESLint errors resolved with proper disable comments where needed
- Prettier formatting applied consistently
- TypeScript compilation errors resolved
- Chakra UI v3 API migration completed
- Accessibility improvements implemented

# Conflicts:
#	airflow-core/src/airflow/ui/src/theme.ts
@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale Stale PRs per the .github/workflows/stale.yml policy file label Dec 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers. stale Stale PRs per the .github/workflows/stale.yml policy file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant