Skip to content

feat(web): Settings › People lists guests, their access and devices, and join links - #594

Merged
Jacksondr5 merged 8 commits into
j5code/share-ui-1-share-dialogfrom
j5code/share-ui-2-people-page
Oct 13, 2026
Merged

Jacksondr5 merged 8 commits into
j5code/share-ui-1-share-dialogfrom
j5code/share-ui-2-people-page

Conversation

@Jacksondr5

@Jacksondr5 Jacksondr5 commented Oct 13, 2026 •

Copy link
Copy Markdown
Owner

Problem

Sharing starts from a thread (#592) but there is nowhere to see who is on the server, what each guest reaches and from which devices, or to take any of it back (#535, #541; Shared server AC18 to AC20, AC25, AC28). This is the second of three UI layers of Jackson's 2026-10-12 design (artifacts/share-links-ui-design.md, sections 3, 5 and 6).

What changed

  • Settings › People (apps/web/src/j5/sharing/PeoplePage.tsx), after Connections, listed only for a connection that can read access.
    • Guests: each person with a summary line, expandable to their projects, threads and devices. A member changes a level, stops sharing one thing (X, confirmed), shares more ("Add a project or thread…", no link), renames the person ("Rename…"), makes a link for another device with a chosen lifetime, ends a device, cancels an unused link, and removes the person (confirmed). A name a guest typed themselves carries the "name they gave" tag, which opens "Confirm this name".
    • Join links: each link in force with its thread, time left and how many joined; Details, Copy link and Revoke.
    • Members: a plain list. The row that is the person asking carries the "You" chip and "Change name" (or "Set your name" while the server has none for them).
  • A project's settings page gains a Sharing section: who holds a grant on the project, at what level, and "Share project…".
  • The Share and Join link dialogs gain a picker when opened from the page, and "Open People" joins the palette.

Built differently from the design, each for a stated reason:

Design Built Why
"Clear GitHub picture" Left out Profile pictures come with a later piece.
Level control with Collaborate Collaborate listed, disabled, "coming soon" As the Share dialog: nothing lets a guest send yet. The promotion dialog ("Let … collaborate?") is not built until it can be reached.
Copy on any unused link Only in the browser that made the link The server shows a link's secret once.
The join-link row opens its dialog A "Details" button on the row does A whole-row button would hold two other buttons inside it.
The page updates when someone joins It reads again each time it is opened No people-changed signal from the server yet.
Removal wording "can stay readable for up to an hour" Asked for: an attachment link a guest already opened outlives the grant.

UI changes

Before After
Settings sidebar: People after Connections Settings sidebar: People after Connections, before Settings sidebar: People after Connections, after
Project settings: the Sharing section above Danger, one person holding a grant Project settings: the Sharing section above Danger, one person holding a grant, before Project settings: the Sharing section above Danger, one person holding a grant, after
People, nobody shared with yet new People, nobody shared with yet, after
People: a guest with an unused link, a guest who joined by link with a device, one collapsed new People: a guest with an unused link, a guest who joined by link with a device, one collapsed, after
The same, dark new The same, dark, after
"Confirm this name", from the tag new "Confirm this name", from the tag, after
A guest's menu (Confirm name… only while the tag is on) new A guest's menu (Confirm name… only while the tag is on), after
Remove person…, the confirmation new Remove person…, the confirmation, after
Share opened from the page: the picker new Share opened from the page: the picker, after
"Add a project or thread…" for an existing person: name fixed, no link new "Add a project or thread…" for an existing person: name fixed, no link, after
New device link…, first step new New device link…, first step, after
Members: the owner's name, the You chip and Change name new Members: the owner's name, the You chip and Change name, after

Same seeded test home on base (#592) and head, 1280x800, light unless marked. The device-link dialog's line was reworded after this capture ("One more device for Marco R., who reaches what they already reach."). Not captured: the page for a connection without Manage access (controls disabled) and without access:read (People absent from the sidebar); a server refusal shown as a toast; a project kept on two servers.

Live refresh

Settings › People and a project's Sharing section read again when the server's sharing revision moves, so a change made on another client shows without a reload. A link that expires by time does not move the revision. Checked in a browser after the rebase: a rename made in one tab showed in a second tab.

After review

The "You" row shows the owner's name from the list the page reads, which follows changes made on any client; what the connection was told when it connected only fills the moment before the list has it. Seen live: a rename in one member's client showed in another's People page without a reload.

One unexplained occurrence, recorded: in the tester's re-run a rename once did not show within 15 seconds in either member client and arrived with the next change. The server's trace of that run shows both clients re-reading the list half a second after every rename, that one included, so it was neither a missing read nor an early one. Eight renames in a row, the first straight after both pages opened, each showed in both clients in about half a second. Not reproduced, cause not found.

Live testing

Report: test-reports/j5code-share-ui-2-people-page.md (a peer agent, isolated j5-live-test server, no flags, commit 058bf28f57: this PR's first commit, before the rebases onto the server's later tips and the commits listed under "Since the test").

Verdict: one usability defect, fixed since; everything else exercised passed.

Ran live, member in one browser profile and guests in others:

  • Empty state of each section, then the populated page: every summary line (one thread; two threads and a device; a project and two threads; two devices; joined by link).
  • Each way out, with the guest's browser following without pairing again: X on a thread and on a project (the confirmation says files already opened can stay readable for up to an hour), Revoke on an unused link (opening it then fails), Revoke on a device (that browser returns to pairing), Remove person.
  • "Add a project or thread…": name fixed, no link step, the thread appears in the paired guest's sidebar. "New device link…" from both places: a second device pairs as the same person.
  • "Confirm this name" from the tag and from the menu: Cancel keeps the tag, Confirm clears it, a changed name renames the person. An unconfirmed person's level control is disabled.
  • Join links: Details, Copy link only in the page that made the link, Revoke (new joins refused with 404, people who joined stay).
  • Project settings › Sharing: empty, populated, Share project…, X. "Open People" from the palette.
  • A connection with access:read and no Manage access: the page is readable and every control is disabled. With neither, and as a guest: People is absent from Settings and the page says the connection cannot see who is on the server.
  • Light and dark; 420px wide without overlap; 22 guests, opening and scrolling stayed responsive.
  • One real turn on Claude Haiku in a new thread, shared from the page and read by the guest.
  • restart at rest: guests, a confirmed name, grants, devices and an active join link all retained.

Finding, fixed in fix(web): the sharing picker tells two threads with one title apart: two threads with the same title in one project were identical rows in the picker (choosing each did grant the right thread). Each thread's line now ends with when it was last active.

Since the test, none re-run by the peer: the picker fix; "Rename…" and the chosen link lifetime (seen in a browser by the builder on layer 3's head: a 1-hour link reads "Expires in 1 hour"); the rebases onto the server's later tips.

Not exercised live:

  • The hint "Confirm their name first" on hover (the disabled control was seen).
  • A server refusal shown as a toast; Revoke on a device shows no confirmation, as upstream's Connections page shows none.
  • The desktop app, relay and tunnel connections, a second machine, a project kept on two servers. By hand, if wanted before release: on a disposable server, share a thread to a second machine, add and remove a grant while its browser is open, then revoke that device; repeat over the relay or tunnel route.

Upstream impact

FORK.md case 72; register D33 gains a consequence line. The Settings navigation and route registration were approved by Jackson on 2026-10-12.

File Edit
components/settings/settingsSearch.ts the path in SettingsPath, its label after Connections, its scope, one search item (9 lines)
components/settings/SettingsSidebarNav.tsx the icon, and one condition in the nav filter from J5's useCanSeePeople() (9 lines)
components/settings/SettingsScopeSentence.tsx 1 line: the page has no scope picker, as Connections has none
components/settings/ProjectSettingsPanel.tsx 1 import, 1 mount above Danger
components/settings/ProjectSettingsPanel.test.tsx 2 lines mocking the section, since that test has no connection runtime
routes/settings.people.tsx new J5-owned route file, the shape of settings.skills.tsx
routeTree.gen.ts regenerated

SettingsScopeSentence.tsx, the search item and the test mock go one step past "navigation and route registration"; Jackson confirmed all three on 2026-10-13.

Checklist

  • One concern: the description has no "also"
  • Tests cover the changed behavior (backend changes ship with focused tests)
  • UI changes: before/after screenshots above, and a video for motion or interaction (no motion in this change)
  • Live testing: the section above says what ran live and what did not
  • Upstream-owned files: each one is recorded in FORK.md (case text and file-table row) in this PR
  • Upstream product: any change to what upstream's product does has a human decision linked above and a register entry in docs/j5/product/upstream.md
  • Surfaces: entry points (Settings nav, Settings search, palette, project settings), clients (web and desktop; mobile set aside on Sharing v2: what was set aside #542), reverse states (stop sharing, end a device, cancel a link, revoke a join link, remove a person), connection modes (the page is about the primary server, as Connections is)
  • Docs: no user doc yet; it is written with layer 3, when a guest can use what this makes

Claude Opus 5.5, Claude Code harness in J5 Code.

🤖 Generated with Claude Code

@vercel

vercel Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
j5-code Ready Ready Preview Oct 13, 2026 7:24am UTC

Request Review

@Jacksondr5
Jacksondr5 added this pull request to stack #583 October 13, 2026 04:04
@github-actions github-actions Bot added size:XXL 1,000+ effective changed lines (test files excluded in mixed PRs). vouch:trusted Author is trusted by repo permissions or the VOUCHED list. labels Oct 13, 2026
Jacksondr5 added a commit that referenced this pull request Oct 13, 2026
@Jacksondr5
Jacksondr5 force-pushed the j5code/share-ui-2-people-page branch from 5e53909 to 24e2573 Compare October 13, 2026 04:29
@Jacksondr5
Jacksondr5 force-pushed the j5code/share-ui-2-people-page branch from 24e2573 to 2f79291 Compare October 13, 2026 04:30
@Jacksondr5
Jacksondr5 force-pushed the j5code/share-ui-2-people-page branch from 2f79291 to f4c0678 Compare October 13, 2026 04:34
@Jacksondr5
Jacksondr5 force-pushed the j5code/share-ui-2-people-page branch from f4c0678 to 6e2f77a Compare October 13, 2026 04:45
@Jacksondr5
Jacksondr5 force-pushed the j5code/share-ui-2-people-page branch from 6e2f77a to 175693e Compare October 13, 2026 04:58
@Jacksondr5
Jacksondr5 force-pushed the j5code/share-ui-2-people-page branch from 175693e to b5ebce8 Compare October 13, 2026 04:59
@Jacksondr5
Jacksondr5 force-pushed the j5code/share-ui-2-people-page branch from 893a0f2 to 3d71a15 Compare October 13, 2026 05:13
Jacksondr5 added a commit that referenced this pull request Oct 13, 2026
@Jacksondr5
Jacksondr5 force-pushed the j5code/share-ui-2-people-page branch from 3d71a15 to abc960b Compare October 13, 2026 05:31
@Jacksondr5
Jacksondr5 force-pushed the j5code/share-ui-2-people-page branch from abc960b to 36add7f Compare October 13, 2026 05:58
Jacksondr5 and others added 8 commits October 13, 2026 03:22
…and join links

A project's settings page gains a Sharing section. From the People page a
member confirms a name a guest gave, shares more with them, makes a device
link, ends a device, cancels an unused link, and removes the person; a join
link is made, copied and revoked there. FORK.md case 72 and register D33
record the settings registration and the project page's mount.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…at ends in a full stop

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Confirming a name a guest gave goes through the same request, and a device
link's lifetime is the one chosen.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Each thread's line says when it was last active, as the sidebar does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Settings › People and a project's Sharing section read again when the
server's sharing revision moves, instead of only after this client's own
actions.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The "You" row preferred what this connection was told when it connected over
the list it had just read, so a rename on another client did not show.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Jacksondr5
Jacksondr5 force-pushed the j5code/share-ui-2-people-page branch from 2f50962 to f25d603 Compare October 13, 2026 07:23
@Jacksondr5
Jacksondr5 removed this pull request from stack #583 October 13, 2026 15:20
@Jacksondr5
Jacksondr5 added this pull request to stack #605 October 13, 2026 15:20
@Jacksondr5
Jacksondr5 marked this pull request as ready for review October 13, 2026 20:39
@coderabbitai

coderabbitai Bot commented Oct 13, 2026

Copy link
Copy Markdown

Warning

Review limit reached

  • Run on-demand review

This review includes 27 billable files and costs up to $6.75.

  • Ask an admin to make reviews automatic

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Or wait 21 minutes for your next included review.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 61 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Path: .coderabbit.config.ts
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: ec5429ca-409b-4f64-9a62-bddf4891e837
📥 Commits

Reviewing files that changed from the base of the PR and between 04da366 and f25d603.

📒 Files selected for processing: 27
  • FORK.md
  • apps/web/src/components/settings/ProjectSettingsPanel.test.tsx
  • apps/web/src/components/settings/ProjectSettingsPanel.tsx
  • apps/web/src/components/settings/SettingsScopeSentence.tsx
  • apps/web/src/components/settings/SettingsSidebarNav.tsx
  • apps/web/src/components/settings/settingsSearch.ts
  • apps/web/src/j5/sharing/ConfirmNameTag.tsx
  • apps/web/src/j5/sharing/DeviceLinkDialog.tsx
  • apps/web/src/j5/sharing/JoinLinkDialog.tsx
  • apps/web/src/j5/sharing/LevelControl.tsx
  • apps/web/src/j5/sharing/PeoplePage.tsx
  • apps/web/src/j5/sharing/ProjectSharingSettings.tsx
  • apps/web/src/j5/sharing/RenameDialog.tsx
  • apps/web/src/j5/sharing/ShareDialog.tsx
  • apps/web/src/j5/sharing/ShareLinkPanel.tsx
  • apps/web/src/j5/sharing/SharingDialogHost.tsx
  • apps/web/src/j5/sharing/TargetPicker.tsx
  • apps/web/src/j5/sharing/people.logic.test.ts
  • apps/web/src/j5/sharing/people.logic.ts
  • apps/web/src/j5/sharing/peopleAccess.ts
  • apps/web/src/j5/sharing/sharingDialogs.ts
  • apps/web/src/j5/sharing/sharingManage.ts
  • apps/web/src/j5/sharing/sharingPalette.tsx
  • apps/web/src/routeTree.gen.ts
  • apps/web/src/routes/settings.people.tsx
  • docs/j5/product/upstream.md
  • packages/client-runtime/src/j5/state.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@Jacksondr5
Jacksondr5 merged commit c3d630e into j5/main Oct 13, 2026
62 of 74 checks passed
@Jacksondr5
Jacksondr5 deleted the j5code/share-ui-2-people-page branch October 13, 2026 20:40
Jacksondr5 added a commit that referenced this pull request Nov 23, 2026
Jacksondr5 added a commit that referenced this pull request Nov 23, 2026

This branch was successfully deployed

1 active deployment
Preview — f25d6032 Deployed Oct 13, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL 1,000+ effective changed lines (test files excluded in mixed PRs). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant