Skip to content

feat(kin): Docs gets a Map view of what is being worked on, on web and phone - #1024

Merged
GLDRoger merged 24 commits into
kinfrom
join/kin-docs-map
Nov 27, 2026
Merged

GLDRoger merged 24 commits into
kinfrom
join/kin-docs-map

Conversation

@GLDRoger

Copy link
Copy Markdown
Owner

This lands a teammate's pull request #496, "Docs gets a Map view of what is being worked on, on web and phone", with its commits unchanged; the teammate's authorship is the credit. Docs gains a Map view (List | Map on web, a Show Map button on the phone) that lays out tasks in progress and docs by project.

What the walk and the re-look showed: the first walk found who-sees-what sound (a teammate's Map showed exactly the pages in their Docs list) and web performance clean up to 300 pages, with one must-fix, web Back losing the map's spot and zoom. The re-look on today's kin passed all eight steps with that fix in, and failed only the feature map's phone proof count, because kin had gained a phone feature of its own since the pull request last took in kin.

Set at the join, in its own follow-up commit: PHONE_PROOF_GAP in the feature map test 105 → 106, the number the failing test printed on this line. No other change to the teammate's work.

T3-file: apps/mobile/src/components/ui/AppBar.tsx: a bar without search clears the search a previous screen set (from the pull request).
T3-file: apps/mobile/src/components/ui/AppSymbol.android.tsx: the map icon on Android (from the pull request).

People-change: Docs gets a Map view (a toolbar button on the phone, List | Map on web) showing tasks in progress and docs by project; Back from a page opened on the Map returns to the same spot and zoom; the canvas tab is gone. Agents: none.

Checks: checked as part of train 8b's one check at the tip.

🤖 Generated with Claude Code

Surajsm60720 and others added 24 commits November 18, 2026 11:25
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
K174 stores the company's card places, its widgets and each person's last
look. KinCanvas reads them through each viewer's own Work view (seenBy), so a
member never receives a place, widget, change or activity key for an entry
they can't read. The live stream sends the snapshot, then placed/unplaced,
widget values on Work changes (250 ms bursts), removals and activity. Writes
are owner-level only. KinPresence lists an org's status lines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A Canvas tab for anyone with Work access: pan, pinch and double-tap zoom
on the UI thread, semantic zoom, long-press to move a card, peek sheet
with Open / Ask / widgets / Put back, select and Ask, since-you-last-looked,
agent activity chips, Needs you, and the three lenses. Native dock label
and icon on both platforms, and a kin/:environmentId/:orgId/canvas link.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A drop no longer re-flows a group or lands under another card.
- The phone fits the whole board on first open, with readable titles.
- At a glance counts open tasks once; web stops spinning when Work is refused or offline.
- A demoted co-owner's live canvas starts over on the next update.
- The return read scans at most 2,000 changes; moved cards don't flick back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A drop stored at most 200 places, so on a bigger canvas the rest re-flowed.
One call now takes up to 5000. Widgets carry their source's kind from the
server, so a project countdown opens the project.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Canvas migration renumbered to 213 (kin took 174); its duplicate wake-up
index is dropped in favour of K177. Navigation follows kin: the canvas is
no longer a dock tab while it moves into Docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
No server side, migration or stream of its own: the map is laid out by
project from the viewer's own task, doc and project reads, and an agent at
work is Kin's own working flag. Arranging, widgets, lens and since are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… phone

Each project is an area with its tasks in progress (or all open) and its
docs; an agent at work is marked and its area comes first. Zoomed out the
map shows areas and kinds, close in a doc's card shows its text, and a tap
reads it over the map. Replaces the canvas tab.

People-change: Docs gets a Map view (toolbar button on phone, List | Map on web) showing tasks in progress and docs by project; the canvas tab is gone. Agents: none.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… failed

Switching In progress / All open no longer blanks the map and resets the
camera: only a map with nothing to show waits or fails whole. A source that
fails, or stops paging, is named in the map's notice with Retry. A viewer
who can't read Work or Docs no longer sends those reads. The phone reads at
most three doc bodies at the nearest zoom, as web does, and pinch stops at
the same zoom as the buttons. The web peek is labelled by its title.

People-change: on the Docs map, the In progress / All open switch keeps the map on screen instead of showing a spinner; "Some tasks didn't load" or "Some docs didn't load" appears with Retry when a read fails; on the phone, only the three docs nearest the middle show their text when zoomed all the way in. Agents: none.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Measured on the bench seed (300 open tasks, 100 docs, 1440 wide):
- Cards newly in view mount 40 a frame, nearest the middle first, so
  zooming out over hundreds no longer commits them in one long task.
- Dots are a CSS state on the map layer, not a re-render of every card.
  Long tasks over a zoom in and out fell from about 260 ms (worst 152 ms)
  to about 130 ms (worst 95 ms).
- Zoomed out, a title shows only the whole lines its card holds, on web
  and phone, so none is cut through; the key gives way to it.
- An area's line gives way to its name, so a one-card project keeps its
  name instead of spilling its line into the next area.

People-change: on the Docs map zoomed out, card titles are no longer cut off mid-line and a small project's name no longer runs into the next area. Agents: none.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Feature map phone-proof gap: kin's 104 plus this branch's docs-map
entry, 105.

People-change: none

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kin's work list now takes an Effect read; the map's task read follows
its Tasks screens.

People-change: none

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The tech lead's review of #496: a double tap on a card opened its peek
and zoomed away from it at once; now the second tap does nothing there,
and on the open map it still zooms. The phone's zoom worklets live in
one file with a test that holds them to the shared camera. Docs keeps
each company's List or Map choice when the company changes without a
remount, and map cards get a target that stays the same between renders.

People-change: on the phone, double-tapping a card on the Docs map opens its peek without zooming. Agents: none.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Docs' list or map view sits next to kin's invalid-link notice in the
place's search and props. `view` joins the owned search keys, so a bad
value is cleared, not passed to the page.

People-change: none

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The web map made a new camera each time it mounted and fit the overview,
so Back from an opened page lost where the person was. The camera now
keeps where each company's map was left this session, as the phone's
does, and a held camera isn't refitted on first sizing. A map that
leaves mid-flight keeps where it was headed.

People-change: on web, Back from a page opened on the Docs map returns to the same spot and zoom. Agents: none.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
T3-file: apps/mobile/src/components/ui/AppBar.tsx: a bar without search clears the search a previous screen set (from the branch)
T3-file: apps/mobile/src/components/ui/AppSymbol.android.tsx: map icon on Android (from the branch)
People-change: none
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pull request #496 adds the Docs map, a phone feature with no proof under
apps/mobile yet, and kin added another one on its own since the pull
request last took in kin. The joined line counts 106; the failing test
printed "expected 106 to be 105".

People-change: none
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
People-change: none

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@GLDRoger
GLDRoger merged commit 6e7e0a8 into kin Nov 27, 2026
14 of 17 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-27T22:55:06.631541Z 0b958b6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants