Skip to content
This repository was archived by the owner on Aug 1, 2025. It is now read-only.

Commit dbf2dd1

Browse files
Update storybook decorator and telemetry
Amp-Thread: https://ampcode.com/threads/T-55761bfa-d64c-4b29-8d93-ee27789829f1 Co-authored-by: Amp <amp@ampcode.com>
1 parent caf0e57 commit dbf2dd1

4 files changed

Lines changed: 0 additions & 40 deletions

File tree

vscode/src/telemetry/onebox.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
export const TELEMETRY_INTENT = {
2-
CHAT: 1,
3-
SEARCH: 2,
4-
}
51

62
export const TELEMETRY_SEARCH_FILTER = {
73
UNKNOWN: 1,

vscode/webviews/storybook/VSCodeStoryDecorator.tsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ const themeClassnames = {
4040
*/
4141
export const VSCodeWebview: Decorator = VSCodeDecorator(styles.containerWebview)
4242

43-
/**
44-
* A decorator that displays a story as though it's in the VS Code sidebar, with VS Code theme
45-
* colors applied.
46-
*/
47-
export const VSCodeSidebar: Decorator = VSCodeDecorator(styles.containerSidebar)
48-
4943
/**
5044
* A decorator that displays a story with VS Code theme colors applied.
5145
*/
@@ -57,12 +51,6 @@ export const VSCodeStandaloneComponent: Decorator = VSCodeDecorator(undefined)
5751
*/
5852
export const VSCodeCell: Decorator = VSCodeDecorator(styles.containerCell)
5953

60-
/**
61-
* A decorator that displays a story with VS Code theme colors applied and maximizes the viewport.
62-
*/
63-
export const VSCodeViewport: (style?: CSSProperties | undefined) => Decorator = style =>
64-
VSCodeDecorator(styles.containerViewport, style)
65-
6654
/**
6755
* A customizable decorator for components with VS Code theme colors applied.
6856
*/

vscode/webviews/tabs/SettingsTab.tsx

Lines changed: 0 additions & 23 deletions
This file was deleted.

vscode/webviews/tabs/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
export { HistoryTab } from './HistoryTab'
2-
export { SettingsTab } from './SettingsTab'
32
export { TabsBar } from './TabsBar'
43
export { View } from './types'

0 commit comments

Comments
 (0)