Mark as read from notifications widget

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

View file

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

View file

@ -1,8 +1,7 @@
<template> <template>
<MkContainer :style="`height: ${widgetProps.height}px;`" :show-header="widgetProps.showHeader" :scrollable="true" class="mkw-notifications"> <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 #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> <div>
<XNotifications :include-types="widgetProps.includingTypes"/> <XNotifications :include-types="widgetProps.includingTypes"/>
</div> </div>