Commit Graph

6 Commits

Author SHA1 Message Date
syntaxbullet
ecc2620a4c feat: add Home page with user dashboard and habit tracking features
- Implemented Home component with user authentication and loading states.
- Created Welcome component for unauthenticated users with a sign-in option.
- Developed Dashboard component to display user's habits and progress.
- Added functionality for habit management, including adding, updating, and deleting habits.
- Integrated HabitChart and HabitHistory components for visual representation of habits.
- Introduced sharing functionality for progress via Discord integration.

feat: establish Discord sharing configuration and routes

- Added DiscordSharingConfig type and readDiscordSharingConfig function for environment variable management.
- Created sharing contracts for input validation and data structure.
- Implemented sharing routes for previewing and sending progress images to Discord.
- Added tests for sharing routes to ensure authentication and proper error handling.
2026-09-04 17:48:54 +02:00
syntaxbullet
18a1af9dfc fix(habits): preserve task state and original occurrence expiry 2026-09-04 09:46:22 +02:00
syntaxbullet
9a7180ce78 feat(habits): add opt-in partial count carryover with daily reset defaults 2026-09-04 09:11:11 +02:00
syntaxbullet
7fefe0c7d8 feat(db): add versioned habits and calendar domain contracts 2026-09-04 09:00:21 +02:00
syntaxbullet
d3cbf2f7dc feat(auth): add Discord OAuth sign-in and user timezones
Add persistent user and session storage, protected profile requests, and React sign-in controls. Capture and preserve each user's timezone, and load development and production configuration before migrations and server startup.
2026-09-04 08:29:48 +02:00
syntaxbullet
29bf75760b feat(db): add Drizzle ORM with local SQLite storage
Configure Bun SQLite with WAL mode, foreign keys, and a shared database path for development and production.

Add migration commands and startup migration handling, check database connectivity in the health endpoint, and document configuration while excluding local database files from Git.
2026-09-04 07:50:14 +02:00