Skip to content

WIP: Client app — shadcn UI + Neon Postgres#25

Merged
faizm10 merged 31 commits into
mainfrom
development
Jul 16, 2026
Merged

WIP: Client app — shadcn UI + Neon Postgres#25
faizm10 merged 31 commits into
mainfrom
development

Conversation

@faizm10

@faizm10 faizm10 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

🚧 Work in progress — opened as a draft for early visibility. Not ready to merge yet.

Summary

Sets up the new Next.js client/ app's UI foundation and database connection.

  • shadcn UI: ported theme, components.json, lib/utils, and fonts from frontend/; pulled in the shadcn component library
  • Neon Postgres: added @neondatabase/serverless client with lazy init in client/lib/db.ts (reads DATABASE_URL, safe at build time)
  • Verification: /api/db-check route to confirm the connection
  • Fixes: pinned @hugeicons/* to match frontend, resolved spinner.tsx prop-spread type error

Notes / TODO

  • DATABASE_URL lives in client/.env.local (gitignored) — must be added to Vercel/CI env before deploy
  • npm run build passes locally
  • Migrating off Supabase → Neon is in progress; data layer/queries still to come

🤖 Generated with Claude Code

@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
judging-platform Ready Ready Preview, Comment Jul 16, 2026 4:26am

alysibak and others added 22 commits July 4, 2026 17:47
Departure-board wayfinding, derived slot status, localStorage persistence, auto-advance after judging, and production-safe mock handling so judges can walk a venue without placeholder noise.

Co-authored-by: Cursor <cursoragent@cursor.com>
Read ?code=J42 from URL, persist to hc-judge-code, thread judgeId through portal state, and show a non-blocking header notice when missing.

Co-authored-by: Cursor <cursoragent@cursor.com>
Upsert on (judge_id, stream_id, project_id), reconcile on client_timestamp, and demote judging_sync_log to append-only audit.

Co-authored-by: Cursor <cursoragent@cursor.com>
streamProgress excludes skips from judged numerator. Header, completion banner, and dock show separate counts. Skip flow includes optional reason chips.

Co-authored-by: Cursor <cursoragent@cursor.com>
Notes POST 400ms after typing stops, keyed by judge+project+stream. serverNow from config API sets clientServerDeltaMs for slot derivation.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
CTA disabled state styling plus judge notice, skip picker, and recessed skip button spacing.

Co-authored-by: Cursor <cursoragent@cursor.com>
… edge cases.

Replace window.confirm with warm-paper reset panel. Hero degrades gracefully when a project has zero or multiple slots.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Offline sync hook, schedule offset, supporting components, admin controls, and README aligned with judgments sync store and critique fixes.

Co-authored-by: Cursor <cursoragent@cursor.com>
…ive layout (hamburger thing)

need to fix still minor styling + other pages on volunteer dashboard
…or varied submissions, RLS policies, schema definitions, test submissions table, and TypeScript configuration.
@faizm10
faizm10 marked this pull request as ready for review July 16, 2026 02:44
…opment

# Conflicts:
#	client/.gitignore
#	client/app/admin/layout.tsx
#	client/app/admin/schedule/page.tsx
#	client/app/judging/page.tsx
#	client/app/layout.tsx
#	client/app/sponsor/page.tsx
#	client/app/volunteer/page.tsx
#	client/components/admin/admin-nav.tsx
#	client/components/admin/schedule-manager.tsx
#	client/components/portal-stub.tsx
#	client/components/ui/dialog.tsx
#	client/drizzle.config.ts
#	client/lib/fonts.ts
#	client/lib/queries.ts
#	client/lib/schedule.ts
#	client/package-lock.json
#	client/package.json
@faizm10
faizm10 merged commit 0d701c0 into main Jul 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants