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 |
|---|---|---|---|---|
|
|
| Tab root, large title | |
|
|
| Pushed, inline title |
The routes are declared in app.contract lines 39 to 42 and rendered at lines 770 to 775.
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 --> meThe 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).
US-ACT-01 See replies and mentions for my identity: The Activity tab and what it left out of the original design
US-ACT-04 Get notifications by email: Why this screen exists although the original design did not mention it
Related
Parent: Screens. Map of all screens: Every screen.
Inline parts: Activity row and day sections, Email status panel. Shared: Avatar.
Implementation: Activity: screens, tasks and email settings, Activity: snapshot model and grouping, Notify service.
Source: activity.contract.
In this section
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime