summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authoropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-02-02 00:18:42 +0000
committeropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-02-02 00:18:42 +0000
commitfa75d922ed9e9c7e11ae43baec933674d5d3012d (patch)
treeb7a2bce79b6df746bbafdb7d7938468dea646c2e
parente445dc07464d75c893756f6e256c1755d9e2285e (diff)
downloadopencode-fa75d922ed9e9c7e11ae43baec933674d5d3012d.tar.gz
opencode-fa75d922ed9e9c7e11ae43baec933674d5d3012d.zip
chore: generate
-rw-r--r--packages/app/src/components/settings-general.tsx39
-rw-r--r--packages/app/src/components/settings-models.tsx7
-rw-r--r--packages/app/src/components/settings-providers.tsx7
-rw-r--r--packages/ui/src/components/list.tsx10
-rw-r--r--packages/ui/src/components/scroll-fade.tsx2
-rw-r--r--packages/ui/src/components/scroll-reveal.tsx4
6 files changed, 39 insertions, 30 deletions
diff --git a/packages/app/src/components/settings-general.tsx b/packages/app/src/components/settings-general.tsx
index 1d82a24c3..a0251ed41 100644
--- a/packages/app/src/components/settings-general.tsx
+++ b/packages/app/src/components/settings-general.tsx
@@ -61,24 +61,24 @@ export const SettingsGeneral: Component = () => {
const actions =
platform.update && platform.restart
? [
- {
- label: language.t("toast.update.action.installRestart"),
- onClick: async () => {
- await platform.update!()
- await platform.restart!()
+ {
+ label: language.t("toast.update.action.installRestart"),
+ onClick: async () => {
+ await platform.update!()
+ await platform.restart!()
+ },
},
- },
- {
- label: language.t("toast.update.action.notYet"),
- onClick: "dismiss" as const,
- },
- ]
+ {
+ label: language.t("toast.update.action.notYet"),
+ onClick: "dismiss" as const,
+ },
+ ]
: [
- {
- label: language.t("toast.update.action.notYet"),
- onClick: "dismiss" as const,
- },
- ]
+ {
+ label: language.t("toast.update.action.notYet"),
+ onClick: "dismiss" as const,
+ },
+ ]
showToast({
persistent: true,
@@ -131,7 +131,12 @@ export const SettingsGeneral: Component = () => {
const soundOptions = [...SOUND_OPTIONS]
return (
- <ScrollFade direction="vertical" fadeStartSize={0} fadeEndSize={16} class="flex flex-col h-full overflow-y-auto no-scrollbar px-4 pb-10 sm:px-10 sm:pb-10">
+ <ScrollFade
+ direction="vertical"
+ fadeStartSize={0}
+ fadeEndSize={16}
+ class="flex flex-col h-full overflow-y-auto no-scrollbar px-4 pb-10 sm:px-10 sm:pb-10"
+ >
<div class="sticky top-0 z-10 bg-[linear-gradient(to_bottom,var(--surface-raised-stronger-non-alpha)_calc(100%_-_24px),transparent)]">
<div class="flex flex-col gap-1 pt-6 pb-8">
<h2 class="text-16-medium text-text-strong">{language.t("settings.tab.general")}</h2>
diff --git a/packages/app/src/components/settings-models.tsx b/packages/app/src/components/settings-models.tsx
index c9453ddf1..0ee5caf73 100644
--- a/packages/app/src/components/settings-models.tsx
+++ b/packages/app/src/components/settings-models.tsx
@@ -40,7 +40,12 @@ export const SettingsModels: Component = () => {
})
return (
- <ScrollFade direction="vertical" fadeStartSize={0} fadeEndSize={16} class="flex flex-col h-full overflow-y-auto no-scrollbar px-4 pb-10 sm:px-10 sm:pb-10">
+ <ScrollFade
+ direction="vertical"
+ fadeStartSize={0}
+ fadeEndSize={16}
+ class="flex flex-col h-full overflow-y-auto no-scrollbar px-4 pb-10 sm:px-10 sm:pb-10"
+ >
<div class="sticky top-0 z-10 bg-[linear-gradient(to_bottom,var(--surface-raised-stronger-non-alpha)_calc(100%_-_24px),transparent)]">
<div class="flex flex-col gap-4 pt-6 pb-6 max-w-[720px]">
<h2 class="text-16-medium text-text-strong">{language.t("settings.models.title")}</h2>
diff --git a/packages/app/src/components/settings-providers.tsx b/packages/app/src/components/settings-providers.tsx
index 71a0bb6ad..2460534c0 100644
--- a/packages/app/src/components/settings-providers.tsx
+++ b/packages/app/src/components/settings-providers.tsx
@@ -116,7 +116,12 @@ export const SettingsProviders: Component = () => {
}
return (
- <ScrollFade direction="vertical" fadeStartSize={0} fadeEndSize={16} class="flex flex-col h-full overflow-y-auto no-scrollbar px-4 pb-10 sm:px-10 sm:pb-10">
+ <ScrollFade
+ direction="vertical"
+ fadeStartSize={0}
+ fadeEndSize={16}
+ class="flex flex-col h-full overflow-y-auto no-scrollbar px-4 pb-10 sm:px-10 sm:pb-10"
+ >
<div class="sticky top-0 z-10 bg-[linear-gradient(to_bottom,var(--surface-raised-stronger-non-alpha)_calc(100%_-_24px),transparent)]">
<div class="flex flex-col gap-1 pt-6 pb-8 max-w-[720px]">
<h2 class="text-16-medium text-text-strong">{language.t("settings.providers.title")}</h2>
diff --git a/packages/ui/src/components/list.tsx b/packages/ui/src/components/list.tsx
index 950ad3d20..15854180e 100644
--- a/packages/ui/src/components/list.tsx
+++ b/packages/ui/src/components/list.tsx
@@ -268,13 +268,7 @@ export function List<T>(props: ListProps<T> & { ref?: (ref: ListRef) => void })
{searchAction()}
</div>
</Show>
- <ScrollFade
- ref={setScrollRef}
- direction="vertical"
- fadeStartSize={0}
- fadeEndSize={20}
- data-slot="list-scroll"
- >
+ <ScrollFade ref={setScrollRef} direction="vertical" fadeStartSize={0} fadeEndSize={20} data-slot="list-scroll">
<Show
when={flat().length > 0 || showAdd()}
fallback={
@@ -349,4 +343,4 @@ export function List<T>(props: ListProps<T> & { ref?: (ref: ListRef) => void })
</ScrollFade>
</div>
)
-} \ No newline at end of file
+}
diff --git a/packages/ui/src/components/scroll-fade.tsx b/packages/ui/src/components/scroll-fade.tsx
index d190d67c0..97f0339e8 100644
--- a/packages/ui/src/components/scroll-fade.tsx
+++ b/packages/ui/src/components/scroll-fade.tsx
@@ -203,4 +203,4 @@ export function ScrollFade(props: ScrollFadeProps) {
{local.children}
</div>
)
-} \ No newline at end of file
+}
diff --git a/packages/ui/src/components/scroll-reveal.tsx b/packages/ui/src/components/scroll-reveal.tsx
index 7eb7ff37f..6e5072dc8 100644
--- a/packages/ui/src/components/scroll-reveal.tsx
+++ b/packages/ui/src/components/scroll-reveal.tsx
@@ -1,5 +1,5 @@
import { type JSX, onCleanup, splitProps } from "solid-js"
-import { ScrollFade, type ScrollFadeProps } from './scroll-fade'
+import { ScrollFade, type ScrollFadeProps } from "./scroll-fade"
const SCROLL_SPEED = 60
const PAUSE_DURATION = 800
@@ -138,4 +138,4 @@ export function ScrollReveal(props: ScrollRevealProps) {
{local.children}
</ScrollFade>
)
-} \ No newline at end of file
+}