Files
PaperClipAI/ui
Tonio 3d0e0b6dd9 Unify provider sign-in and access controls in Connect account (#23551)
## Thinking Path

> - Paperclip manages work for AI agents.
> - Agents use provider accounts.
> - People connect those accounts in a dialog.
> - Other Models uses a second heading and a separate sign-in action.
> - Reusing the wizard card puts provider instructions and sign-in
controls together.

## Linked Issues or Issue Description

Related PR: #23474.

**What happened?**

Other Models shows duplicate headings and nested access controls.

**Expected behavior**

Show one heading, a full-width provider card, and an access disclosure
below the credentials.

**Steps to reproduce**

Open Connect account, choose Other Models, select xAI, and expand
Change.

## What Changed

Use the wizard sign-in card for subscription providers. Move access
settings below the credentials. Flatten the disclosure and show Done
when it is open.

## Verification

All 35 focused AgentProviderConnection and AdapterLoginChrome tests
passed.

## Risks

Browser redirect and code-based providers use different credential
fields.

## Model Used

OpenAI GPT-6, via Codex.

## Checklist

- [ ] I have included a thinking path that traces from project context
to this change
- [ ] I have specified the model used (with version and capability
details)
- [ ] I have checked ROADMAP.md and confirmed this PR does not duplicate
planned core work
- [x] I have searched GitHub for duplicate or related PRs and linked
them above
- [ ] I have either (a) linked existing issues with `Fixes: #` / `Closes
#` / `Refs #` OR (b) described the issue in-PR following the relevant
issue template
- [ ] I have not referenced internal/instance-local Paperclip issues or
links (only public GitHub `#NNN` / `github.com/paperclipai/paperclip`
URLs)
- [ ] My branch name describes the change (e.g. `docs/...`, `fix/...`)
and contains no internal Paperclip ticket id or instance-derived details
- [ ] I have run tests locally and they pass
- [ ] I have added or updated tests where applicable
- [ ] I have updated relevant documentation to reflect my changes
- [ ] I have considered and documented any risks above
- [ ] All Paperclip CI gates are green
- [ ] Greptile is 5/5 with no open P2s, recommendations, or follow-ups
- [ ] I will address all Greptile and reviewer comments before
requesting merge
2026-12-02 21:34:41 +00:00
..
…

@paperclipai/ui

Published static assets for the Paperclip board UI.

What gets published

The npm package contains the production build under dist/. It does not ship the UI source tree or workspace-only dependencies.

Storybook

Storybook config, stories, and fixtures live under ui/storybook/.

pnpm --filter @paperclipai/ui storybook
pnpm --filter @paperclipai/ui build-storybook

Typical use

Install the package, then serve or copy the built files from node_modules/@paperclipai/ui/dist.

Editor dependency identity

Keep the root and workspace overrides for @codemirror/state, @codemirror/view, and @lezer/common aligned. CodeMirror requires shared extension identity, while Lezer parsers and syntax highlighters require shared NodeProp IDs. Multiple Lezer copies can crash code-block highlighting with tags is not iterable. src/lib/codemirror-single-instance.test.ts checks the installed dependency graph and highlights sample code through the editor's real language dependencies. GitHub Actions owns regeneration of pnpm-lock.yaml.