MCPcopy Index your code
hub / github.com/Opencode-DCP/opencode-dynamic-context-pruning / showDialog

Function showDialog

lib/tui/modals.tsx:10–13  ·  view source on GitHub ↗
(api: TuiApi, render: () => any)

Source from the content-addressed store, hash-verified

8import type { TuiApi } from "./types"
9
10export function showDialog(api: TuiApi, render: () => any) {
11 api.ui.dialog.setSize("xlarge")
12 api.ui.dialog.replace(render)
13}
14
15export function showStatusDialog(api: TuiApi, title: string, eyebrow: string, message: string) {
16 showDialog(api, () => (

Callers 4

showStatusDialogFunction · 0.85
openContextModalFunction · 0.85
openStatsModalFunction · 0.85
openPanelModalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected