Commit Graph

2 Commits

  • refactor(types): rename AppType to AppId for semantic clarity
    Rename `AppType` to `AppId` across the entire frontend codebase to better
    reflect its purpose as an application identifier rather than a type category.
    This aligns frontend naming with backend command parameter conventions.
    
    Changes:
    - Rename type `AppType` to `AppId` in src/lib/api/types.ts
    - Remove `AppType` export from src/lib/api/index.ts
    - Update all component props from `appType` to `appId` (43 files)
    - Update all variable names from `appType` to `appId`
    - Synchronize documentation (CHANGELOG, refactoring plans)
    - Update test files and MSW mocks
    
    BREAKING CHANGE: `AppType` type is no longer exported. Use `AppId` instead.
    All component props have been renamed from `appType` to `appId`.
  • docs: add comprehensive refactoring documentation
    Add three key documents to guide the project restructure:
    - REFACTORING_MASTER_PLAN.md: Complete refactoring roadmap with 6 stages
    - REFACTORING_CHECKLIST.md: Detailed task checklist for tracking progress
    - REFACTORING_REFERENCE.md: Technical reference and implementation guide
    
    This refactoring aims to modernize the codebase with React Query,
    react-hook-form, zod validation, and shadcn/ui components while
    maintaining the current Tailwind CSS 4.x stack.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>