anomalist
11 months ago
23 changed files with 532 additions and 220 deletions
@ -0,0 +1,3 @@ |
|||||
|
export const isGlobalUri = (uri: string) => { |
||||
|
return uri && uri.match(new RegExp(/^[A-Za-z][A-Za-z0-9+.-]+:/)); |
||||
|
}; |
@ -0,0 +1,65 @@ |
|||||
|
<template> |
||||
|
<QuickNav /> |
||||
|
|
||||
|
<!-- CONTENT --> |
||||
|
<section id="Content" class="p-6 pb-24"> |
||||
|
<!-- Breadcrumb --> |
||||
|
<div class="mb-8"> |
||||
|
<!-- Back --> |
||||
|
<div class="text-lg text-center font-light relative px-7"> |
||||
|
<h1 |
||||
|
class="text-lg text-center px-2 py-1 absolute -left-2 -top-1" |
||||
|
@click="$router.back()" |
||||
|
> |
||||
|
<fa icon="chevron-left" class="fa-fw"></fa> |
||||
|
</h1> |
||||
|
</div> |
||||
|
|
||||
|
<!-- Heading --> |
||||
|
<h1 id="ViewHeading" class="text-4xl text-center font-light pt-4 mb-8"> |
||||
|
Notification Help |
||||
|
</h1> |
||||
|
</div> |
||||
|
|
||||
|
<div> |
||||
|
<p>Here are things to try to get notifications working.</p> |
||||
|
|
||||
|
<h2 class="text-xl font-semibold">Test</h2> |
||||
|
<p>Somehow call the service-worker self.showNotification</p> |
||||
|
|
||||
|
<h2 class="text-xl font-semibold">Check OS-level permissions</h2> |
||||
|
<p> |
||||
|
Walk-throughs & screenshots, maybe for all combinations of OS & |
||||
|
browsers. |
||||
|
</p> |
||||
|
|
||||
|
<h2 class="text-xl font-semibold">Check browser-level permissions</h2> |
||||
|
<p>Walk-throughs & screenshots for browser settings</p> |
||||
|
|
||||
|
<h2 class="text-xl font-semibold">Explain full reset to start again</h2> |
||||
|
<p> |
||||
|
Walk-throughs for clearing everything & subscribing anew to get a |
||||
|
message |
||||
|
</p> |
||||
|
|
||||
|
<h2 class="text-xl font-semibold">Auto-detection</h2> |
||||
|
<p>Show results of auto-detection whether they're turned on</p> |
||||
|
</div> |
||||
|
</section> |
||||
|
</template> |
||||
|
<script lang="ts"> |
||||
|
import { Component, Vue } from "vue-facing-decorator"; |
||||
|
import QuickNav from "@/components/QuickNav.vue"; |
||||
|
|
||||
|
interface Notification { |
||||
|
group: string; |
||||
|
type: string; |
||||
|
title: string; |
||||
|
text: string; |
||||
|
} |
||||
|
|
||||
|
@Component({ components: { QuickNav } }) |
||||
|
export default class HelpNotificationsView extends Vue { |
||||
|
$notify!: (notification: Notification, timeout?: number) => void; |
||||
|
} |
||||
|
</script> |
Loading…
Reference in new issue