feat(dashboard): Phase 4 — visual enhancements (theme, mascot, animations) - #14
Merged
Conversation
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.
Summary
DashboardApp v2 Phase 4 (최종): 테마 시스템(다크/라이트/자동) + 마스코트 + SwiftUI 애니메이션 + 컨페티 추가. Phase 1~3과 함께 v2 마이그레이션 완료.
Design spec:
docs/superpowers/specs/2026-04-17-dashboard-v2-design.mdImplementation plan:
docs/superpowers/plans/2026-04-17-dashboard-v2-phase4.mdTheme System
Config
Config.Theme+ SwiftAppConfig.theme("auto" | "dark" | "light")config.yaml의theme:필드로 설정 가능 (기본값:auto)ThemeManager (SwiftUI)
@EnvironmentObject주입으로 전체 뷰 트리에 테마 토큰 전달@Environment(\.colorScheme)으로 시스템 다크/라이트 자동 감지 (auto 모드)Views
DashboardButtonStyle은 explicit surface/text color parameters로 확장 (기본값은 기존 dark 모드 유지)Mascot System
HelperCore.Mascot구조체 +mascotFor(state:config:now:)함수mascotForAchievement)Animations
.animation(.easeInOut(duration: 0.5), value: vm.isWork)).easeInOut(0.3)).spring(response: 0.4, dampingFraction: 0.6)).asymmetric(insertion: .move(.trailing), removal: .move(.leading))).shadow(color: fillColor.opacity(0.6), radius: 4))Confetti
ConfettiView(Canvas + TimelineView) — 50개 파티클, 3.5초 루프lastGoalCheckMinute가드로 중복 방지Test plan
go test ./...— 전체 통과 (3 신규 config theme tests)cd helpers && swift test— 72 tests 통과 (+7 Mascot, +3 Theme)make build— 빌드 성공theme: auto)config.yaml에theme: light/dark설정 시 시스템 무관하게 고정Migration Complete 🎉
Phase 1 → 2 → 3 → 4 전체 머지 후 DashboardApp v2 완성: