Commit fc966af
feat(chat)!: remove remaining Cloud upsells + apply formatter drift (3.53.11)
Task 1 — purge remaining upsell plumbing:
* ChatView.tsx — drop the dead useCloudUpsell hook call + <CloudUpsellDialog>
render (nothing in ChatView calls openUpsell after the prior banner removal).
* webviewMessageHandler.ts — remove dismissUpsell / getDismissedUpsells cases.
No remaining webview code dispatches them.
* vscode-extension-host.ts — drop "dismissUpsell" / "getDismissedUpsells"
from WebviewMessage types, "dismissedUpsells" from ExtensionMessage +
ExtensionState picks, and the upsellId?/list? fields that only existed
for these handlers.
* global-settings.ts — drop dismissedUpsells: z.array(z.string()).optional()
from globalSettingsSchema.
* All 18 cloud.json locales — drop the "upsell" object (its only two keys,
autoApprovePowerUser and taskList, were already orphaned with no code
references after the banner removal).
Kept intact (legitimate user-initiated flows):
* useCloudUpsell hook + CloudUpsellDialog component — still used by
ShareButton to prompt sign-in when user clicks Share unauthenticated.
* renderCloudBenefitsContent — still rendered by CloudView as the sign-in
landing page on the Cloud tab itself, which users open intentionally.
Task 2 — formatter drift cleanup:
Re-ran `pnpm format` across the monorepo. The prettier-driven whitespace
changes (inlined single-line imports, removed stray blank lines in catch
blocks) are purely cosmetic — no functional impact. Both check-types and
lint pass cleanly across all 13 packages. Full test sweep: 1253 webview
+ 5431 src + 115 types tests pass.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ceb2f26 commit fc966af
83 files changed
Lines changed: 74 additions & 279 deletions
File tree
- packages/types/src
- src
- __tests__
- api/providers
- __tests__
- fetchers/__tests__
- core
- condense/__tests__
- config
- context-management
- __tests__
- task/__tests__
- tools/__tests__
- webview
- __tests__
- services
- code-index
- __tests__
- embedders
- __tests__
- processors
- __tests__
- marketplace/__tests__
- webview-ui/src
- components
- chat
- __tests__
- marketplace/components
- settings
- providers
- ui
- hooks
- i18n/locales
- ca
- de
- en
- es
- fr
- hi
- id
- it
- ja
- ko
- nl
- pl
- pt-BR
- ru
- tr
- vi
- zh-CN
- zh-TW
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | 90 | | |
92 | 91 | | |
93 | 92 | | |
| |||
178 | 177 | | |
179 | 178 | | |
180 | 179 | | |
181 | | - | |
182 | 180 | | |
183 | 181 | | |
184 | 182 | | |
| |||
266 | 264 | | |
267 | 265 | | |
268 | 266 | | |
269 | | - | |
270 | 267 | | |
271 | 268 | | |
272 | 269 | | |
| |||
562 | 559 | | |
563 | 560 | | |
564 | 561 | | |
565 | | - | |
566 | | - | |
567 | 562 | | |
568 | 563 | | |
569 | 564 | | |
| |||
659 | 654 | | |
660 | 655 | | |
661 | 656 | | |
662 | | - | |
663 | | - | |
664 | 657 | | |
665 | 658 | | |
666 | 659 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
244 | 243 | | |
245 | 244 | | |
246 | 245 | | |
247 | | - | |
248 | 246 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1100 | 1100 | | |
1101 | 1101 | | |
1102 | 1102 | | |
1103 | | - | |
1104 | 1103 | | |
1105 | 1104 | | |
1106 | 1105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 12 | + | |
18 | 13 | | |
19 | 14 | | |
20 | 15 | | |
| |||
331 | 326 | | |
332 | 327 | | |
333 | 328 | | |
334 | | - | |
335 | 329 | | |
336 | 330 | | |
337 | 331 | | |
| |||
437 | 431 | | |
438 | 432 | | |
439 | 433 | | |
440 | | - | |
441 | 434 | | |
442 | 435 | | |
443 | 436 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 5 | + | |
11 | 6 | | |
12 | 7 | | |
13 | 8 | | |
| |||
0 commit comments