Mark as read from notifications widget

This commit is contained in:
ThatOneCalculator 2022-07-23 19:10:05 -07:00
parent bc59ef7cd4
commit d3752aad4a
2 changed files with 3 additions and 4 deletions

View file

@ -2,6 +2,7 @@
### Planned
- Better sidebar/navbar
- MFM button
- Better Messaging UI
- Classic mode make instance icon bring up new context menu
@ -15,7 +16,6 @@
- Improve notifications (content is too verbose)
- Non-nyaify cat mode
- Timeline filters
- Mark as read from notifications widget
- "Bubble" timeline
- Filter notifications by user
@ -25,7 +25,7 @@
- Saner defaults
- Star as default reaction
- Rosé Pine by default
- Better sidebar/navbar
- Mark as read from notifications widget
- Better welcome screen (not logged in)
- Ability to turn off "Connection lost" message
- Annoying Orange search

View file

@ -1,8 +1,7 @@
<template>
<MkContainer :style="`height: ${widgetProps.height}px;`" :show-header="widgetProps.showHeader" :scrollable="true" class="mkw-notifications">
<template #header><i class="fas fa-bell"></i>{{ i18n.ts.notifications }}</template>
<template #func><button class="_button" @click="configureNotification()"><i class="fas fa-cog"></i></button></template>
<template #func><button class="_button" @click="os.apiWithDialog('notifications/mark-all-as-read');"><i class="fas fa-check"></i></button><button class="_button" @click="configureNotification()"><i class="fas fa-cog"></i></button></template>
<div>
<XNotifications :include-types="widgetProps.includingTypes"/>
</div>