feat: 강아지 관리 화면 (프로필 CRUD + 댕비티아이 편집)

- dogs 스토어: 내 강아지 로드/등록/수정/삭제, 대표견(currentDog)
- ProfilePage: 강아지 등록/선택/삭제, 성향 태그 편집·저장, 회원 티어 표시
- HomePage 체크인/매칭 주체를 대표견으로 전환(미등록 시 안내)
- http 클라이언트 put/del 추가, 임시 session 스토어 제거
- 로그아웃 시 강아지 상태 리셋, Dialog 플러그인 등록

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
sb
2026-07-11 09:00:19 +09:00
parent 85c925008a
commit d2e5495619
6 changed files with 357 additions and 77 deletions
+3
View File
@@ -55,10 +55,12 @@ import { useRouter } from 'vue-router'
import AdBanner from '@/components/AdBanner.vue'
import { useSubscriptionStore } from '@/stores/subscription'
import { useAuthStore } from '@/stores/auth'
import { useDogsStore } from '@/stores/dogs'
const tab = ref('home')
const subscription = useSubscriptionStore()
const auth = useAuthStore()
const dogs = useDogsStore()
const router = useRouter()
const tierLabel = computed(() => {
@@ -74,6 +76,7 @@ const tierLabel = computed(() => {
async function onLogout() {
await auth.logout()
dogs.reset()
router.replace({ name: 'login' })
}
</script>