ssb: The unread line can be used to make everything above read.

This commit is contained in:
2025-07-02 18:19:34 -04:00
parent ef21dc6ae8
commit ef389f2ba2
3 changed files with 15 additions and 2 deletions

View File

@ -233,7 +233,19 @@ class TfNewsElement extends LitElement {
<div
style="border-bottom: 1px solid #f00; flex: 1; align-self: center; height: 1px"
></div>
<div style="color: #f00; padding: 8px">unread</div>
<button
style="color: #f00; padding: 8px"
class="w3-button"
@click=${() =>
this.dispatchEvent(
new Event('mark_all_read', {
bubbles: true,
composed: true,
})
)}
>
unread
</button>
<div
style="border-bottom: 1px solid #f00; flex: 1; align-self: center; height: 1px"
></div>