Repository navigation
feat(JECT-178): 하단 탭 4개(홈·팀 모집·메시지·마이페이지) 연결 - #5
Merged
Merged
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
변경
Jira: JECT-178 홈·팀 모집·메시지함·마이페이지 하단 메뉴 연결하기 (기능 53, 원본 JECT-68)
하단 탭 4개 이동과 각 탭 기본 화면 라우팅을 만들었다.
StatefulShellRoute.indexedStack으로/home·/recruit·/chat·/my4개 branch (app/router.dart). 탭마다 스택·스크롤을 따로 유지하고, 지금 탭을 다시 누르면 그 탭 첫 화면으로 간다app/main_shell.dart):MainShell+MainTabBar. Figma NavEX 기준gray800(Figma 아이콘 기본색 Neutral/Gray-800), 선택 안 됨interactionInactive, 구분선lineNeutralassets/icons/에 추가,shared/widgets/app_icon.dart의AppIcon으로 색을 입혀 쓴다 (flutter_svg추가)HomeView,RecruitmentListView,ChatListView,MyPageView— 지금은 제목만. 내용은 각 기능 작업에서 채운다gray.800을 앱·웹·문서에 추가 (원래 미사용이라 빠져 있던 Figma Primitive)docs/mobile-architecture.md폴더 구조·11절(하단 탭 규칙),docs/design-tokens.md검증
apps/mobile):dart format·flutter analyze·check_imports·flutter test(35개) 통과apps/web, 토큰 파일 변경):format:check·lint·typecheck·test·build·build:dev통과test/app/main_shell_test.dart): 탭 4개 표시 / 탭 누르면 해당 화면 / 선택된 탭만gray800/ 다른 탭으로 가도 이전 탭 화면 유지 / 로그인 화면엔 탭 없음UI 캡처
하단 탭 추가 (iOS). 캡처 첨부 예정
호환성·주의
StatefulShellRoute도입), 의존성(flutter_svg,pubspec.yamlassets), 디자인 토큰(gray.800추가) — 사전 공유 필요/home으로 보내는 인증 redirect는 로그인 작업에서 붙인다. 지금 앱에서 탭을 보려면router.dart의initialLocation을 임시로AppRoutes.home으로 바꿔 확인MainTabBar안에 상수로 둠/recruit/:postId)은 해당 branch 아래에 등록하면 탭 바가 유지된다리뷰 순서
apps/mobile/lib/app/router.dart(StatefulShellRoute branches)apps/mobile/lib/app/main_shell.dart(MainShell → MainTabBar → _TabItem)apps/mobile/lib/shared/widgets/app_icon.dart,apps/mobile/assets/icons/apps/mobile/lib/features/{home,recruitments,chat,my_page}/presentation/views/apps/mobile/lib/shared/theme/app_colors.dart,apps/web/src/shared/styles/tokens.css,docs/design-tokens.md(gray.800)apps/mobile/test/app/main_shell_test.dart새 문구
홈,팀 모집,메시지,마이페이지작성자 체크 (docs/pr-checklist.md A절)
Colors.*·숫자 크기 없음. 토큰 변경은 앱·웹·문서 함께 — 색은 토큰, NavEX 크기(2px·11px·22px)는 디자인 시스템에 없어 상수로 둠pubspec.lock리뷰어 체크 (docs/pr-checklist.md B절)
[must]/[nit]접두사와 근거 절 번호