Skip to content

feat(lite): finalize create UI parity and navbar auth behavior#7

Merged
evanqua merged 6 commits intomainfrom
lite-mode
Mar 19, 2026
Merged

feat(lite): finalize create UI parity and navbar auth behavior#7
evanqua merged 6 commits intomainfrom
lite-mode

Conversation

@evanqua
Copy link
Copy Markdown
Owner

@evanqua evanqua commented Mar 19, 2026

Summary

This PR finalizes Lite Mode end-to-end and closes the remaining tracked sub-issues on the same branch.

What changed

Lite Mode parity + UX

  • Aligned Lite dispatch/navbar behavior with the main app navbar:
    • centered desktop nav behavior
    • auth controls parity (logged out: login button, logged in: avatar menu)
    • dispatch-time controls and visual consistency
  • Refined layout polish in Lite setup/dispatch flows:
    • consistent right-panel header spacing
    • team/supervisor cards no longer stretch unnecessarily
    • team edit flow integrated via existing modal UX
  • Simplified mode messaging to a single Lite indicator chip.

Dispatch architecture and behavior

  • Consolidated Lite + Cloud dispatch behavior through shared dispatch logic and mode-aware handling.
  • Kept Lite mode local-only behavior intact (no Firebase sync dependency for Lite workflows).

Build, type, and lint hardening

  • Fixed Next.js page export/type validity issues for dispatch routes.
  • Removed/cleaned unused imports, variables, and stale directives that caused build blockers.
  • Updated venue map icon rendering to satisfy Next.js lint requirements.
  • Build now passes cleanly (npm run build).

Docs and release notes

  • Updated Lite mode documentation and workflow notes.
  • Updated changelog Unreleased section with Lite completion + build fixes.

Validation

  • npm run build passes
  • Manual QA for Lite setup/dispatch/nav/auth flows
  • Type/lint blockers from build output resolved

Related issues

Closes #1
Closes #3
Closes #4
Closes #5

evanqua added 6 commits March 18, 2026 22:38
- normalize right-panel header spacing across teams/supervisors/posts/equipment
- prevent team/supervisor cards from stretching; use non-stretch two-column layout
- support team edits via pencil action and existing AddTeamModal flow
- center Lite nav links and add AppNavbar-style right-side auth/profile controls
- document Lite mode workflow and team edit behavior in user guide

Closes #3
- remove unused variable in codesnippet.tsx
- wrap useSearchParams in Suspense boundary for static generation
…persistence

BREAKING: Lite dispatch page is now a thin wrapper around the shared dispatch page

Changes:
- Unified dispatch UI: Both cloud and lite modes use the same DispatchPage component
- Mode-aware persistence: updateEvent() automatically routes to Firestore (cloud) or IndexedDB (lite)
- Lite navbar parity: Matching dispatch controls (Posting Schedule, End Event dropdown)
- Local actions: Clear Event (with confirmation), Export Summary (CSV)
- Clock display: Added next to logo in dispatch navbar (both navbars)
- Logo sizing: Ensured responsive sizing consistency between appnavbar and litenavbar
- Lite mode indicator: Single green 'Lite Mode' tag in dispatch navbar
- Map feature: Disabled in lite mode (cloud-only)
- Auth checks: Bypassed for lite mode
- Data persistence: Extended LiteEventDraft to support posting schedule fields

Files modified:
- src/app/(main)/events/[eventId]/dispatch/page.tsx: Refactored to shared component
- src/app/lite/events/[localEventId]/dispatch/page.tsx: Reduced to 22-line wrapper
- src/components/layout/litenavbar.tsx: Added dispatch controls + logo consistency
- src/lib/liteEventStore.ts: Extended with posting schedule support
- src/app/events.d.ts: Added custom event types

Testing: Visual testing performed to confirm:
- Clock appears next to logo on dispatch pages
- Logo responsive sizing matches between navbars
- Posting Schedule modal opens in lite mode
- Clear Event works with confirmation dialog
- Export Summary generates CSV
- No Firebase calls in lite mode
- All dispatch features functional without cloud sync
@evanqua evanqua merged commit a05458d into main Mar 19, 2026
3 checks passed
@evanqua evanqua deleted the lite-mode branch March 19, 2026 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant