StabilityNexus / StabilityNexus/Chainvoice

[FEATURE]: Local Import/Export Backup System for Invoices

Open
#187 1 comment 0 reactions 1 assignee View on GitHub

@Thushara3005 is already working on this.

Since Aug 30, 2026.

enhancement good first issue
Dominant language
JavaScript
Stars
10
Forks
47
Avg merge
17h 47m
Merged PRs (30d)
4

Description

Feature and its Use Cases

A local backup system in the Settings page that allows users to export their locally cached invoice data to a JSON file and import it back into the app using IndexedDB (idb-backup).

  • How would users benefit from it?
    Since Chainvoice is transitioning to an architecture where sensitive invoice payloads (like client names and items) are no longer stored on-chain (only hashes are stored), users risk losing their invoice details if they clear their browser cache or switch devices. This feature gives users full ownership and control to backup their local data.
  • What scenarios would this feature address?
    • Transferring invoice history to a new browser or device.
    • Safeguarding local data against accidental browser cache clearing.
    • Restoring legacy or demo invoice data for testing purposes.
Additional Context
  • The UI integrates into the existing Settings page, matching the current Chainvoice design language.
  • Includes strict error handling and validation to ensure the uploaded JSON matches the Chainvoice schema before parsing and storing it.
  • Safely integrates with the local cache indexes so that imported invoices immediately populate the Sent and Received tabs.
Code of Conduct
  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.