opentui(v5b): frame the startup panel in a themed border box
Design-judge top nit: Ink's bordered-box-around-the-session-info is the single biggest 'designed home screen vs log output' signal, and the flat left-aligned version lacked it. Wrap the model/dir/session block + Tools/Skills/MCP sections + summary in a full border box (theme border token); banner+tagline stay above, tips below. 85 pass.
This commit is contained in:
parent
fb04e85a14
commit
82e13ed949
@ -91,8 +91,15 @@ export function HomeHint(props: { store: SessionStore }) {
|
||||
<span style={{ fg: theme().color.muted }}>Nous Research · Messenger of the Digital Gods</span>
|
||||
</text>
|
||||
|
||||
{/* framed session panel (Ink SessionPanel parity) — the bordered box is the
|
||||
key "this is a designed home screen, not log output" signal. */}
|
||||
<box
|
||||
style={{ flexDirection: 'column', marginTop: 1, paddingLeft: 1, paddingRight: 1 }}
|
||||
border
|
||||
borderColor={theme().color.border}
|
||||
>
|
||||
{/* session info block: model · Nous Research / dir / Session id */}
|
||||
<box style={{ flexDirection: 'column', marginTop: 1 }}>
|
||||
<box style={{ flexDirection: 'column' }}>
|
||||
<Show when={info().model}>
|
||||
<text selectable={false}>
|
||||
<span style={{ fg: theme().color.accent }}>{shortModel(info().model!)}</span>
|
||||
@ -162,6 +169,8 @@ export function HomeHint(props: { store: SessionStore }) {
|
||||
</box>
|
||||
)}
|
||||
</Show>
|
||||
</box>
|
||||
{/* end framed session panel */}
|
||||
|
||||
<box style={{ marginTop: 1 }}>
|
||||
<text selectable={false}>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user