Project Summary ๐
Love Ability Gym is not about finding loveโit's
about building the capacity to love.
Through 5 core modules and a foundational
self-awareness stage, users can strengthen their
"emotional muscles" with practical tools and
exercises. The app features full bilingual support
(English & Traditional Chinese), offline-first
architecture with IndexedDB, and optional cloud sync
via Supabase.
View the live project here →
Purpose ๐ฏ
To help people navigate intimate relationships by first learning to understand oneselfโemotions, needs, and thoughts. Then learning to control emotions, calm down, and treat relationships rationally and gently. Only after understanding oneself can one truly understand another person through empathy and companionship. Ultimately, the goal is to learn how to love oneself and one's partner.
Core Modules ๐งฉ
Module 1: Awareness ่ฆบๅฏ
- ๐ Emotion Scan
- ๐ Story Buster
- โก Rapid Awareness
- ๐ Attribution Shift
- ๐ Happiness Scale
- โณ Time Travel
Module 2: Expression ่กจ้
- ๐ Draft Builder
- ๐ค Vocabulary Swap
- ๐ค Apology Builder
Module 3: Empathy ๅ ฑๆ
- ๐ก Anger Decoder
- ๐ Deep Listening Lab
- ๐ Perspective Switcher
- ๐ก The Radar
Module 4: Allowing ๅ ่จฑ
- ๐ซ Permission Slip
- ๐ผ๏ธ Reframing Tool
Module 5: Influence ๅฝฑ้ฟ
- ๐ Spotlight Journal
- ๐ Time Capsule
- ๐ฏ Vision Board
Special: L3 Uplink โค๏ธ
- ๐ช The Mirror โ Situational diagnosis
- ๐ The Ledger โ Give vs Take analysis
- โ The Anchor โ Breathing regulation
- ๐ก The Radar โ Observe โ Hypothesis โ Test
Stage 1: Self-Awareness ๅบๅป ่จญๅฎ
Assessment Pipeline
- ๐ฏ DISC Assessment โ Communication pacing & focus
- ๐ Core Values โ Hierarchy of Love & life pillar allocations
- ๐งฌ Attachment & Origin โ Childhood atmospheres & defense mechanisms
- ๐ Boss Level: Happiness Questionnaire โ Relationship X-Ray
Interactive UI
- ๐ Swipe cards, tag clouds, zero-sum sliders
- ๐ณ Haptic feedback
- ๐ State rollback with undo stack
- ๐ง Data fusion & contradiction detection
App Gallery ๐ธ
Features โจ
Core Capabilities โ๏ธ
- ๐ Full bilingual support (EN / ็น้ซไธญๆ)
- โ๏ธ Optional cloud sync with delta sync & LWW conflict resolution
- ๐พ IndexedDB primary storage with localStorage fallback
- ๐ฒ PWA ready โ installable as native app
- ๐ XP system & progress tracking
User Experience ๐จ
- ๐ฌ Smooth Framer Motion animations & page transitions
- โฟ Accessible โ ARIA labels, keyboard nav, screen reader support
- ๐ Crisis Mode โ Quick-access breathing exercises
- ๐ Educational tool intros (What/Purpose/Why)
- ๐ Smart toast notifications for feedback & rewards
Technology Stack ๐ป
- React 19
- Vite
- CSS Modules
- Framer Motion
- Zustand
- IndexedDB
- Supabase
- Vitest
- PWA
Architecture Highlights ๐๏ธ
Offline-First CSR SPA
- Client-Side Rendered with React 19 + Vite 6
- IndexedDB as primary source of truth
- Custom delta sync engine with LWW resolution
- Hybrid storage: IndexedDB + in-memory cache + localStorage
State & Testing
- React Context for cross-cutting concerns
- Zustand + persist middleware for complex flows
- Vitest + React Testing Library + fake-indexeddb
- Service Worker via vite-plugin-pwa