Library as on the artboard (after Locus Map), renamed from Tracks & Points: find on top (text, kind chips with counts, shown on the map only, Folders | List), one folder level at a time with ← up and the path (the up button takes a dragged item a level up), folders first, an eye per row (● shown, ◐ some of a folder, ○ none; a folder's eye shows or hides everything in it), a track's points open from its ›; while searching or in List every match flat with its folder; totals and Hide all at the foot; uploads, new folders and drops on blank space go to the folder open. The elevation profile docked under the map: the map gives up its height; a route shows its own profile once the terrain is sampled (not while driving) and hides it when cleared
CI / check (push) Successful in 22s
CI / deploy (push) Successful in 18s

This commit is contained in:
randy committed 2026-12-03 09:39:19 +01:00
1 parent fc8564fe3b
commit 91fa9cec41
6 files changed
+545 -155

No files matched your search

+18 -1
View File
@@ -49,7 +49,7 @@
<div id="gpx-panel" class="gpx-panel" hidden<%= " data-sync-client" if sync_client %>>
<div class="gpx-panel__header">
<strong>Tracks &amp; Points</strong>
<strong>Library</strong>
<div class="gpx-panel__actions">
<button type="button" class="gpx-panel__action" data-action="new-folder" title="New folder" aria-label="New folder"></button>
<button type="button" class="gpx-panel__action" data-action="upload" title="Upload GPX/FIT/TCX/GeoJSON file" aria-label="Upload GPX/FIT/TCX/GeoJSON file"></button>
@@ -60,8 +60,25 @@
<input type="file" class="gpx-file-input" accept=".gpx,.fit,.tcx,.geojson,.zip" multiple hidden>
<p class="gpx-upload__status" hidden></p>
<!-- Find first (the Design canvas' Library): filled by GpxPanelControl. -->
<div class="lib-find">
<input type="search" class="lib-find__input" placeholder="Find a point, track, folder…" aria-label="Find in the library">
<div class="lib-find__kinds" role="group" aria-label="What"></div>
<div class="lib-find__bar">
<button type="button" class="lib-chip" data-find="shown" aria-pressed="false">Shown on the map</button>
<span class="lib-seg" role="group" aria-label="View">
<button type="button" data-mode="folders" aria-pressed="true">Folders</button>
<button type="button" data-mode="list" aria-pressed="false">List</button>
</span>
</div>
</div>
<div class="lib-crumb" hidden></div>
<div class="gpx-tree"></div>
<div class="gpx-legend" hidden></div>
<div class="lib-foot">
<span class="lib-foot__text"></span>
<button type="button" data-action="hide-all">Hide all</button>
</div>
</div>
<div id="overlays-panel" class="basemap-panel" hidden>