chore: automated housekeeping...

This commit is contained in:
Pieter Vander Vennet 2025-07-10 18:26:31 +02:00
parent a190597905
commit 087e639020
382 changed files with 29496 additions and 2675 deletions

View file

@ -99,11 +99,8 @@
let failedImagesOpen = pg.failedImages
</script>
<div
class="low-interaction h-full flex flex-col overflow-hidden"
class:hidden={!$shown}
>
<div class="flex justify-between p-2 border-b border-black">
<div class="low-interaction flex h-full flex-col overflow-hidden" class:hidden={!$shown}>
<div class="flex justify-between border-b border-black p-2">
<h2>
<Tr t={t.title} />
</h2>
@ -114,7 +111,7 @@
/>
</div>
<div class="overflow-y-auto flex flex-col gap-y-2 sm:gap-y-3 px-2 sm:px-3">
<div class="flex flex-col gap-y-2 overflow-y-auto px-2 sm:gap-y-3 sm:px-3">
{#if $showHome}
<a class="button primary flex" href={Utils.HomepageLink()}>
<Squares2x2 class="h-10 w-10" />
@ -149,10 +146,10 @@
highlightedRendering={state.guistate.highlightedUserSetting}
layer={usersettingslayer}
selectedElement={{
type: "Feature",
properties: { id: "settings" },
geometry: { type: "Point", coordinates: [0, 0] },
}}
type: "Feature",
properties: { id: "settings" },
geometry: { type: "Point", coordinates: [0, 0] },
}}
{state}
tags={state.userRelatedState.preferencesAsTags}
/>
@ -204,7 +201,11 @@
<LogoutButton osmConnection={state.osmConnection} />
</div>
</LoginToggle>
<LanguagePicker preferredLanguages={state.userRelatedState.osmConnection.userDetails.mapD(ud => ud.languages)}/>
<LanguagePicker
preferredLanguages={state.userRelatedState.osmConnection.userDetails.mapD(
(ud) => ud.languages
)}
/>
</SidebarUnit>
<slot name="theme-tools" />
@ -216,8 +217,12 @@
<Tr t={Translations.t.general.menu.aboutMapComplete} />
</h3>
<a class="flex"
href={$isAndroid ? "https://mapcomplete.org/studio" : window.location.protocol + "//" + window.location.host + "/studio.html"}>
<a
class="flex"
href={$isAndroid
? "https://mapcomplete.org/studio"
: window.location.protocol + "//" + window.location.host + "/studio.html"}
>
<Pencil class="mr-2 h-6 w-6" />
<Tr t={Translations.t.general.morescreen.createYourOwnTheme} />
</a>
@ -246,7 +251,11 @@
<Tr t={Translations.t.general.attribution.openIssueTracker} />
</a>
<a class="flex" href="https://source.mapcomplete.org/MapComplete/MapComplete/" target="_blank">
<a
class="flex"
href="https://source.mapcomplete.org/MapComplete/MapComplete/"
target="_blank"
>
<Forgejo class="h-6 w-6" />
<Tr t={Translations.t.general.attribution.gotoSourceCode} />
</a>
@ -266,7 +275,9 @@
{#if !state.theme}
<a class="flex" href={`./statistics.html`} target="_blank">
<ChartBar class="h-6 w-6" />
<Tr t={Translations.t.general.attribution.openStatistics.Subs({ theme: "MapComplete" })} />
<Tr
t={Translations.t.general.attribution.openStatistics.Subs({ theme: "MapComplete" })}
/>
</a>
{/if}
@ -316,5 +327,4 @@
{/if}
</div>
</div>
</div>