added docs for how to enable it

This commit is contained in:
KevinWh0 2024-06-17 21:24:13 +02:00 committed by dakkar
parent 88eb1a0c53
commit a3ff0510fb
4 changed files with 22 additions and 4 deletions

View file

@ -139,10 +139,22 @@ SPDX-License-Identifier: AGPL-3.0-only
<div class="_gaps_m">
<MkSwitch v-model="useGroupedNotifications">{{ i18n.ts.useGroupedNotifications }}</MkSwitch>
<MkSwitch v-model="enableFaviconNotificationDot">{{ i18n.ts.enableFaviconNotificationDot }}</MkSwitch>
<MkSwitch v-model="enableFaviconNotificationDot">
{{ i18n.ts.enableFaviconNotificationDot }}
<template #caption>
<I18n :src="i18n.ts.notificationDotNotWorkingAdvice" tag="span">
<template #link>
<MkLink url="https://docs.joinsharkey.org/docs/install/faqs/#ive-enabled-the-notification-dot-but-it-doesnt-show">{{ i18n.ts._mfm.link }}</MkLink>
</template>
</I18n>
</template>
</MkSwitch>
<!-- {{ i18n.ts.notificationDotNotWorkingAdvice }} -->
<!-- notificationDotNotWorkingAdvice -->
<MkButton @click="testNotificationDot">{{ i18n.ts.verifyNotificationDotWorkingButton }}</MkButton>
<!-- <p class="caption">Testing Testing</p> -->
<MkRadios v-model="notificationPosition">
<template #label>{{ i18n.ts.position }}</template>
<option value="leftTop"><i class="ph-arrow-up-left ph-bold ph-lg"></i> {{ i18n.ts.leftTop }}</option>
@ -569,9 +581,9 @@ async function testNotificationDot() {
const success = await worksOnInstance();
if (success) {
os.toast(i18n.ts.notificationDotWorking);
os.toast(i18n.ts.notificationDotWorking, true);
} else {
os.toast(i18n.ts.notificationDotNotWorking);
os.toast(i18n.ts.notificationDotNotWorking, true);
}
}