Activity tab screens
The two screens of the Activity tab: the inbox of replies and mentions for the current identity, and the email notification settings.

The Activity tab answers one question: what happened to me. It is the second of the four tabs (symbol notifications, label "Activity"). It holds an inbox of notifications for the current identity and one settings screen that turns the same notifications into email.

The screens

Route

Path

Screen component

Presentation

Page

activity

/activity

ActivityScreen

Tab root, large title

Activity inbox

activity-email

/activity/email

ActivityEmailScreen

Pushed, inline title

Email notification settings

The routes are declared in app.contract lines 39 to 42 and rendered at lines 770 to 775.

The tab before any identity exists: a whole screen empty state with the person symbol, "No identity selected", one sentence, and a bordered "Open Me" button.

How they connect

flowchart LR inbox["Activity inbox"] --> email["Email notification settings"] inbox --> doc["Document in Read"] inbox --> thread["Thread in Read"] inbox --> me["Me tab"] email --> me

    The settings symbol in the inbox's bar pushes the email settings.

    Tapping a notification marks it read and leaves the tab: it opens the Document or the comment Thread in the Read tab. This is the main cross tab move in the app, described in Moving between tabs and into the app.

    With no identity, both screens point to Me.

What the screens share

    They belong to the current identity. Notifications and the email address are per identity. Switching identity in Me changes both screens, and nothing from another identity is ever shown.

    Native lists. Both are inset grouped lists. The inbox groups rows by day with section headers "Today", "Yesterday", then dates.

    Honest state. Loading is a quiet line, a failure has "Retry", and the two whole screen cases (no identity, nothing yet) use EmptyState. See Honest state.

    People by name. Rows start with the author's name and avatar. An unnamed author is "Someone", never a key (Names, not identifiers).

Differences from DESIGN.md

    DESIGN.md lists one Activity route. The built app adds activity-email.

    DESIGN.md describes rows as avatar, "Ana replied in Doc title", snippet, time. The built row has no snippet (the notification service does not supply one) and puts the document title on its own line in headline type.

    DESIGN.md's empty wording, "Nothing yet. Replies and mentions for your identities show up here.", is used as the empty state's title and message.

User stories

This page helps deliver these stories. Each story lists this page in its Trace, so the link holds in both directions (traceability).

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

Unsubscribe anytime

Comments