Skip to content

feat(web): guide adding items in the agent environment - #118

Merged
nixuuu merged 1 commit into
devfrom
feat/agent-environment-add-flows
Nov 4, 2026
Merged

nixuuu merged 1 commit into
devfrom
feat/agent-environment-add-flows

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 4, 2026

Copy link
Copy Markdown
Member

Adding documents, skills, marketplaces and plugins in Settings → Agent environment now opens a guided step panel. Before, a form appeared in the page with no motion.

  • The step panel uses the kit Dialog. It fills the screen on phones and is a modal on larger screens. It has a fixed Back/Next footer and a final confirmation.
  • After a save, the list scrolls to the new row, focuses it and briefly highlights it. Reduced motion turns off the scrolling and the highlight.
  • Library rows are now compact two-line rows: name, status chip and icon actions on the first line, metadata on the second. Full text is in tooltips, and delete is in the row menu.
  • The step panel has validation, a plugin checksum confirmation and an upstream check.

Checked in light and dark, at desktop, narrow and phone widths, with short, typical and long names.

@nixuuu
nixuuu merged commit 4db3aa5 into dev Nov 4, 2026
9 checks passed
@nixuuu
nixuuu deleted the feat/agent-environment-add-flows branch November 4, 2026 23:10
nixuuu added a commit that referenced this pull request Nov 10, 2026
Filter empty metadata parts before joining marketplace, plugin, skill and instruction rows on web and mobile.

Fixes: #118
nixuuu added a commit that referenced this pull request Nov 10, 2026
Imported skills can already be in the shared library while remaining
uninstalled. The previous “No computers” and plugin statuses did not
explain assignment, review or linked deletion notices.

This change adds a compact library summary, explicit installation and
review states, and single/bulk skill installation using the existing
all/computers/tags selectors. Assigned rows list their computers and use
the same Synced / Syncing / Error vocabulary as Computers & preview.
Installation counts require current successful worker reports; pending
assignments remain separate.

Web and mobile now offer installation targets during CLI import,
defaulting to the source computer. The additive
`ImportLibraryChoice.skill_selector` field uses the existing
owner-scoped skill save path. Replace preserves existing assignments.
Bulk actions use sequential revision-checked saves, preserve computer
overrides and expose partial results; no new bulk RPC or database
migration is needed.

Linked deletion notices explain shared configuration and offer Keep /
Accept deletion plus bulk deletion resolution. Empty instructions and
previews point to adding and assigning a document. Polish
environment/import documentation is updated.

### Validation

- Passed: `bun install`, `bun run gen:check`, `bun run typecheck`, `bun
run lint`, `bun run format:check`, and the web production build.
- Focused gRPC integration: 19 tests, 361 assertions passed. Covers bulk
installation with actual worker reports, stale revision rejection,
import source/all/tag assignments, Undo and foreign-owner rejection.
- Browser checks used an isolated gateway, worker and Postgres with 25
unassigned skills, 3 installed skills, 2 pending plugins, 3 deletion
notices and empty instructions. Checked light/dark at 1280, 820 and 390
px, long names, single/bulk install, bulk removal, review checksum
gating, import targets, bulk deletion acceptance and empty preview
guidance. Before/after screenshots are kept outside the repository.
Checkbox selection required DOM click fallback after the browser locator
timed out; resulting saves used the real API.
- Full `bun run check:tmp`: **2154 passed, 163 skipped, 2 failed**, with
no Canopy temp entries left. Failures were `scripts/release.test.ts`
(“Release accepts the event SHA…”, default 5 s timeout) and
`tests/integration/linked-thread-liveness.test.ts` (“an event sequence
gap…”). Both files are unchanged. Rerunning those files through
`check:tmp --timeout 30000` passed **28 tests / 253 assertions** with
clean temp cleanup. The initial full run remains red; no baseline run
was used to establish whether these failures predate this branch.
- Mobile changes are JS only. `bunx [email protected] fingerprint:generate
--platform <ios|android> --build-profile production --json
--non-interactive` produced unchanged hashes: iOS
`6ddec9ef559ee0095ac33e94ff9418a942053b17`, Android
`5f6eae3ab278f1cd543e9ed763f923a319b65ec9`. No native device interaction
was verified.

### Copy audit — docs/copy.md §8

| Before | After | Reason |
| --- | --- | --- |
| No computers / 0 computers | Not installed + Install… | Names the
installation state and next action without duplicate counts. |
| Not assigned / Ready to review | Review required + Review | Explains
the prerequisite before installation; checksum confirmation remains
explicit. |
| Restore / Dismiss | Keep / Accept deletion, with shared-library
explanation | Makes the result of each deletion decision clear. |
| No instructions assigned to this destination | Add a document and
assign it to see what agents receive. | Gives the next step in the empty
library and preview. |
| Instructions, skills and plugins that follow your computers… | Assign
library items to computers or tags to install them. | States the
assign-to-install rule directly. |

New copy uses sentence case, active action labels, correct file plurals
and text statuses. Errors and stale-library messages give a recovery
action; bulk deletion confirmation names the shared-library and
installation effects. Short, typical and long names were checked at
desktop, narrow and phone widths in both themes. Status meanings do not
depend on color or icons. No new humorous copy was added. Picker
ellipses and the longer install-all label follow the explicit task
wording.

Fixes: #118
Related: #455
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