diff --git a/.opencode/plugins/tui-smoke.tsx b/.opencode/plugins/tui-smoke.tsx index 7df8dd2869..68091cde62 100644 --- a/.opencode/plugins/tui-smoke.tsx +++ b/.opencode/plugins/tui-smoke.tsx @@ -431,6 +431,7 @@ const AlertDialog = (props: { api: TuiApi; route: ReturnType; para const Dialog = props.api.ui.Dialog const DialogAlert = props.api.ui.DialogAlert const value = parse(props.params) + const skin = tone(props.api) useKeyboard((evt) => { if (props.api.route.current.name !== props.route.alert) return @@ -441,7 +442,7 @@ const AlertDialog = (props: { api: TuiApi; route: ReturnType; para }) return ( - + props.api.route.navigate(props.route.screen, value)}> ; pa const Dialog = props.api.ui.Dialog const DialogConfirm = props.api.ui.DialogConfirm const value = parse(props.params) + const skin = tone(props.api) useKeyboard((evt) => { if (props.api.route.current.name !== props.route.confirm) return @@ -467,7 +469,7 @@ const ConfirmDialog = (props: { api: TuiApi; route: ReturnType; pa }) return ( - + props.api.route.navigate(props.route.screen, value)}> ; par const Dialog = props.api.ui.Dialog const DialogPrompt = props.api.ui.DialogPrompt const value = parse(props.params) + const skin = tone(props.api) useKeyboard((evt) => { if (props.api.route.current.name !== props.route.prompt) return @@ -496,11 +499,11 @@ const PromptDialog = (props: { api: TuiApi; route: ReturnType; par }) return ( - + props.api.route.navigate(props.route.screen, value)}> Enter a note to store in route params} + description={() => Enter a note to store in route params} value={value.note} onConfirm={(note) => props.api.route.navigate(props.route.screen, { ...value, note, source: "prompt" })} onCancel={() => props.api.route.navigate(props.route.screen, value)} @@ -514,6 +517,7 @@ const SelectDialog = (props: { api: TuiApi; route: ReturnType; par const Dialog = props.api.ui.Dialog const DialogSelect = props.api.ui.DialogSelect const value = parse(props.params) + const skin = tone(props.api) const options = [ { title: "Overview", @@ -541,7 +545,7 @@ const SelectDialog = (props: { api: TuiApi; route: ReturnType; par }) return ( - + props.api.route.navigate(props.route.screen, value)}>