Skip to content

feat: Add useExportConfig hook - #214

Merged
gcgoncalves merged 3 commits into
mainfrom
feat/import-export-export-hook
Nov 5, 2026
Merged

gcgoncalves merged 3 commits into
mainfrom
feat/import-export-export-hook

Conversation

@gcgoncalves

Copy link
Copy Markdown
Contributor

@gcgoncalves
gcgoncalves added this pull request to stack #211 November 2, 2026 15:31
@gcgoncalves
gcgoncalves force-pushed the feat/import-export-export-hook branch 8 times, most recently from 4942688 to 5234128 Compare November 5, 2026 10:54
@gcgoncalves
gcgoncalves force-pushed the feat/import-export-export-hook branch from 5234128 to 8e9328e Compare November 5, 2026 11:18

@marekdano marekdano left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small findings below

Missing test for the supersede branch
Nothing checks that a second call aborts the first and isExporting stays true until the second finishes. This is the trickiest logic in the hook.

Comment thread src/i18n/locales/en-US/common.json Outdated
"common.team.label": "Team",
"common.team.placeholder": "Select a team"
"common.team.placeholder": "Select a team",
"importExport.export.success": "Configuration exported",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we use this string somewhere?

@gcgoncalves
gcgoncalves force-pushed the feat/import-export-export-hook branch from d368388 to e7c4f68 Compare November 5, 2026 11:42
Base automatically changed from feat/import-export-download to main November 5, 2026 11:46
Signed-off-by: Gabriel Costa <gabrielcg@proton.me>
Signed-off-by: Gabriel Costa <gabrielcg@proton.me>
Signed-off-by: Gabriel Costa <gabrielcg@proton.me>
@gcgoncalves
gcgoncalves force-pushed the feat/import-export-export-hook branch from e7c4f68 to 9e3a7ff Compare November 5, 2026 11:46
@gcgoncalves
gcgoncalves requested a review from marekdano November 5, 2026 11:46

@marekdano marekdano left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR is solid now!

LGTM 🚀

@gcgoncalves
gcgoncalves merged commit 7319290 into main Nov 5, 2026
5 checks passed
@gcgoncalves
gcgoncalves deleted the feat/import-export-export-hook branch November 5, 2026 11:54
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