Enhance lobby UI with new styles: remove outer screen background, add room-code hint, copy-to-clipboard button, team-pick button states, and progress bar. Center prep status and improve host/guest instructions. Update pill styles for better visibility.
BhargavMN
64cf79d
Revert "Enhance lobby UI with new styles..."
BhargavMN+1: Claude Opus 4.8
4c6c6bd
This reverts commit e9cb0b0, backing out the lobby UI enhancements
(room-code hint, copy button, team-pick states, progress bar, etc.).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Enhance lobby UI with new styles: remove outer screen background, add room-code hint, copy-to-clipboard button, team-pick button states, and progress bar. Center prep status and improve host/guest instructions. Update pill styles for better visibility.
BhargavMN
e9cb0b0
feat(ui): enhance create screen with refined dropdowns and button styles
BhargavMN
7db2765
UI: Enhance background gradient animation and make wrappers transparent
BhargavMN
ed01a7a
Merge remote-tracking branch 'origin/main' into feature/gradio-server-ui
BhargavMN
a8bc27b
fix(ui): landing page refinements
BhargavMN+1: Claude Opus 4.8
93cdaab
Remove grey container/card borders, hide redundant card titles and
subtitle, enlarge title, make both home buttons green, bigger buttons
with hover animation.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Merge pull request #4 from NANInithin/feature/gradio-server-ui
Bhargav Malasani
Unverified signature
919b35c
Feature/gradio server UI
update
BhargavMN
5c204e9
fix: record selected game_type on the generated game
BhargavMN+1: Claude Opus 4.8
e44426f
The game schema/model output never carried a game_type, so the selected
type was only implicit (config + team roles) and could not be read back
from the game object. Stamp the authoritative config game_type onto the
final game in both generation entry points (run_pipeline, generate_for_session)
and in the mock generator, and document game_type as an optional enum field
in the game schema.
Investigation note: the config -> retrieval -> team-roles -> title flow
already respects the selected type (verified for all 3 types); this closes
the gap where the game object itself didn't record it.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
fix(ui): correct game type dropdown positioning
BhargavMN+1: Claude Opus 4.8
473609f
The themed .cq-card uses backdrop-filter, which creates a containing block
that clipped the dropdown's default position:fixed menu, so the game-type
menu rendered off-position / overlapping other fields. Render the listbox
in-flow (static, full-width, directly under the field) so it can no longer
be clipped or overlap neighbouring inputs.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
fix(backend): prevent rejoin of finished games by validating game status
BhargavMN+1: Claude Opus 4.8
a221445
join_room() now rejects a code whose room status is "finished" before
adding the player, so a stale code can't reopen a completed game after the
host has started a fresh room. Unknown/typo codes still return the distinct
"No room found" message.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
fix(validation): enforce minimum 2 teams for game creation
BhargavMN+1: Claude Opus 4.8
31e6272
- Create screen teams slider now starts at 2 (was 1).
- build_teams() floors at 2 teams (was 1) as the backend backstop.
- do_create() guards teams < 2 with a warning and clamps to 2.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
docs: README UI Improvements (v2.0) section
BhargavMN+1: Claude Opus 4.8
e98b994
Document the new interactivity features (live validation, loading states,
streaming recap, toasts, animated reveals, adaptive polling).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
feat(ui): adaptive poll interval with fast-snap on activity
BhargavMN+1: Claude Opus 4.8
df29cb7
poll_tick now tracks a per-browser (signature, idle, interval) state and
adjusts the shared gr.Timer: 1.5s while anything changes, easing to 3s after
a few identical ticks, snapping back to fast on any change or screen
transition. The interval is only re-emitted when it flips, so the running
countdown isn't reset each tick. Capped at 3s so transitions still arrive
promptly. Polling architecture unchanged otherwise.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
feat(ui): toast notifications for joins, completions, captures
BhargavMN+1: Claude Opus 4.8
26e1b6b
Add gr.Info/gr.Warning toasts on join success/failure, task completion
(and the locked case), photo upload, and journal save. Inline status
markdown is preserved; toasts are an additive presentation layer.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
feat(ui): stream recap text progressively
BhargavMN+1: Claude Opus 4.8
755453f
Winning recap and funny recap now reveal paragraph-by-paragraph (sentence
chunks for a single long block) via a UI-side _stream_text generator. The
recap content is produced by the unchanged backend generators; only the
presentation pacing changes.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
feat(ui): live form validation + button busy states
BhargavMN+1: Claude Opus 4.8
8ced7f8
- Join screen: live room-code counter/format check (mirrors rooms code
charset) with a status pill; Join button stays disabled until a valid
6-char code and a name are present.
- Create screen: live one-line summary of the chosen config.
- Disable LLM/IO buttons during their call via .then() chaining (create,
start, transcribe, save-journal, ask, recaps, posters) to prevent
double-submits; existing text loaders still show progress.
- theme.py: .cq-pill.alert, eased pill/timer transitions, .cq-reveal
panel animation (applied to the task detail group only).
UI-only; no backend/service logic changed.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Integrates the sampler/generator/validator/test pipeline into scripts/scavenger_hunt/
(per-game folder pattern for future game types) with generated datasets under
app/data/scavenger_hunt/. Adds google-genai and python-Levenshtein deps and includes
a sample dataset.json for review.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat: Normalize output from processor.decode in transcribe function for consistent string handling