Everything a person sees in Seed Exact is composed from the pieces listed here. This page is the index of the toolkit and it mirrors the code at the documented commit exactly: nothing here is invented, and no component in the Contract files is left out. Use it to find the page for a piece, to see where a piece is defined, and to see which screens use it.
How the pieces stack
The root App component draws the tab bar and one screen component per route. A screen component composes named components, platform parts, inline parts and primitive elements. Named components are themselves made of primitives, and sometimes of other named components.
graph TD
App["App: routes, tabs, route switch"] --> Screens["23 screen components"]
Screens --> Named["18 named components"]
Screens --> Inline["14 inline parts"]
Screens --> Parts["2 platform parts"]
Screens --> Prims["19 primitive elements"]
Named --> Named
Named --> Parts
Named --> Prims
Inline --> Named
Inline --> Prims
Parts --> Prims
Prims --> UIKit["what iOS draws"]The sections of the toolkit: Shared components, Read components, Discuss components, Agents components, Profile components, then Platform parts, Primitive elements and Inline parts. How the files are organised in code is covered by Shared components and visual design and The Contract language.
Named components
Every component in the Contract files that is not a screen. "Used by" lists the screens where the component appears, directly or through another named component (given in brackets).
Component | Defined in | Used by |
|---|---|---|
Document, Author profile, Activity inbox, Agents list, Me, Identity detail; Thread and All comments (through DiscussBubble); FacePile | ||
Document (through DocCard and the embed card of DocBlockView) | ||
Document and Author profile (through DocItemRow and DocCard) | ||
Document (child list, and query blocks through DocBlockView), Author profile | ||
Document (through DocBlockView) | ||
Thread; Document and All comments (through DiscussThreadRow) | ||
All comments; Document (through DiscussSection) | ||
Document (through DocDiscussionSlot) | ||
Agent session (through AgentRunCard) | ||
Platform parts
Imported with use โฆ from "exact:content". They are written in Contract inside the framework (contract/lib/content.contract), not in the app.
Part | Imported by | Used by |
|---|---|---|
| AgentRunCard, so the Agent session | |
| Activity inbox twice, Agent session once |
Primitive elements
The Contract tags the app writes, with the number of times each is written across the nine Contract files (counted at the documented commit, test files excluded).
Element | Uses | Page |
|---|---|---|
| 369 | |
| 117 | |
| 104 | |
| 64 | |
| 61 | |
| 52 | |
| 49 | |
| 22 | |
| 19 | |
| 15 | |
| 15 | |
| 6 | |
| 6 | |
| 5 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
label, nav and summary are never written as elements. See Primitive elements for what stands in their place.
Inline parts
Recurring pieces of UI that are written inline inside a screen component. They are not components in code. Each page gives the exact line range.
Inline part | Lives in |
|---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
Screen components
One per route. Each is documented as a screen page, not in the toolkit. The root component App (app.contract L74-L942) holds the route switch that renders them and the tab bar; its view is described on main, the app shell and in App structure.
Screen component | Defined in | Screen page |
|---|---|---|
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
|
One more route exists in code and has no screen component: agents-test ("/agents-test"), a test fixture written inline in the route switch (app.contract L860-L866). It is not part of the product UI.
Where the code differs from DESIGN.md
The component table in the app's DESIGN.md (v1.1) is out of date. It lists DocRow and CommentBubble in ui.contract; the built components are DocItemRow in read.contract and DiscussBubble in discuss.contract, and ui.contract holds only Avatar and StatusLine. It gives StatusLine(failed, retry); the built props are message and retry. Twelve of the 18 named components are not mentioned in it at all.
In this section
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime