Skip to content

Maps UI Redesign - #73

Merged
yubimamiya merged 1 commit into
stagingfrom
yubi_11-29_mapui
Nov 30, 2026
Merged

yubimamiya merged 1 commit into
stagingfrom
yubi_11-29_mapui

Conversation

@yubimamiya

Copy link
Copy Markdown

Map UI redesign

Brings the Map page in line with the updated Figma ("Map View Default", FORUM dashboard design → Draft 4). The map now runs full-screen with the navigation and controls floating over it. The bottom timeline is thicker and now filters by a date range.

What changed

Floating chrome (only on /map; every other page is unchanged)

  • The map fills the whole viewport. The pale border the sidebar and header used to leave on the left and top is gone.
  • The sidebar floats over the map as a frosted-glass bar (50% turquoise wash, 25px backdrop blur). Its icons sit in exactly the same spots as the regular sidebar on other pages.
  • The notification bell and account menu hover top-right. There's no "New event" link on the map. The header strip lets clicks through, so the map can still be dragged underneath it.

Search and filters

  • The search bar and the Friends Going / Happening Now chips hover top-left, restyled to match the Figma search bar.
  • The placeholder reads "Search events or locations" rather than the mock's "Search for a location on campus", because the field also matches event titles, orgs and tags.

Timeline

  • Thicker bar: 13px track, 27px day nodes, 42px nodes for Today and each Monday, 14px labels (TUE / 03/24). The Now/Future legend is its own card.
  • Shows today plus two weeks (15 days). page.tsx fetches the same window via a shared TIMELINE_DAYS constant.
  • The turquoise stretch is now a date range. The map shows every event inside it; before, it only showed the last day.
    • Drag either end to move the start or the end.
    • Click a day to end the range there, or click one before the start to move the start back.
    • With an end focused, ← and → move it one day.
    • "Show all dates" resets the range. With no range chosen, the whole timeline is turquoise and every event shows.
  • Range filtering happens in the browser on the events already loaded, so there are no backend changes.

Event pop-up

  • Opening an event dims the page behind it with a light gray scrim, so the card stands out from the map and the timeline.

Shared components touched

  • AppChrome, AppHeader and FloatingSidebar each gained a variant: "default" | "floating". The floating variant is only used on routes in FLOATING_CHROME_ROUTES (currently /map); default renders exactly as before.
  • SearchInput gained an optional inputClassName prop for styling the <input> itself. Existing callers are unaffected.

Testing

  • bun run check, tsc --noEmit and next build pass.
  • Checked logged in, in headless Chrome:
    • Sidebar icon positions on /map match /explore exactly.
    • Pins update with the range (e.g. Sun–Thu vs. one day).
    • Both ends drag and an end can't cross the other.
    • Clicking before the start extends the range backwards.
    • The event pop-up opens over the scrim.
    • No console errors.

To try it

  1. bun run --cwd apps/web dev, then open /map.
  2. Click a day, then drag both ends of the turquoise stretch and check the pins change.
  3. Open an event and check the background dims.
  4. Check that /explore and the other pages look unchanged, including "New event" in the header.
  5. Resize narrow and check the search bar stays clear of the bell and avatar.

Map redesign per the Figma "Map View Default" frame.

- App shell: /map drops the sidebar/header gutter so the map runs full
  bleed. The sidebar floats as a frosted-glass bar (icons aligned with the
  docked sidebar on other pages); the bell and account menu hover top-right
  with no New event link.
- Search bar and Friends Going / Happening Now filters hover top-left,
  restyled to the Figma searchbar.
- Timeline: thicker bar with a 13px track, larger day nodes (Today and
  Mondays emphasised), 14px labels, and the pin legend as its own card.
  Shows today plus two weeks; the page fetches the same window.
- The turquoise stretch is now a date range: every day in it is shown on
  the map. Drag either end to move it, click a day to extend it, arrow
  keys move a focused end, and "Show all dates" resets it.
- The event detail dialog dims the page behind it so the card stands out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@yubimamiya
yubimamiya merged commit 867c673 into staging Nov 30, 2026
1 check passed
@yubimamiya
yubimamiya deleted the yubi_11-29_mapui branch November 30, 2026 15:37
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