feat: 앱 하단 내비게이션·설정/계정정보·가입정보 변경 + 프론트 테스트·CI 게이트
CI / build (push) Failing after 10m29s

- 하단 내비게이션(뒤로/앞으로/홈/새로고침/설정), 사이드바 홈 제거
- 설정 화면: 계정정보·앱 버전(package.json)·App Data 삭제
- 가입정보 변경: 비밀번호 재인증 → 이름/이메일 수정
- 로그인 후 대시보드(/) 이동, 로그인 전 햄버거·네이버 로그인 버튼 숨김
- Vitest 도입(32): authApi/accountApi 와이어링, auth/ui 스토어, 로그인 플로우
- CI(.gitea): npm test 게이트 추가

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
ByungCheol
2026-06-06 14:08:01 +09:00
parent c5e4c2dad7
commit c9ff605ac9
22 changed files with 2467 additions and 15 deletions
+7 -1
View File
@@ -84,13 +84,19 @@ export const useAuthStore = defineStore('auth', () => {
await clear()
}
// 가입정보 변경 등으로 바뀐 사용자 필드를 로컬 세션에 병합 (헤더 이름 등 즉시 반영)
async function applyUser(partial) {
user.value = { ...(user.value || {}), ...partial }
await persist()
}
async function clear() {
token.value = ''
user.value = null
await persist()
}
return { token, user, ready, isAuthenticated, restore, login, signup, fetchMe, logout, clear }
return { token, user, ready, isAuthenticated, restore, login, signup, fetchMe, applyUser, logout, clear }
})
function safeParse(value) {