Skip to content

feat(frontend): professional visual overhaul (v1) - #54

Merged
AayushCharde merged 2 commits into
mainfrom
feat/visual-overhaul
Jun 17, 2026
Merged

feat(frontend): professional visual overhaul (v1)#54
AayushCharde merged 2 commits into
mainfrom
feat/visual-overhaul

Conversation

@AayushCharde

Copy link
Copy Markdown
Owner

What (PR-2 — professional visual overhaul, v1)

A redesign pass on top of the Volt Green theme. Preview-driven — review the Vercel preview and we iterate.

Highlights

  • Markers: cluster bubbles (with counts) when zoomed out; individual chargers colored by reliability; a selected-charger highlight ring.
  • Map UI: Nominatim place search (open/free — jump to any city); a reliability legend; refined search+filter control bar.
  • Charger detail panel (redesigned): photo header with name overlay, reliability status badge, graceful "Unknown" fields (location-only chargers look complete), connector chips, "Get directions", disabled "Report status" (Phase 2 hint), source + coordinates, slide-in transition, mobile bottom-sheet.
  • Welcome card on first visit; refined empty/loading states.
  • Design tokens: motion + status-badge; pure tested helpers (format.ts, geocode.ts).

Verification

svelte-check 0 · lint clean · 36 tests · build OK.

Review

This is v1 — open the Vercel preview (clusters → zoom → select a charger; try the detail panel on an OCM vs a location-only OSM charger; search a city; toggle light/dark; mobile). Tell me what to tweak and I'll iterate before merging.

Preview-driven redesign building on the Volt Green theme.

- Markers: cluster bubbles when zoomed out (with counts), individual chargers
  colored by reliability, and a selected-charger highlight ring.
- Map UI: Nominatim place search (open/free) to jump to a city; a reliability
  legend; refined control bar (search + filters) with elevation.
- StationDetail: full redesign — photo header with name overlay, reliability
  status badge, graceful "Unknown" fields (location-only chargers look
  complete), connector chips, "Get directions" link, disabled "Report status"
  (Phase 2 hint), source + coordinates, slide-in transition, mobile sheet.
- A dismissible welcome/intro card (first visit).
- Design tokens: motion (ease/duration) + a status-badge style.
- Pure, tested helpers: format.ts (power/coords/directions/source/name) and
  geocode.ts (Nominatim URL + parse + fetch).

Verified: svelte-check 0, lint, 36 tests, build. Ships to a Vercel preview for review.
@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
plugpulse Ready Ready Preview, Comment Jun 17, 2026 9:40am

End-to-end everywhere:
- Default API base is now the deployed Render backend, so the app shows real
  data on production, Vercel previews, and shared links even when
  PUBLIC_API_BASE_URL isn't set for that environment. Local dev overrides via
  .env (PUBLIC_API_BASE_URL=http://localhost:8000).

Polish:
- Header brand mark (rounded badge) + subtle header shadow.
- Soft reliability-colored halo under each charger marker for depth.

Tests updated to assert against DEFAULT_API_BASE. svelte-check 0, lint, 36 tests, build OK.
@AayushCharde
AayushCharde merged commit 1df6f8f into main Jun 17, 2026
9 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.

1 participant