fix(notifications): Mark all read waits for the fresh list, is not offered where it cannot act, and a row says it is unread
The mask over a stale read lifted when the write settled, before the refetch landed, and the band took the rows back. A band holding only what asks by its kind (an access-requests nudge) left the button enabled with nothing to do. The unread dot was only drawn: the spoken label now says it, apart from the name Back finds the row by, and follows the row while it holds the focus.
This commit is contained in:
@@ -38,7 +38,7 @@ export const entryKey = (e: InboxEntry): string => keyOf(e.src, e.n.id);
|
||||
/** Whether a client notice asks for the reader by what it is: an access-requests nudge for as long
|
||||
* as it exists (its producer removes it when nothing is pending), a notice that waits on an
|
||||
* interaction until it is dealt with. */
|
||||
const clientAsks = (n: ClientNotif): boolean =>
|
||||
export const clientAsks = (n: ClientNotif): boolean =>
|
||||
n.meta?.kind === "access-requests" || (n.requiresInteraction && !n.dismissed);
|
||||
|
||||
export function orderInbox(
|
||||
|
||||
Reference in New Issue
Block a user