Skip to content

Add Data Export & Backup tab (wire existing #114 implementation) #190

@Nanle-code

Description

@Nanle-code

Labels: feature, dx, good first issue

Description

DataExport.jsx and useDataExport.js implement JSON/CSV export and backup import, but they are not registered in App.tsx TABS or the sidebar. Contributors cannot discover this feature.

Tasks

Add dataExport tab in src/App.tsx and nav entry in src/components/layout/Sidebar.jsx.
Surface export actions from Settings.jsx (link or embedded panel).
Ensure import uses src/lib/import.js (parseBackup, version checks).
Document flow in docs/api/dataExport.md.
Acceptance criteria

User exports account txs/ops/preferences from UI.

Import restores supported backup version with clear errors.

Hook tests or component test for happy path.
Files

src/components/dashboard/DataExport.jsx
src/hooks/useDataExport.js
src/lib/import.js, src/utils/export.js
src/App.tsx, src/components/layout/Sidebar.jsx
docs/api/dataExport.md

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions