Trail Table: Allow multi select (#264)

* trail table: multi select

* trail cards: multi select

* multiselect for list view, several multiselect fixes, code beautify

* remove unnecessary imports, move code to simplify diff of trail_dropdown

* translations

* fix horizontal scrollbar in table view

* direct export from list, multiselect export

* fix refreshing share icon after sharing from trail list

* fix adding multiple trails to a trail-list

* fix retrieving mail notification template

* migrates to v0.17.0

---------

Co-authored-by: Christian Beutel <>
This commit is contained in:
slothful-vassal
2025-06-26 15:28:27 +02:00
committed by GitHub
parent 9b6522ec21
commit 06f6d58b5e
22 changed files with 666 additions and 163 deletions

View File

@@ -401,7 +401,10 @@
{#if ($currentUser && $currentUser.actor == trail.author) || trail.expand?.trail_share_via_trail?.length || trail.public}
<div class="flex flex-col items-center gap-y-2">
<LikeButton {trail}></LikeButton>
<TrailDropdown {trail} {mode} {handle}></TrailDropdown>
<TrailDropdown
trails={new Set<Trail>([trail])}
{mode}
></TrailDropdown>
</div>
{/if}
</div>
@@ -658,7 +661,7 @@
elevationProfileContainer={"epc-container"}
showStyleSwitcher={false}
showFullscreen={true}
mapOptions={{ attributionControl: {compact: true} }}
mapOptions={{ attributionControl: { compact: true } }}
onfullscreen={toggleMapFullScreen}
bind:markers
></MapWithElevationMaplibre>