Skip to content

feat: Enhance navbar with login/logout functionality and account menu… - #21

Open
WasThatRudy wants to merge 28 commits into
pointblank-club:mainfrom
WasThatRudy:main
Open

WasThatRudy wants to merge 28 commits into
pointblank-club:mainfrom
WasThatRudy:main

Conversation

@WasThatRudy

Copy link
Copy Markdown
Contributor

…; add token management and logout confirmation modal

…; add token management and logout confirmation modal
@github-actions github-actions Bot added Dependencies Auto-generated label for Dependencies changes Frontend Auto-generated label for Frontend changes size-XL Auto-generated label for size-XL changes labels Sep 11, 2025
…data fetching; update navbar links to use Next.js Link component
@github-actions github-actions Bot added size-XL Auto-generated label for size-XL changes and removed size-XL Auto-generated label for size-XL changes labels Sep 11, 2025
…e submission handling with new input fields and error management
@github-actions github-actions Bot added size-XL Auto-generated label for size-XL changes and removed size-XL Auto-generated label for size-XL changes labels Sep 11, 2025
…ement event listeners for auth updates and improve user experience in Hero and Navbar
@github-actions github-actions Bot added size-XL Auto-generated label for size-XL changes and removed size-XL Auto-generated label for size-XL changes labels Sep 11, 2025
… improve clarity for users by specifying expected link types
@github-actions github-actions Bot added size-XL Auto-generated label for size-XL changes and removed size-XL Auto-generated label for size-XL changes labels Sep 11, 2025
…amline authentication handling by eliminating unnecessary localStorage reads
@github-actions github-actions Bot added size-XL Auto-generated label for size-XL changes and removed size-XL Auto-generated label for size-XL changes labels Sep 11, 2025
…r team submissions and enhance section decorations with animations
@github-actions github-actions Bot added size-XL Auto-generated label for size-XL changes Utils Auto-generated label for Utils changes and removed size-XL Auto-generated label for size-XL changes labels Sep 21, 2025
… teams; enhance data structure for submissions and improve UI for project links
@github-actions github-actions Bot added size-XL Auto-generated label for size-XL changes and removed size-XL Auto-generated label for size-XL changes labels Sep 21, 2025
@github-actions github-actions Bot added size-XL Auto-generated label for size-XL changes and removed size-XL Auto-generated label for size-XL changes labels Sep 21, 2025
…afety for participant data in submissions API
@github-actions github-actions Bot added the size-XL Auto-generated label for size-XL changes label Sep 22, 2025
…ion state management and related effects for improved performance
@github-actions github-actions Bot added size-XL Auto-generated label for size-XL changes and removed size-XL Auto-generated label for size-XL changes labels Sep 22, 2025
…sions API and update UI to display this information in the submissions section
@github-actions github-actions Bot added size-XL Auto-generated label for size-XL changes and removed size-XL Auto-generated label for size-XL changes labels Sep 22, 2025
…missions component for improved user experience
@github-actions github-actions Bot added size-XL Auto-generated label for size-XL changes and removed size-XL Auto-generated label for size-XL changes labels Sep 22, 2025
…y and adjusting skeleton display logic for better clarity
@github-actions github-actions Bot added size-XL Auto-generated label for size-XL changes and removed size-XL Auto-generated label for size-XL changes labels Sep 22, 2025
@github-actions github-actions Bot added size-XL Auto-generated label for size-XL changes and removed size-XL Auto-generated label for size-XL changes labels Sep 22, 2025
…nality, displaying top 3 winning teams, and improving project links presentation for better user engagement
@github-actions github-actions Bot added size-XL Auto-generated label for size-XL changes and removed size-XL Auto-generated label for size-XL changes labels Oct 1, 2025
@github-actions github-actions Bot removed the size-XL Auto-generated label for size-XL changes label Jan 2, 2026
Restore RegistrationForm on /register (was commented out after last
year's event) and bring back the active Register For Hackathon button
in the hero.
- next 15.3.5 -> 16, eslint-config-next 16 (native flat config,
  next lint replaced with eslint CLI)
- mongoose 8 -> 9, rate-limiter-flexible 7 -> 11, lucide-react 1.x,
  plus all minor/patch bumps (react 19.2, ioredis, cloudinary, etc.)
- lucide 1.x dropped brand icons; add local Github/Linkedin/Twitter
  SVGs in components/ui/brand-icons.tsx with the same API
- drop unused deps: drizzle-orm, mongodb (mongoose bundles its own
  driver), deprecated @types/ioredis
- remove stale pnpm-lock.yaml so Vercel installs from package-lock

Tailwind stays on 3.x deliberately: v4 is a config migration, deferred
to the frontend refresh.
consume() rejects with a plain Error (not a RateLimiterRes) when the
Redis store is unreachable. The catch treated every rejection as a
429, so a dead Redis blocked ALL traffic with a misleading
'try again in 0 minutes' response. Fail open on store errors instead
and log loudly; rate limiting is defense-in-depth, not a gate worth
taking registrations down for.

Also ceil the retry message so genuine limits never display
'0 minutes'.
The regex requires an Indian mobile number (first digit 6-9), but the
error said 'must be 10 digits', which is confusing when a 10-digit
number is rejected. Say what's actually required, in both API routes
and the form.
The Cloudinary SDK rejects with plain objects ({message, http_code}),
not Error instances, so every upload failure was reported as
'Unknown error occurred'. Extract the SDK's message and HTTP code so
bad credentials, quota, etc. are visible in the response and logs.
Frontend replaced wholesale with the 2026 design — hairline grid,
Chalet/Source Code Pro, notched buttons, single-accent budget — copied
verbatim from sxivansx/segfault2026. Backend untouched: all API routes
and lib moved to src/ to adopt the design repo's layout (tsconfig @/*
now maps to ./src/*).

The design's /register was a placeholder; the registration form is now
built in its design language (numbered fieldsets, mono labels, notched
submit, ok/err mono states) and wired to /api/teamRegistration with
client validation mirroring the API rules. The page stays gated on
REGISTRATION.state in src/content/event.ts — flip 'soon' to 'open' to
launch.

Old UI (landing, dashboard, login, multi-step form) and its deps
(framer-motion, radix, lucide, zustand, tailwind 3 toolchain) removed;
now tailwind 4 + motion. Old pages remain in git history for the
hackathon phase rebuild.
Strip the 2025 post-hackathon API routes (auth/login, teamDetails,
submission, submissions, clickTracking) and the jsonwebtoken dep they
carried — this deployment registers teams, nothing else. The footer's
2025 proof strip now points at the archived site's new home,
2025.segfault.compilertech.org.
SegFault 2026 development moved to WasThatRudy/segfault-2026. This
repo returns to its end-of-2025 state (registrations closed, winners
and submissions on display) and will be served at
2025.segfault.compilertech.org.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dependencies Auto-generated label for Dependencies changes Frontend Auto-generated label for Frontend changes Utils Auto-generated label for Utils changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant