diff --git a/CHANGELOG.md b/CHANGELOG.md index 580b26bd..0cd806b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +# v0.7.3 +## Features +- Adds support for FIT files + +## Bug fixes +- Fixes display issue for the filter panel in the map view + +## Translations +- adds Italian translation (thanks to [lukasitaly](https://github.com/lukasitaly)) + +## Bug fixes +- Icons in dropdown menus are now displaying properly again +- The trail id is now returned when using the upload API endpoint + # v0.7.2 ## Bug fixes - Icons in dropdown menus are now displaying properly again diff --git a/docs/src/content/docs/getting-started/changelog.md b/docs/src/content/docs/getting-started/changelog.md index b56b7913..8d0f7294 100644 --- a/docs/src/content/docs/getting-started/changelog.md +++ b/docs/src/content/docs/getting-started/changelog.md @@ -3,6 +3,17 @@ title: Changelog description: What changed in the last patch? --- +## v0.7.3 +### Features +- Adds support for FIT files + +### Bug fixes +- Fixes display issue for the filter panel in the map view + +### Translations +- adds Italian translation (thanks to [lukasitaly](https://github.com/lukasitaly)) + + ## v0.7.2 ### Bug fixes - Icons in dropdown menus are now displaying properly again diff --git a/web/src/lib/components/trail/trail_card.svelte b/web/src/lib/components/trail/trail_card.svelte index ae8b8ab4..7de38f0c 100644 --- a/web/src/lib/components/trail/trail_card.svelte +++ b/web/src/lib/components/trail/trail_card.svelte @@ -61,7 +61,7 @@ {/if}
- {$_( + {$_( trail.difficulty ?? "?", )}
diff --git a/web/src/lib/components/trail/trail_filter_panel.svelte b/web/src/lib/components/trail/trail_filter_panel.svelte index 2f64711a..54bc289c 100644 --- a/web/src/lib/components/trail/trail_filter_panel.svelte +++ b/web/src/lib/components/trail/trail_filter_panel.svelte @@ -122,7 +122,7 @@ } -
+
{#if showTrailSearch}
diff --git a/web/src/lib/components/trail/trail_info_panel.svelte b/web/src/lib/components/trail/trail_info_panel.svelte index f4bea543..a5fa9d7e 100644 --- a/web/src/lib/components/trail/trail_info_panel.svelte +++ b/web/src/lib/components/trail/trail_info_panel.svelte @@ -161,7 +161,7 @@
@@ -214,7 +214,7 @@ {/if}

- + {$_(trail.difficulty ?? "?")}

@@ -271,7 +271,7 @@ > -
+
{trail.location} {/if}
- {$_( + {$_( trail.difficulty ?? "?", )}
diff --git a/web/src/routes/lists/+page.svelte b/web/src/routes/lists/+page.svelte index 2671b858..f48904cf 100644 --- a/web/src/routes/lists/+page.svelte +++ b/web/src/routes/lists/+page.svelte @@ -103,7 +103,7 @@

${trail.name}

${trail.location ? `
${trail.location}
` : ""} -
${$_(trail.difficulty as string)}
+
${$_(trail.difficulty as string)}
${formatDistance( diff --git a/web/src/routes/map/+page.svelte b/web/src/routes/map/+page.svelte index 10f96683..23cf4ea2 100644 --- a/web/src/routes/map/+page.svelte +++ b/web/src/routes/map/+page.svelte @@ -268,7 +268,7 @@

${trail.name}

${trail.location ? `
${trail.location}
` : ""} -
${$_(trail.difficulty as string)}
+
${$_(trail.difficulty as string)}
${formatDistance( @@ -353,7 +353,7 @@ {/if}
- {#if !showMap || (browser && window.innerWidth >= 768)} + {#if !showFilter && (!showMap || (browser && window.innerWidth >= 768))} {#if $trails.length == 0} {/if} diff --git a/web/src/routes/map/trail/[id]/+page.svelte b/web/src/routes/map/trail/[id]/+page.svelte index 112727ae..39dad32b 100644 --- a/web/src/routes/map/trail/[id]/+page.svelte +++ b/web/src/routes/map/trail/[id]/+page.svelte @@ -16,16 +16,16 @@ {$trail.name} | {$_("map")} | wanderer
-
- + +
+
-
diff --git a/web/src/routes/trails/+page.svelte b/web/src/routes/trails/+page.svelte index a3609227..4c088df2 100644 --- a/web/src/routes/trails/+page.svelte +++ b/web/src/routes/trails/+page.svelte @@ -17,16 +17,16 @@ onMount(() => { if (window.innerWidth < 768) { filterExpanded = false; - } + } }); - async function handleFilterUpdate() { + async function handleFilterUpdate() { const response = await trails_search_filter(filter, 1); pagination.page = response.page; pagination.totalPages = response.totalPages; } - async function paginate(page: number) { + async function paginate(page: number) { pagination.page = page; const response = await trails_search_filter(filter, page); }