See replies and mentions for my identity
An identity holder wants one place that lists what other people did that concerns them, with what is new marked.

As an identity holder, I want to see the replies, mentions and updates that concern my identity in one list, so that I notice what needs my attention without checking every document.

Situation

I have an identity selected on this phone. Other people reply to my comments, mention me, and discuss or update documents on my site.

What I do

    Tap the Activity tab.

    Scan the list from the top; the newest is first.

    Pull down, or tap the refresh button in the top bar, to check again.

    Switch identity in Me and come back to see that identity's list.

What I should see

    The Activity inbox has the large title "Activity" and, in the top bar, an email settings button and a refresh button.

    The first row summarises: "2 unread" or "All caught up", with "Mark all read" beside it.

    Notifications are grouped by day under "Today", "Yesterday" or a date such as "Dec 31, 2025", by my phone's local time.

    Each row shows the other person's picture, a grey line saying who did what ("Ana replied to you in", "mentioned you in", "started a discussion in", "started a discussion on your site in", "updated", "commented in"), the document's title in bold, and the time.

    An unread row has a small teal dot before its arrow; read rows have none.

    While it loads for the first time the list says "Loading activity…".

    With nothing to show I see a bell, "Nothing yet", "Replies and mentions for your identities show up here." and a "Refresh" button.

    With no identity, or when the selected identity has no key on this phone, I see "No identity selected", "Choose or create an identity in Me to see its replies and mentions." and "Open Me", which takes me to the Me tab. The top bar buttons are hidden.

    The list checks again by itself every minute while the tab is open.

    After switching identity I see only that identity's rows.

    When there is more than fits, the last line reads "Showing your latest 400 notifications."

When something goes wrong

    If the service cannot be reached, a grey line at the top says why, for example "Notification service is temporarily unavailable.", with "Retry" under it. Rows already loaded stay below. Tapping "Retry", or pulling down, asks again.

Not included

    No push notifications and no unread number on the tab or the app icon: I see news when I open the tab.

    Rows carry no excerpt of the comment (Activity tab screens).

    Only the latest 400 are available; there is no way to load older ones (Current limits).

Trace

Story US-ACT-01, status Shipped. These links are kept in step with the traceability matrix and with the "User stories" section of every page listed here.

Design

Page

Part it plays

Activity tab screens

The Activity tab and what it left out of the original design

Activity inbox

The inbox screen

Activity row and day sections

The summary row, day sections, rows, unread dot and limit note

EmptyState

"No identity selected" and "Nothing yet"

Avatar

The 40 point author face

list and section

The inset-grouped, refreshable list with day headers

header, footer and nav

The large title and the two bar actions

Loading, failure and empty states

Loading, two empty states, failure with Retry

States for every screen

The inbox rows of the state table

Lists

Mail-style grouped list

Every list in the app

The inbox among the app lists

Refresh, haptics and progress

Pull to refresh, the refresh button and the minute refresh

Every bar button

Email notifications and Refresh activity

The four tabs

Activity as one of the four tabs

Moving between tabs and into the app

"Open Me" from the missing-identity state

Honest state: loading, failure and empty

Two empty states for two reasons; a failure does not erase the list

Names, not identifiers

Names and faces, "Someone" as the fallback

Platform colour roles in use

The brand unread dot

Representative strings

The exact inbox wording

Implementation

Page

Part it plays

Activity: notifications

The Activity package overview

Activity: screens, tasks and email settings

ActivityScreen and the tasks that wake, park and tick the inbox

Activity: sources, the ask stamp and the committed snapshot

activityLoad, the ask stamp and the committed snapshot

Activity: snapshot model and grouping

present: day groups, labels, unread, the page shape

Activity: notify client and signed requests

Service discovery and the signed read with limit 400

Crypto: signed envelopes

The signed notify envelope

Identity: key storage

The signer for the selected identity

Notify service

The notify service, its ±20 s time window and errors

Root declarations: Activity and Agents

activityData, activityReady, activityError and the four tasks

State, refresh and stale-reply patterns

The signed-time stamp written by one action

Navigation and routes

The activity tab and "Open Me"

Grants and capabilities

The notify network grants

Contract UI tests

The activity Contract suite

Mock notify service

The local notify fixture and its scenarios

The local test server

The combined local server the tests point at

Bun unit tests

Protocol and presentation unit tests

Current limits and known gaps

The 400 cap with no pagination

Code

File

What

activity.contract L35-110

ActivityScreen

activity.contract L4-33

ActivityRow, ActivityDay, ActivityPage, ActivityReply shapes

app.contract L121-147

pkg:activity declarations and tasks

app.contract L367-383

activityAsk, activityPark, activityPoll, activityRefresh, activityMe

app.contract L770-775

pkg:activity view

src/activity/sources.ts L12-21

activityLoad

src/activity/model.ts L116-193

reasons, emptyPage, isRead, notificationHref, present

src/activity/model.ts L36-83

parseSnapshot

src/activity/client.ts L25-80

jsonFetch, resolveNotifyUrl, notificationRequest

src/crypto/envelopes.ts L68-83

createNotifyEnvelope

tools/mock-notify/routes.ts

the notify fixture used by the tests

Tests

File

What it checks

activity.test.contract

activity: no identity offers Me

activity.test.contract

activity: grouped days, unread dots, mark all read and push a document

activity.test.contract

activity: service errors retry to an empty inbox

activity.test.contract

activity: switching identities scopes the inbox and email draft

activity.test.contract

activity: a minute on the inbox signs one request

app.test.contract

the four tabs are there and each opens

src/activity/__tests__/activity.test.ts

notify protocol and identity adapter; inbox presentation and read states

src/crypto/__tests__/crypto.test.ts

notify state and actions match original fetch bodies

Delivery

Delivered by #1470.

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime

Comments