refactor: organize mobile source by feature - #3
Draft
dohyeon16 wants to merge 7 commits into
Draft
Conversation
Move cross-cutting domain, data, and infrastructure modules out of the flat src root into dedicated layers, without changing any behavior: - core/domain/models (types), core/domain/payroll (payCalc) - core/data (storage, storageKeys), core/backup, core/notifications - shared/components, shared/hooks, shared/theme, shared/utils - app/navigation Only file locations and import paths change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QcbxRenBCDifWFM3DDghaE
Move auth screens and OAuth services under features/auth, and the onboarding/splash flow under features/onboarding. Import paths only. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QcbxRenBCDifWFM3DDghaE
Move workplace screens with the kakao places service and the location map picker into features/workplace; attendance screens with geo and current-location utils into features/attendance; HomeScreen into features/home. Import paths only. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QcbxRenBCDifWFM3DDghaE
Move pay input/compare, report, analysis, and checklist screens with the report service into features/payroll; ScheduleFormScreen into features/schedule. Import paths only. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QcbxRenBCDifWFM3DDghaE
Move Vault and ShareComplete screens with the contract AI and OCR services into features/evidence; NotificationsScreen into features/notifications. Import paths only. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QcbxRenBCDifWFM3DDghaE
Move AppLockGate with the app-lock services into features/security; MoreScreen into features/settings; the legal document screen and its content into features/legal. Import paths only. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QcbxRenBCDifWFM3DDghaE
Run the mobile CI workflow for pull requests targeting the feature/workproof-major-enhancements base branch, so stacked PRs (e.g. the feature-based refactor) get typecheck, tests, and web build. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QcbxRenBCDifWFM3DDghaE
This was referenced Aug 4, 2026
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.
목적
모바일 소스 구조를 기술 레이어 중심에서 기능(feature) + 도메인/인프라(core) + 공용(shared) 중심 구조로 정리합니다. 동작 변경 없이 파일 위치와 import 경로만 바꿉니다.
새 구조
의존성 방향:
app → features → core → shared(core는 feature를 참조하지 않고, shared는 core/feature를 참조하지 않음).주요 변경 (커밋 6개, 각 커밋 독립 컴파일)
refactor: introduce core, shared, and app layersrefactor: group authentication and onboarding featuresrefactor: group workplace, attendance, and home featuresrefactor: group payroll and schedule featuresrefactor: group evidence and notifications featuresrefactor: group security, settings, and legal featuresscreens/폴더에서 기능별로 분리변경하지 않은 것
자동 검증
npx tsc --noEmit— 오류 0npm test— 20/20 통과npx expo export --platform web— 번들 생성 성공package-lock.json변경 없음검토 주의사항
이 PR은 Draft PR #1의 기능 브랜치를 base로 하는 stacked PR입니다. PR #1과 Issue #2의 네이티브 검증에는 포함되지 않으며, 기능 PR이 정리된 뒤 별도로 검토·병합합니다. Draft 상태로 유지하고 자동 병합하지 마세요.
🤖 Generated with Claude Code