96 Commits

Author SHA1 Message Date
George Powell 342bd323a1 Merge branch 'main' into auth
Brought in latest changes from main including:
- RSS feed implementation
- First letter edge case fixes
- Updated ranking formula

Resolved conflicts by:
- Combining .env.example variables from both branches
- Keeping auth version (3.0.0alpha)
- Preserving extended user schema from auth
- Keeping onMount umami approach and adding RSS feed link

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-09 12:03:31 -05:00
George Powell 95725ab4fe Add test infrastructure and signin migration tests
- Add test-specific Drizzle config and database connection
- Create test version of auth module using test database
- Add comprehensive integration tests for signin migration logic
- Add unit tests for deduplication algorithm
- Tests cover edge cases like multiple duplicates, timing, and error handling

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-05 18:49:21 -05:00
George Powell 06ff0820ce Implement anonymous stats migration on signin
- Fix AuthModal to pass anonymousId on both signin and signup
- Add comprehensive migration logic in signin that moves anonymous completion stats to authenticated user
- Implement deduplication algorithm to handle overlapping completion dates
- Maintain earliest completion when duplicates exist

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-05 18:49:14 -05:00
George Powell 3cf95152e6 Replace unique constraint with index on dailyCompletions
Changes unique constraint on (anonymousId, date) to a regular index for better performance and to support the migration logic where duplicates may temporarily exist before deduplication.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-05 18:49:07 -05:00
George Powell c04899d419 removed dumb $env/dynamic/private import and replaced with Bun.env 2026-02-05 18:14:13 -05:00
George Powell 24a5fdbb80 added umami events on social buttons 2026-02-05 17:43:51 -05:00
George Powell dfe1c40a8a switched to bun:sqlite 2026-02-05 00:47:55 -05:00
George Powell dfe784b744 added login modal 2026-02-05 00:47:47 -05:00
George Powell 7d93ead70c added demo stats page (needs refinement) 2026-02-04 23:35:23 -05:00
George Powell 3947e8adb0 rss improvements 2026-02-02 02:52:53 -05:00
George Powell 244113671e created rss feed 2026-02-02 02:07:12 -05:00
George Powell 5b9b2f76f4 added some more words to the "first letter" edge case 2026-02-02 01:32:17 -05:00
George Powell f7ec0742e1 fixed "first letter" clue edge cases 2026-02-02 01:27:12 -05:00
George Powell d797b980ea updated ranking formula 2026-02-02 00:48:35 -05:00
George Powell d21ca9d687 add percentile stats, update chapter guess UI 2026-01-28 23:03:51 -05:00
George Powell fe9cc09df6 added test dev buttons and email button 2026-01-28 16:02:52 -05:00
George Powell 55a9fd59ea fixed some epistle bugs with firstLetter, maybe. and wording 2026-01-28 15:15:40 -05:00
George Powell 0ee3d8a4d0 Revamped middle statline (ranking instead of arbitrary percentage) 2026-01-28 15:04:29 -05:00
George Powell 6365cfb363 Added instructions 2026-01-28 14:57:22 -05:00
George Powell 8c488d27df add First Letter column with special epistle handling 2026-01-26 23:31:24 -05:00
George Powell 77d6254a2c replace table with colored box grid for better visual feedback 2026-01-26 23:09:31 -05:00
George Powell 7fbed528f8 added bluesky profile link 2026-01-26 00:38:01 -05:00
George Powell cec85be7c9 feat: Add Imposter game component and update project assets 2026-01-26 00:25:51 -05:00
George Powell 03645f0452 Merge remote-tracking branch 'github/main' 2026-01-05 18:21:08 -05:00
George Powell cb11d793f6 replaced trailing punctuation in verses with ellipses 2026-01-05 18:15:30 -05:00
George Powell ac1db94b0d replaced trailing punctuation in verses with ellipses 2026-01-05 18:12:10 -05:00
George Powell 1b1bc7bd3c Added chapter guess challenge 2026-01-04 16:36:28 -05:00
George Powell 0f6870344f major styling and spacing 2026-01-04 01:25:49 -05:00
George Powell a91a5af014 Merge github/main into embeddings 2025-12-30 15:34:03 -05:00
George Powell 2b7682684a fixed sloppy umami events 2025-12-27 11:50:35 -05:00
George Powell c71170e6b3 added first-guess and correct-guess umami event tracking 2025-12-27 11:42:15 -05:00
George Powell 54c7e3cdbb Visual fixes, typo fixes, and updated todo + metadata 2025-12-27 00:48:06 -05:00
George Powell 280ed3424c embeddings fix 2025-12-26 01:11:45 -05:00
George Powell 0daefcb080 created embeddings 2025-12-26 00:33:16 -05:00
George Powell 1edaec4bdd spacing change 2025-12-23 22:59:51 -05:00
George Powell 0e3505b8e7 Added greek bible and centered title correctly and added date 2025-12-23 22:56:46 -05:00
George Powell f9f0928278 switched to NKJV, improved grading, improved styling 2025-12-23 17:33:33 -05:00
George Powell 93acafc232 add fade-in animations and conditional rendering to GuessesTable 2025-12-23 01:10:33 -05:00
George Powell 2e7cc1fa54 silly little BIBDLE title animation 2025-12-23 00:32:22 -05:00
George Powell c8179da75d better consistency on guesses table 2025-12-21 19:58:44 -05:00
George Powell 5999221b8f v2.1: stylistic updates & countdown timer 2025-12-21 18:24:38 -05:00
George Powell 0d50ff5f27 i forhor 2025-12-19 03:36:59 -05:00
George Powell 68a946a0a0 redirect to bibdle.dev and components 2025-12-19 02:53:45 -05:00
George Powell d052bd21f2 fixed share, added crossed out options 2025-12-17 13:38:21 -05:00
George Powell 32a078dd98 v2 2025-12-16 20:44:52 -05:00
George Powell 530291d271 Version 1 2025-12-16 10:23:24 -05:00