How yyeonseoo/cspot works
This is a club scheduling and performance-management portal. Members log in and use a role-aware app shell to view calendars, respond to practice surveys, and manage their personal information; administrators also manage performances, songs, users, notices, and archives. The domain model and schedule helpers support those workflows, with browser-local data and a remote data route available. The README is empty, so capability coverage and connections rely on the source index and sampled files; unsampled implementations are represented only where the index identifies them.
Main entry points: app-shell.tsx App shell · page.tsx Portal page · schedule.ts Schedule rules · local-data.ts Local data store
Components 28
Portal entry
- Portal page
app/page.tsx - Login screen
components/login-screen.tsx - App shell
components/app-shell.tsx
Scheduling
- Calendar
components/calendar-panel.tsx - Availability surveys
components/survey-panel.tsx - Practice planning
components/song-management-panel.tsx - Availability grid
components/slot-grid.tsx
Performances
- Performance manager
components/performance-manager.tsx - Performance view
components/performance-view.tsx - Practice overview
components/practice-overview.tsx - Setlist ordering
components/setlist-order.tsx - Performance archive
components/archive-panel.tsx - Archive import
components/archive-import.tsx
Club management
- Song editor
components/leader-song-editor.tsx - User management
components/users-panel.tsx - Notices
components/notice-panel.tsx - Member page
components/my-page-panel.tsx
Data and domain
- Club domain data
types/domain.ts - Schedule rules
lib/schedule.ts - Local data store
lib/local-data.ts - Remote data access
lib/remote-data.ts - Data API route
app/api/data/route.ts - Session storage
lib/session.ts - Role permissions
lib/permissions.ts - Theme settings
lib/theme.ts - Shared display items
components/items.tsx - Shared UI controls
components/ui.tsx
Other components
- Club member
Connections 40
- Club member → Portal page: opens
app/page.tsx - Portal page → Login screen: shows
app/page.tsx - Portal page → App shell: renders
app/page.tsx - Portal page → Local data store: loads data
app/page.tsx - Portal page → Session storage: reads session
app/page.tsx - Portal page → Remote data access: uses data access
app/page.tsx - Portal page → Role permissions: checks roles
app/page.tsx - Portal page → Theme settings: loads theme
app/page.tsx - Login screen → Session storage: writes session
components/login-screen.tsx - App shell → Calendar: renders
components/app-shell.tsx - App shell → Availability surveys: renders
components/app-shell.tsx - App shell → Practice planning: renders
components/app-shell.tsx - App shell → Performance manager: renders
components/app-shell.tsx - App shell → Performance view: renders
components/app-shell.tsx - App shell → Practice overview: renders
components/app-shell.tsx - App shell → Performance archive: renders
components/app-shell.tsx - App shell → User management: renders
components/app-shell.tsx - App shell → Notices: renders
components/app-shell.tsx - App shell → Member page: renders
components/app-shell.tsx - Availability surveys → Availability grid: renders
components/survey-panel.tsx - Availability surveys → Song editor: renders
components/survey-panel.tsx - Practice planning → Availability grid: uses
components/song-management-panel.tsx - Performance manager → Setlist ordering: renders
components/performance-manager.tsx - Performance manager → Archive import: renders
components/performance-manager.tsx - Performance archive → Shared display items: renders
components/archive-panel.tsx - Calendar → Shared display items: renders
components/calendar-panel.tsx - Calendar → Schedule rules: uses rules
components/calendar-panel.tsx - Availability surveys → Schedule rules: uses rules
components/survey-panel.tsx - App shell → Role permissions: checks roles
components/app-shell.tsx - App shell → Session storage: reads session
components/app-shell.tsx - Local data store → Club domain data: stores
lib/local-data.ts - Schedule rules → Club domain data: uses types
lib/schedule.ts - Session storage → Local data store: uses key
lib/session.ts - Data API route → Remote data access: delegates
app/api/data/route.ts - Performance manager → Local data store: persists changes
components/performance-manager.tsx - Performance archive → Local data store: uses archive data
components/archive-panel.tsx - User management → Role permissions: uses roles
components/users-panel.tsx - Shared display items → Schedule rules: uses colors
components/items.tsx - Shared display items → Club domain data: uses types
components/items.tsx - Shared UI controls → Schedule rules: uses helpers
components/ui.tsx