Compare commits

..

2 Commits

Author SHA1 Message Date
Kit Langton fa1448649e test(tui): remove redundant export dialog coverage 2026-08-06 19:56:43 -04:00
Kit Langton 8587b39747 fix(tui): show export copy focus 2026-08-06 19:56:43 -04:00
2 changed files with 4 additions and 6 deletions
@@ -123,7 +123,6 @@ function manageConnections(
onConnected?: OnIntegrationConnected,
) {
dialog.replace(() => {
const theme = useTheme("elevated")
const data = useData()
const client = useClient()
const toast = useToast()
@@ -143,9 +142,6 @@ function manageConnections(
...credentialConnections(integration).map((connection) => ({
title: `Disconnect ${connection.label}`,
value: connection.id,
category: "Connected accounts",
bg: theme.background.action.destructive.focused,
fg: theme.text.action.destructive.focused,
onSelect: () => {
void client.api.credential
.remove({ credentialID: connection.id, location: location(data) })
@@ -200,10 +200,12 @@ export function DialogExportOptions(props: DialogExportOptionsProps) {
<box
paddingLeft={4}
paddingRight={4}
backgroundColor={overlayTheme.background.default}
backgroundColor={
store.active === "copy" ? theme.background.action.primary.focused : overlayTheme.background.default
}
onMouseUp={() => confirm("copy")}
>
<text fg={overlayTheme.text.default}>Copy</text>
<text fg={store.active === "copy" ? theme.text.action.primary.focused : overlayTheme.text.default}>Copy</text>
</box>
<box
paddingLeft={4}