Commit graph

3 commits

Author SHA1 Message Date
danny
758001597c Auto-fill username + live emoji reactions
- initAuth() now sets joinName.value to logged-in username (no more hardcoded "Danny")
- Migration V6: active_emojis TEXT column on gtl_rooms
- api.php send_emoji action: appends emoji+timestamp to room, prunes entries >4s old, max 20
- loadRoom() returns activeEmojis filtered to last 4 seconds
- render() skips emoji list when diffing state (prevents poll thrash)
- Floating emoji stage: new emojis animate upward from bottom, deduplicated by ID
- Emoji bar (4 buttons: sheep/fire/laugh/thumbs) shown in player waiting card

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-14 12:35:13 +02:00
danny
01cd98aaf4 Rebrand to Black Sheep Bluff + bug fixes + F5 reconnect
- Rename identity/ folder (was idetity typo), update all references
- Page title: "Black Sheep Bluff – Wer ist das schwarze Schaf?"
- Fix gtl_rooms.updated_at not updated on submit_answer and vote actions
- Implement F5 reconnect: save role/room/pkey to sessionStorage on join,
  restore on page reload via tryRestoreSession()
- Clear sessionStorage on leave()

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-14 12:31:51 +02:00
danny
44e5b48c3c chore: snapshot before branding & feature pass 2026-06-14 12:25:44 +02:00