Skip to content

fix(crew): say when setup replaced Crew, and badge a channel's owner correctly - #409

Merged
Broccolito merged 2 commits into
mainfrom
fix/crew-gui-edges
Oct 18, 2026
Merged

Broccolito merged 2 commits into
mainfrom
fix/crew-gui-edges

Conversation

@Broccolito

Copy link
Copy Markdown
Collaborator

Summary

Two Crew GUI defects found by the final regression run on main after #403-#407, each confirmed by an independent reproduction.

  • Setup says when it replaced Crew.
    • Before: when setup replaced a same-version copy of the Crew program in the person's account, the install step still read "Installed Crew 1.93.0." The manual says Crew names the copy it replaced, and the CLI already did.
    • Now: the renderer keeps the daemon's previous_kept and a version-checked upgraded_from.version. The step reads "Updated Crew from {a} to {b}.", "Replaced Crew {v} with this computer's copy of it." or "Replaced the Crew program with Crew {v}.", chosen in the same order as the CLI's setup_summary_lines. A fresh install and a reuse read as before.
    • Where: ui/desktop/src/components/crew/onboarding/setup.ts, SetupProgress.tsx, copy.ts. docs/crew/hosting-a-workspace.md lists the three sentences.
  • "Channel owner", not "Team owner". Add people for a channel badged the channel's owner "Team owner". The label now follows the dialog's target (AddPeopleDialog.tsx), as the Members tab already did. This one is pre-existing (also in v1.93.0).

Every changed line serves one of these two fixes.

Test plan

  • New tests in setup.test.ts, SetupProgress.test.tsx and AddPeopleDialog.test.tsx. Each one fails with its fix undone.
  • vitest on both folders: 842 passed.
  • npm run lint:check, npm run format:check, node scripts/check-crew-manual.mjs and scripts/check-no-goose-block.sh pass.
  • Live on leo.ucsf.edu, a scratch Crew server, with a dev window of this build:
    • wanjun's Join showed "Replaced Crew 1.93.0 with this computer's copy of it." while the server kept the old copy as .previous.
    • Add people showed "Channel owner" on the channel's owner and no badge on the team owner.
  • Not changed, by design: navigating away during host setup closes the Host dialog. The setup keeps running on the server, and hosting again with the same name picks it up.

🤖 Generated with Claude Code

…s Channel owner

Setup in the desktop app read "Installed Crew 1.93.0." after replacing a
same-version copy with other bytes, though the daemon reported the
replacement (outcome.upgraded_from, previous_kept) and the CLI and the
manual both say which copy was replaced. setup.ts now keeps
previous_kept and a validated upgraded_from.version, and the install
step says "Replaced Crew {v} with this computer's copy of it." or
"Updated Crew from {a} to {b}.", as the CLI's setup_summary_lines does.
A fresh install and a reuse read as before.

Add people to a channel marked the channel's owner "Team owner": the
label tested whether a team had resolved, which is always true for a
channel. It now follows the dialog's target, so a channel's owner is
"Channel owner" as on the Members tab, and a team keeps "Team owner".
@Broccolito
Broccolito merged commit c756504 into main Oct 18, 2026
17 checks passed
@Broccolito
Broccolito deleted the fix/crew-gui-edges branch October 18, 2026 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant