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
6161ef75a1
added bun types as a dev dependency
2026-02-05 18:13:47 -05:00
George Powell
9d7399769a
some little wording changes xd
2026-02-05 18:13:30 -05:00
George Powell
b1591229ba
Move UI controls to bottom and require authentication for stats
...
- Moved stats button, auth buttons, and debug info to bottom of main page
- Added authentication requirement for /stats route
- Show login prompt for unauthenticated users accessing stats
- Include AuthModal for sign in/sign up from stats page
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2026-02-05 17:57:29 -05:00
George Powell
96024d5048
Support authenticated users in stats and page loading
2026-02-05 17:46:53 -05:00
George Powell
86f81cf9dd
Use user ID for umami identify when authenticated
2026-02-05 17:46:14 -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
6bced13543
Merge pull request #2 from pupperpowell/stats
...
added demo stats page (needs refinement)
2026-02-04 23:36:10 -05:00
George Powell
7d93ead70c
added demo stats page (needs refinement)
2026-02-04 23:35:23 -05:00
George Powell
4c82aa078b
added identifying with umami anonymous ID
2026-02-03 23:43:03 -05:00
George Powell
2058149207
delayed loading of umami tracker script until page is already
...
interactive
2026-02-03 00:18:11 -05:00
George Powell
2bd86d37a1
added svelte mcp
2026-01-29 01:12:18 -05:00
George Powell
33d6fae446
added .env.example
2026-01-29 01:12:09 -05:00
George Powell
d21ca9d687
add percentile stats, update chapter guess UI
2026-01-28 23:03:51 -05:00
George Powell
2df97f66bf
package upgrades
2026-01-28 16:06:01 -05:00
George Powell
b1420a3e4f
Merge remote changes from github/main
2026-01-28 16:04:48 -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
860839fd75
add deployment script
2026-01-26 23:45:52 -05:00
George Powell
e4b946ec8c
package updates
2026-01-26 23:41:57 -05:00
George Powell
b80c18c2aa
added function to measure correlation between ease of solving and number of players
2026-01-26 23:40:28 -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
c50336ab5f
feat: Add Claude settings to restrict access to sensitive files
2026-01-26 00:25:31 -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
1f1aaca6b7
Merge branch 'main' of https://github.com/pupperpowell/bibdle
2025-12-30 15:23:00 -05:00
George Powell
a83039a6a2
style changes
2025-12-30 15:21:18 -05:00
George Powell
bf4ec8cfe0
average guesses script
2025-12-30 15:15:06 -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
d8cff2ff7a
fixed "1 guess" on results
2025-12-25 00:56:49 -05:00
George Powell
704a4e1996
fixed dev divider
2025-12-24 01:05:57 -05:00
George Powell
1edaec4bdd
spacing change
2025-12-23 22:59:51 -05:00