Skip to content

feat(connections): export only the selected connections#469

Merged
debba merged 1 commit into
TabularisDB:mainfrom
pokertour:feat/selective-connection-export
Jul 13, 2026
Merged

feat(connections): export only the selected connections#469
debba merged 1 commit into
TabularisDB:mainfrom
pokertour:feat/selective-connection-export

Conversation

@pokertour

Copy link
Copy Markdown
Contributor

The export modal previously always exported every connection. Wire the multi-select introduced in #468 into the export flow:

  • export_connections_payload accepts an optional connection id list and filters connections (database, SSH, K8s) before resolving secrets, so unselected credentials never leave the keychain
  • groups are pruned to the ancestor chains of the retained connections via a new collect_group_ancestors helper, with unit tests
  • the selection bar gains an Export button and the export modal shows how many selected connections will be exported

The export modal previously always exported every connection. Wire the
multi-select introduced in TabularisDB#468 into the export flow:

- export_connections_payload accepts an optional connection id list and
  filters connections (database, SSH, K8s) before resolving secrets, so
  unselected credentials never leave the keychain
- groups are pruned to the ancestor chains of the retained connections
  via a new collect_group_ancestors helper, with unit tests
- the selection bar gains an Export button and the export modal shows
  how many selected connections will be written
@kilo-code-bot

kilo-code-bot Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (15 files)
  • src-tauri/src/commands.rs
  • src-tauri/src/group_tree_tests.rs
  • src-tauri/src/models.rs
  • src/components/modals/ExportConnectionsModal.tsx
  • src/i18n/locales/de.json
  • src/i18n/locales/en.json
  • src/i18n/locales/es.json
  • src/i18n/locales/fr.json
  • src/i18n/locales/it.json
  • src/i18n/locales/ja.json
  • src/i18n/locales/ru.json
  • src/i18n/locales/tl.json
  • src/i18n/locales/zh.json
  • src/pages/Connections.tsx
  • tests/components/modals/ExportConnectionsModal.test.tsx
  • tests/setup.ts

Reviewed by kimi-k2.6 · Input: 64.7K · Output: 12.1K · Cached: 548.9K

@debba debba merged commit 2fdd74f into TabularisDB:main Jul 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants