fix(tui): clarify session move copy
This commit is contained in:
parent
eec6cd5234
commit
a1d15645a1
2 changed files with 5 additions and 5 deletions
|
|
@ -328,24 +328,24 @@ export function DialogMoveSession(props: DialogMoveSessionProps) {
|
||||||
showError() ? (
|
showError() ? (
|
||||||
<box paddingLeft={4} paddingRight={4} paddingTop={1}>
|
<box paddingLeft={4} paddingRight={4} paddingTop={1}>
|
||||||
<text fg={theme.error} attributes={TextAttributes.BOLD}>
|
<text fg={theme.error} attributes={TextAttributes.BOLD}>
|
||||||
Could not load project directories
|
Could not load directories
|
||||||
</text>
|
</text>
|
||||||
<text fg={theme.textMuted}>{errorMessage(loadError())}</text>
|
<text fg={theme.textMuted}>{errorMessage(loadError())}</text>
|
||||||
<text fg={theme.textMuted}>Close and reopen Move session to try again.</text>
|
<text fg={theme.textMuted}>Close and reopen Move session to try again.</text>
|
||||||
</box>
|
</box>
|
||||||
) : directories.loading || loadedProject.loading ? (
|
) : directories.loading || loadedProject.loading ? (
|
||||||
<box paddingLeft={4} paddingRight={4} paddingTop={1}>
|
<box paddingLeft={4} paddingRight={4} paddingTop={1}>
|
||||||
<text fg={theme.textMuted}>Loading project directories…</text>
|
<text fg={theme.textMuted}>Loading directories…</text>
|
||||||
</box>
|
</box>
|
||||||
) : (
|
) : (
|
||||||
<box paddingLeft={4} paddingRight={4} paddingTop={1}>
|
<box paddingLeft={4} paddingRight={4} paddingTop={1}>
|
||||||
<text fg={theme.textMuted}>No project directories available</text>
|
<text fg={theme.textMuted}>No directories available</text>
|
||||||
</box>
|
</box>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
noMatchView={
|
noMatchView={
|
||||||
<box paddingLeft={4} paddingRight={4} paddingTop={1}>
|
<box paddingLeft={4} paddingRight={4} paddingTop={1}>
|
||||||
<text fg={theme.textMuted}>No project directories found</text>
|
<text fg={theme.textMuted}>No directories found</text>
|
||||||
</box>
|
</box>
|
||||||
}
|
}
|
||||||
locked={showError() || directories.loading || loadedProject.loading || Boolean(removing())}
|
locked={showError() || directories.loading || loadedProject.loading || Boolean(removing())}
|
||||||
|
|
|
||||||
|
|
@ -556,7 +556,7 @@ export function Prompt(props: PromptProps) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Move session",
|
title: "Move session",
|
||||||
desc: "Move to another project dir",
|
desc: "Move to another directory",
|
||||||
name: "session.move",
|
name: "session.move",
|
||||||
category: "Session",
|
category: "Session",
|
||||||
slash: { name: "move" },
|
slash: { name: "move" },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue