diff --git a/src/routes/_actions/mention.js b/src/routes/_actions/mention.js new file mode 100644 index 0000000..68bf84e --- /dev/null +++ b/src/routes/_actions/mention.js @@ -0,0 +1,8 @@ +import { importShowComposeDialog } from '../_components/dialog/asyncDialogs' +import { store } from '../_store/store' + +export async function composeNewStatusMentioning (account) { + store.setComposeData('dialog', { text: `@${account.acct} ` }) + let showComposeDialog = await importShowComposeDialog() + showComposeDialog() +} diff --git a/src/routes/_components/NavShortcuts.html b/src/routes/_components/NavShortcuts.html index 0a476bd..a2aed5b 100644 --- a/src/routes/_components/NavShortcuts.html +++ b/src/routes/_components/NavShortcuts.html @@ -6,6 +6,7 @@ + {#each $navPages as navPage, i} {/each} @@ -13,7 +14,7 @@ \ No newline at end of file + diff --git a/src/routes/_components/status/Notification.html b/src/routes/_components/status/Notification.html index be6e3eb..f6ce14d 100644 --- a/src/routes/_components/status/Notification.html +++ b/src/routes/_components/status/Notification.html @@ -3,14 +3,19 @@ {status} {notification} {active} {shortcutScope} on:recalculateHeight /> {:else} -
+ {#if shortcutScope} + + + {/if}
{/if}