Skip to content

Feature Request: Add Data Export and Import Functionality #23

Description

Is your feature request related to a problem? Please describe.

Currently, all user data (notes, assignments, profile details) is stored exclusively in the browser's local storage. If a user clears their browser cache or switches to a different device, they lose all of their StudySphere data.

Describe the solution you'd like

I propose adding a Data Export/Import feature.

  • Export Data: A button in the User Profile that downloads a .json backup of their entire localStorage database.
  • Import Data: A button allowing users to upload their .json backup to restore their profile, notes, and tasks on any device.

Additional context

I have already built this feature! It adds two buttons to the Student Profile sidebar and updates the db.js wrapper to securely handle JSON stringification and parsing. I will link a Pull Request to this issue shortly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions