Skip to content

refactor: 보관 → 위시리스트 / 토너먼트 페이지 분리 #341

Description

@iOdiO89

Epic: 홈/토너먼트/보관 화면 개선안 반영
기반 작업 — 4번, 5번이 이 라우팅 구조를 전제로 함. 가장 먼저 진행.

현재 상태

  • app/archive/page.tsxsearchParams.tab 으로 WishContent / TournamentHistoryContent 분기 (단일 페이지 탭)
  • ROUTES.ARCHIVE(tab) = /archive?tab=wish (consts/route.ts)
  • ROUTES.ARCHIVE_BASE = /archive

라우트 경로 (확정)

  • 위시리스트: /archive/wish, 토너먼트 기록: /archive/tournament
  • 이유: /tournament 는 이미 토너먼트 생성·매치 네임스페이스로 점유됨(충돌 회피) + 기존 ArchiveLayout 인증 가드 재사용 + /archive/wish/[id](편집) 과 자연스럽게 연결

작업 내용

  • /archive/wish/page.tsx, /archive/tournament/page.tsx 신설 (기존 WishContent / TournamentHistoryContent 이관)
  • ROUTES 갱신 + utils/getRouteType.ts 동기화(주석에 명시됨)
  • bottom-tab-bar 활성 탭 로직을 신규 경로 기준으로 수정 (5번과 맞물림)
  • 기존 상단 탭 UI(WishTab 등) 정리 — 페이지 분리로 제거/이동
  • "내 토너먼트" 페이지: 진행 중(플레이 중/담는 중) / 완료 탭 구성, Tab bar 하단 스트로크 형태

관련 파일

app/archive/**, consts/route.ts, utils/getRouteType.ts, components/bottom-tab-bar

Metadata

Metadata

Assignees

Labels

Type

Fields

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions