MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / renderPickerView

Method renderPickerView

internal/tui/app.go:2098–2110  ·  view source on GitHub ↗

renderPickerView renders the PRD picker modal overlaid on the dashboard.

()

Source from the content-addressed store, hash-verified

2096
2097// renderPickerView renders the PRD picker modal overlaid on the dashboard.
2098func (a *App) renderPickerView() string {
2099 // Render the dashboard in the background
2100 background := a.renderDashboard()
2101
2102 // Overlay the picker
2103 a.picker.SetSize(a.width, a.height)
2104 picker := a.picker.Render()
2105
2106 // For now, just return the picker (it handles centering)
2107 // In a more sophisticated implementation, we could overlay with transparency
2108 _ = background
2109 return picker
2110}
2111
2112// GetPRD returns the current PRD.
2113func (a *App) GetPRD() *prd.PRD {

Callers 1

ViewMethod · 0.95

Calls 3

renderDashboardMethod · 0.95
SetSizeMethod · 0.45
RenderMethod · 0.45

Tested by

no test coverage detected