Repository navigation
Commit 6d32a8f
Show every date at a place, and stop scrolling re-rendering the app
Two dates at one venue drew two markers at identical coordinates — one
exactly on top of the other. The one underneath was invisible and
impossible to click, so a place you'd been to twice looked like you'd
been once. Dates now share a pin when they share a place: the pin wears
a count and the card lists all of them, soonest first. Verified with two
dates at one venue: seven placed dates draw six pins, and the card shows
both. The no-key fallback map had the identical bug, so both now use one
grouping function.
Scrolling stuttered on phones because cards and calendar cells set state
on mouseenter — and touchscreens synthesise mouse events, so dragging a
finger past a card re-rendered the whole app, all 42 calendar cells
included, mid-scroll. Hover handlers are now only attached on a real
pointer, where hover-linking actually means something. DateCard is
memoised so an unrelated change doesn't rebuild every card, and the
hover lift is behind a hover media query.
Also aliased the maps library's Map import: it shadows the global Map
constructor, which silently broke `new Map()` in that file.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 7d3bf21 commit 6d32a8f
7 files changed
Lines changed: 538 additions & 97 deletions
File tree
- src
- components
- lib
- screens
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
257 | | - | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
258 | 259 | | |
259 | 260 | | |
260 | 261 | | |
| |||
271 | 272 | | |
272 | 273 | | |
273 | 274 | | |
274 | | - | |
| 275 | + | |
275 | 276 | | |
276 | 277 | | |
277 | 278 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
271 | 272 | | |
272 | 273 | | |
273 | 274 | | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
0 commit comments