Merge develop

This commit is contained in:
Pieter Vander Vennet 2024-12-31 16:31:55 +01:00
commit 00c233a2eb
188 changed files with 4982 additions and 1745 deletions

View file

@ -28,9 +28,9 @@
(s) =>
(s === "yes" &&
state?.userRelatedState?.osmConnection?.userDetails?.data?.csCount >=
Constants.userJourney.tagsVisibleAt) ||
Constants.userJourney.tagsVisibleAt) ||
s === "always" ||
s === "full",
s === "full"
)
/**
@ -80,9 +80,9 @@
<Checkbox selected={getBooleanStateFor(filter)}>
<Tr t={filter.options[0].question} />
{#if $showTags && filter.options[0].osmTags !== undefined}
<span class="subtle">
{filter.options[0].osmTags.asHumanString()}
</span>
<span class="subtle">
{filter.options[0].osmTags.asHumanString()}
</span>
{/if}
</Checkbox>
{/if}

View file

@ -126,7 +126,7 @@
</svelte:fragment>
<!-- All shown components are set by 'usersettings.json', which happily uses some special visualisations created specifically for it -->
<LoginToggle {state}>
<LoginToggle {state} silentFail>
<div class="flex flex-col" slot="not-logged-in">
<LanguagePicker availableLanguages={theme.language} />
<Tr cls="alert" t={Translations.t.userinfo.notLoggedIn} />
@ -146,7 +146,7 @@
</LoginToggle>
</Page>
<LoginToggle {state}>
<LoginToggle {state} silentFail>
<Page {onlyLink} shown={pg.favourites}>
<svelte:fragment slot="header">
<HeartIcon />