The Read tab is where a person spends most of their time in Seed Exact: it opens on the current site's home document and every link, row and card pushes another document onto the same stack. Discussion lives here too, because a comment always belongs to a document. This page maps the tab's screens; each has its own page.
The screens
Screen | Route | Presentation | Screen component | What the person does |
|---|---|---|---|---|
| tab root, pushed |
| Reads a document, then its children and discussion | |
| sheet |
| Types a site address or an | |
| sheet |
| Jumps to any document of the space | |
| pushed |
| Sees who wrote something and what else they publish | |
| pushed |
| Reads one comment thread and replies | |
| pushed |
| Scans every thread on a document | |
| sheet |
| Writes a new top-level comment |
The routes are declared in app.contract L26-L38 and the screen each one renders is chosen in the view's route switch at L750-L768. The first three screen components live in read.contract, the last three in discuss.contract: two packages, one tab.
How the screens connect
flowchart TD
Home["Site home"] -->|"link, row, card, embed"| Doc["Document"]
Doc -->|"link, row, card, embed"| Doc
Doc -->|"Open site"| Open["Open site sheet"]
Open -->|"valid address"| Doc
Doc -->|"list button"| Dir["Directory sheet"]
Dir -->|"row"| Doc
Doc -->|"author avatar"| Author["Author profile"]
Author -->|"Home document, rows"| Doc
Doc -->|"thread row"| Thread["Thread"]
Doc -->|"messages button, N comments, See all"| All["All comments"]
All -->|"thread row"| Thread
Doc -->|"Add a comment"| Compose["Compose sheet"]
Compose -->|"Post"| Thread
Thread -->|"document line"| DocThree things hold the tab together:
One screen for every document. The home and a pushed document are the same DocScreen, so nothing about reading changes as a person moves deeper. See Reading first.
Sheets for short detours. Open site, Directory and Compose are tasks that end by returning to reading, so they slide up as sheets with Cancel or Close. See Stacks, pushes and sheets.
The bar carries the actions. Open site, directory, discussion and share sit in the navigation bar, not in the page. See Navigation bars and their actions.
Other tabs land here as well: an Activity row opens a document or a thread in Read, and an agent's document link does the same. That is covered in Moving between tabs and into the app, and the tab itself in The four tabs.
What the screens are built from
The named components are documented under Read components and Discuss components; the unnamed recurring pieces under Inline parts. Every screen page ends with the complete table of what it uses.
How it is built
Read: screens and components, Discuss: screens and components and Navigation and routes describe the code behind these pages. The full list of screens in every tab is Every screen.
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-READ-01 Open the app to my site's home: The Read tab and its screens, of which the site home is the root
In this section
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime