mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 18:34:09 +00:00
feat(places): notes, visits, tours, history, tags and location in the place sheet, saved lists on the trip map
Both the desktop sheet and the phone sheet of All places show the place's location as a badge, its notes per list, its visits from trips (hidden without any), linked tours and bookings, its change history and the reader's own tags with a tag filter. A trip map can show the places of linked lists and add one to the trip. All places reloads after a list is added or removed.
This commit is contained in:
@@ -149,7 +149,7 @@ function CategoryChoice({ on, onClick, tile, label }: { on: boolean; onClick: ()
|
||||
function ShowDropdown(S: SidebarState) {
|
||||
const { t, filter, pickFilter, filterCounts } = S
|
||||
const [open, setOpen] = useState(false)
|
||||
const tabs = placesFilterTabs(t, S.hasTracks)
|
||||
const tabs = placesFilterTabs(t, S.hasTracks, S.hasVisited)
|
||||
const current = tabs.find(tab => tab.id === filter) ?? tabs[0]
|
||||
return (
|
||||
<FilterDropdown
|
||||
|
||||
Reference in New Issue
Block a user