- Replace 15+ hard-coded color utilities with semantic tokens (text-danger, bg-success-dim, bg-warning-dim, bg-info-dim, etc.) - Fix progress bar track/fill color collision (bg-accent → bg-muted track) - Fix plan badge contrast: bg-accent text-muted-foreground → bg-accent-dim text-accent-text (WCAG AA violation) - Add aria-label to role-change select, remove member button, resend invite button - Add p-1 padding to icon-only buttons for minimum touch targets - Replace inline inviteError/inviteSuccess state with toast.success/error - Add toast feedback to handleSaveName and handleRemoveMember (were silent) - Fix transition-all → transition-colors on all 7 nav link cards - Fix hover:border-border (no-op) → hover:border-border-hover on nav cards - Consolidate 5 separate isAccountOwner nav card blocks under Team Settings section label for visual hierarchy - Remove duplicate embedded BrandingSettings component (Branding nav card exists) - Fix "tree categories" → "flow categories" (user-facing terminology) - Fix Target Lists description (remove reference to hidden maintenance flows) - Fix UsageStat label "Trees" → "Flows" - Remove orphaned BrandingSettings import and unused user store selector - Fix duplicate text-xs class in SSO Enterprise badge - Remove internal (Task 11) comment noise Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
React + TypeScript + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel (or oxc when used in rolldown-vite) for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Remove tseslint.configs.recommended and replace with this
tseslint.configs.recommendedTypeChecked,
// Alternatively, use this for stricter rules
tseslint.configs.strictTypeChecked,
// Optionally, add this for stylistic rules
tseslint.configs.stylisticTypeChecked,
// Other configs...
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])
You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:
// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Enable lint rules for React
reactX.configs['recommended-typescript'],
// Enable lint rules for React DOM
reactDom.configs.recommended,
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])