feat(places): one place view for All places and the lists

The desktop dialog and the phone sheet of a place show its overview, notes,
tours and bookings, photos and files and its history in tabs, with the tags
of each list and trip, a markdown notes editor, uploads and the place
picture. The rating bar of All places is the rating row the lists show,
with its voters, and votes once for every copy. All places filters by a
lowest rating and sorts by it, and the edit form changes the first copy the
reader may edit, which the server carries to the others.
This commit is contained in:
Maurice
2026-11-29 23:36:43 +00:00
parent 783c98f41e
commit d758f4c592
78 changed files with 5604 additions and 2797 deletions
@@ -8,6 +8,11 @@ import type { PlaceRatingVote } from '@trek/shared'
const STAR_FILL = '#facc15'
/** One filled star in the rating colour, as a filter option's icon. */
export function FilledStar({ size = 13 }: { size?: number }) {
return <Star size={size} color={STAR_FILL} fill={STAR_FILL} />
}
interface StarsProps {
/** Value the stars visualize (average for display, own vote while hovering). */
value: number