Labels:
{{ label }}
patch.value.state.status)
:style="`background: color-mix(in srgb-linear, var(--vscode-patch-${status}), var(--vscode-editor-foreground) 5%);`"
>
-
{{ status }}
+
{{ status }}
diff --git a/src/webviews/src/stores/patchDetailStore.ts b/src/webviews/src/stores/patchDetailStore.ts
index 5a7b3bfb..eaac4fd6 100644
--- a/src/webviews/src/stores/patchDetailStore.ts
+++ b/src/webviews/src/stores/patchDetailStore.ts
@@ -30,6 +30,7 @@ export const usePatchDetailStore = defineStore('patch-detail', () => {
)
watchEffect(() => {
+ // TODO: maninak save and restore scroll position
vscode.setState(state.value)
})
diff --git a/src/webviews/vite.config.ts b/src/webviews/vite.config.ts
index 1ab13eb4..0e513129 100644
--- a/src/webviews/vite.config.ts
+++ b/src/webviews/vite.config.ts
@@ -6,7 +6,9 @@ import vue from '@vitejs/plugin-vue'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
- vue(),
+ vue({
+ template: {compilerOptions: { isCustomElement: (tag) => tag.includes("vscode-") }},
+ }),
],
resolve: {
alias: {