feat(collections): say what a place is without having to click it

Asked for in the feedback: a wall of round photos, and no way to tell which is
which. "Name and displaying any custom rating would be very beneficial to quickly
seeing what is around you that is of interest."

The collections map had hover switched off. The trip map has told you what a
marker is all along, so it is the same card, now shared instead of written a
third time — it already existed twice, once per renderer, and the two had drifted
in how they resolved the category icon.

The card gains a rating, and so does the marker itself: an amber disc on the
corner where a trip's day numbers sit. The two never collide, because a numbered
stop is one already planned into a day and this answers the question asked before
that. Nothing is drawn for an unrated place, which is most of them.

Also from this round: the place panel's labels move up beside the name, where a
label belongs — read three rows down they looked like a property of the rating
above them — and the rating gets a ground of its own so a line of stars stops
reading as another row of text.
This commit is contained in:
Maurice
2026-09-13 16:49:20 +02:00
parent 8fc788fb37
commit 1a95157b3a
10 changed files with 215 additions and 78 deletions
+3
View File
@@ -6,5 +6,8 @@ export interface MapHoverInfo {
category_name?: string | null
category_icon?: string | null
category_color?: string | null
/** Everyone's average, where the surface keeps ratings. On the collections map it
* is the one thing a round photo cannot tell you: which of these you liked. */
rating_avg?: number | null
routeVia?: RouteVia
}