Files
sencho/.gitignore
T
Anso 88ec71fcaa feat(ui): replace Switch with TogglePill per design audit (#687)
* chore: ignore local design-system references

Adds frontend/DESIGN.md and .design-bundle/ to .gitignore so the
design-system reference and the audit handoff bundle stay local
to each contributor's machine.

* feat(ui): replace Switch with TogglePill per design audit

Adds a mono-uppercase ON/OFF pill that replaces the sliding Switch
across every call site. The pill uses role="switch" plus aria-checked,
tints success-green when on and neutral card-tone when off, and holds
a stable 60px min-width so the label flip does not shift layout. It
reinforces the tracked-mono uppercase pattern already used for kicker
labels and table column headers, and echoes the UP/DN status language
of the sidebar stack list.

- Add TogglePill component (frontend/src/components/ui/toggle-pill.tsx)
- Replace 17 Switch call sites across 10 files (settings sections,
  SSO providers, scheduled operations, network topology, resources,
  stack auto-heal)
- Remove unused Switch wrapper and radix primitive
- Drop the @radix-ui/react-switch dependency
2026-04-18 22:15:22 -04:00

70 lines
896 B
Plaintext

# Dependencies
node_modules/
# Environment Variables (CRITICAL: Never commit secrets)
.env
.env.*
!.env.example
# Build Outputs
dist/
*.tsbuildinfo
# Sencho User Data & Mocks
data/
mock_data/
docker/
sencho.json
# OS Generated Files
.DS_Store
Thumbs.db
Desktop.ini
ehthumbs.db
# IDE / Editors
.vscode/
.idea/
*.swp
*.swo
*~
*.sublime-project
*.sublime-workspace
# Testing
test-results/
e2e/report/
html-report/
.coverage/
coverage/
# Logs
*.log
npm-debug.log*
# Claude Code
.claude/
plans/
CLAUDE.md
MANUAL_STEPS.md
docs/superpowers/
.worktrees/
# Design system (local-only; authoritative reference for agents + user)
frontend/DESIGN.md
.design-bundle/
# Playwright MCP
.playwright-mcp/
# Frontend build output (served by backend)
backend/public/
# Auto-generated files
backend/cookies.txt
backend/src/generated/version.ts
# Local-only projects (separate repos)
demo-video/
website/