## Thinking Path > - Paperclip is the open source app people use to manage AI agents for work > - The built-in Google Workspace connection lets agents use Gmail, Drive (with Docs, Sheets and Slides) and Calendar > - Before Google consent, the user chooses services in the "Connect Google Workspace" picker > - On Nov 17, #21998 added two text sections to this picker: "What agents can do" and "How your data is used" > - On Nov 24, the owner decided that this screen must show only the privacy policy link and no other explanatory text > - This pull request removes the two sections and keeps the privacy policy link directly under the service rows > - The benefit is a short picker that matches the owner decision, for new setup and reconnect, in the Apps flow and the task-hosted flow ## Linked Issues or Issue Description Refs #22634 **What happened?** The "Connect Google Workspace" picker shows a "What agents can do" section and a "How your data is used" section with bullet sentences. The text changes with the selected services. The owner does not want this text on the screen. **What did you expect to happen?** The picker shows the title, the three service rows (each with its access select and switch), the privacy policy link, and Cancel / Continue. It shows no other explanatory text for any selection. **Steps to reproduce** 1. Open Apps and start a Google Workspace connection, or reconnect an existing one. 2. Look at the service picker with all services on, with read only, and with one service on. 3. See the two text sections above the footer. ## What Changed - `ui/src/features/connections/GoogleWorkspaceServices.tsx`: remove the `DataUseDisclosure` block. The privacy policy link ("Read our privacy policy, including how we meet Google's Limited Use requirements", `https://paperclip.ing/privacy`, new tab) now sits directly under the service rows for every selection, including no selection. The "Select at least one service to continue." status stays. The screen-reader description "Choose the Google services to connect." stays. The URL constant `GOOGLE_WORKSPACE_PRIVACY_POLICY_URL` moves into this file. - `ui/src/features/connections/googleWorkspaceDisclosure.ts`: deleted. Nothing else used the copy builder. - `ui/src/features/connections/GoogleWorkspaceServices.test.tsx` (new; the earlier suite was removed in #22729): for all services read & write, all read only, one service, and no service, the dialog has no section headings, no lists and none of the removed sentences. The link has its text, href and new-tab target. The dialog keeps its accessible description. Continue stays disabled with no service and submits the chosen services. - `ui/storybook/stories/connection-setup/google-workspace-services.stories.tsx`: the `ProductionPickerReadOnly` play test now checks that the removed text is absent and the link is present. - Docs: `doc/memory/google-connector-memory.md` gets a dated Nov 24 decision row with the risk. `doc/plans/2026-11-17-google-workspace-production-checklist.md` no longer claims a disclosure in the picker. `doc/plans/2026-11-17-google-workspace-code-fixes.md` item 1 records the removal. The dialog now contains, from top to bottom: the Google Workspace logo and the title "Connect Google Workspace"; Gmail, Drive ("Docs, Sheets, and Slides") and Calendar rows, each with a "Read only / Read & write" select and a switch; the privacy policy link; the empty-selection status (only with no service on); Cancel and Continue in one footer row. ## Verification - Red first: the new test ran against the old picker and 4 of 5 tests failed (removed text present; link absent with no selection). After the change all 5 pass. - `cd ui && npx vitest run src/features/connections src/pages/apps/AppDetail.test.tsx src/pages/apps/AppsConnect.test.tsx`: 8 files, 55 tests pass. - `cd ui && node ../scripts/run-tsc.mjs -b`: no errors. - `node scripts/check-token-gates.mjs`: all gates clean. `node scripts/check-test-budget.mjs --files ui/src/features/connections/GoogleWorkspaceServices.test.tsx`: pass. `node scripts/storybook-catalog.mjs`: pass. - `pnpm verify` exits 2 (a global CI input changed: `doc/memory/google-connector-memory.md`). Required CI supplies the broad coverage. - Headless Playwright against Storybook dev, `ProductionPicker` at 1280x900 (dark and light) and `ProductionPickerMobile` at 375x812: the dialog text is only the title, the rows, the link, and Cancel / Continue. No horizontal scroll at 375 px. The link sits under the last row with the normal dialog gap, and the footer follows it. - Before: see the screenshots in #21998. After: the same dialog without the two text sections. ## Risks - Policy risk: Google's user data policy may expect a disclosure inside the product, before consent, that says what data the app uses and how. A privacy policy link alone may not satisfy a Google reviewer. This is a recorded owner decision. If a reviewer asks, restore a short statement above the link. The memory doc and the production checklist record this risk. - Low code risk. The change is UI-only. Selection, requested scopes, OAuth and saved state do not change. > For core feature work, check [`ROADMAP.md`](ROADMAP.md) first and discuss it in `#dev` before opening the PR. Feature PRs that overlap with planned core work may need to be redirected — check the roadmap first. See `CONTRIBUTING.md`. ## Model Used - Claude Opus 5.5 (`claude-opus-5-5`), Anthropic, in Claude Code with tool use (shell, file edits, headless browser). ## Checklist - [x] I have included a thinking path that traces from project context to this change - [x] I have specified the model used (with version and capability details) - [x] 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 - [x] I have either (a) linked existing issues with `Fixes: #` / `Closes #` / `Refs #` OR (b) described the issue in-PR following the relevant issue template - [x] I have not referenced internal/instance-local Paperclip issues or links (only public GitHub `#NNN` / `github.com/paperclipai/paperclip` URLs) - [x] My branch name describes the change (e.g. `docs/...`, `fix/...`) and contains no internal Paperclip ticket id or instance-derived details - [x] I have run tests locally and they pass - [x] I have added or updated tests where applicable - [x] I have updated relevant documentation to reflect my changes - [x] 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 - [x] I will address all Greptile and reviewer comments before requesting merge 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@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.