Moving between tabs and into the app
The connections that cross tab boundaries: Activity rows into Read, shortcuts to Me from empty states, agent links to documents, hm:// deep links, and how the reader keeps a foreign site's context.

Tabs are separate places, but the work crosses them: a notification is about a thread, a comment needs an identity, an agent mentions a document. This page lists every connection that leaves a tab or enters the app from outside, and what the person sees.

The connections

From

Control

What happens

Source

Activity inbox

A notification row

The event is marked read, the Read tab is selected, and the thread or document opens there

activityOpenRow

Activity inbox, email settings

"Open Me"

The Me tab is selected

activityMe

Agents list

"Open Me"

The app goes to /me

row, agentsNavigate

Thread, Compose

"Create", "Create an identity"

New recovery words are requested and the create identity sheet opens

discussOpenCreate

Me

"Agent server" row

The agent server sheet opens over Me

row

Agent session

An hm:// link in a message, or "Open source" on a tool row

The app goes to the doc route for that address

agentsNavigate

Agent session

A web link

The address opens outside the app

agentsNavigate

Outside the app

An hm:// link

The app opens the doc route for that address

app.json

Two ways to cross

The contract uses two different moves, and they feel different.

    Select a tab. select shows another tab as it was left. Activity uses it: an activity row selects Read first and then opens the thread on Read's stack, so Back leads to whatever Read showed before, and the Activity tab still shows the inbox.

    Go to a location. go finds the location: if it is the top of another tab, that tab is shown, otherwise the screen is pushed onto the tab you are in, "whatever tab declares its route" (Exact's grammar). So a screen can appear outside its home tab.

The second move explains three behaviours:

    Create identity opens where you are. From a thread or the compose sheet, the create sheet rises over the Read tab. When the identity is created the sheet closes and you are back at the comment you wanted to write, now able to post (meAfterAdd). Tested by "discuss: composing without an identity prompts to create one".

    Agent server opens over Me. The route belongs to Agents, but the sheet opens over the Me screen and closes back to it. Tested by "polish: Me lists the agent server and its row opens the agent server settings".

    "Open Me" from Agents shows the Me tab when Me is at its root. If Me has a pushed screen on top, Exact's rule implies the Me screen is pushed onto the Agents stack instead (inferred from the rule, not observed).

A shortcut to Me from an empty state: "Open Me" selects the Me tab.
A shortcut that stays in place: "Create an identity" opens the create sheet over this one.

Shortcuts to Me from missing-identity states

Three tabs need an identity to be useful, and each says so and offers the way (Honest state):

Screen

Message

Button

Activity inbox

"No identity selected": "Choose or create an identity in Me to see its replies and mentions."

"Open Me"

Email settings

"Choose an identity to set up email notifications."

"Open Me"

Agents list

"Choose an identity": "Agent servers accept signed requests. Choose or create an identity in Me to start a conversation."

"Open Me"

Thread composer

"Create an identity to reply."

"Create"

Compose sheet

"Create an identity to reply.", "Comments are signed with an identity kept on this device."

"Create an identity"

Reading needs no identity, so Read never sends anyone to Me. The two Discuss prompts go straight to creation because the person is in the middle of a sentence (inferred). The tab-level prompts go to Me, where creating and importing are both offered.

Activity into Read

A row such as "Ana replied to you in Hypermedia" opens that thread in Read. The thread is loaded from the configured server, not from whichever site the reader was last looking at, and Back returns to the document that was on top of Read before. The details are in Reading another site in place.

Links into the app

The app registers the hm scheme. An hm:// link from another app opens the doc route with the whole link as its parameter, and the reader resolves it. Tests cover a link with a version and a block fragment, a site address, and an address that is not a document, which shows the document error state. Web addresses are not registered with the system: a https:// site is opened by typing it into Open site, or by following a link inside the app (Address entry and in-app reading).

Inside a document, a link to an hm:// address or to a page of the same site stays in the app as a pushed document. Other web links are left as ordinary web links (linkTarget).

Keeping a foreign site's context

A person can read a document from a site other than their configured server. Links, the directory, author profiles and comments then follow that site, and no setting changes. The contract's comment states the intent: "Opening a URL is navigation, not a change to the account or the configured server." This has its own page: Reading another site in place.

Not verified

    Documents opened from an agent conversation. go would push the document onto the Agents stack, but the reader's data is requested only for entries on the Read stack (source). Whether such a document loads in place was not observed, and no test covers it.

    A deep link arriving while another tab is selected. The same rule suggests it is pushed on the selected tab. The tests deliver deep links with Read selected.

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

Connections0
Linked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkLinked document ยท Outgoing linkMoving between tabs and into the appMoving between tabs and iโ€ฆ
Citations 0Children & links 39

Loading child documentsโ€ฆ

Connections show where other documents or comments link to this document.

Related documents

Loading connectionsโ€ฆ