Move sensitive user data from localStorage into the DB

Open
#403 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
database, security

Research direction

Start by tracing where connection data, SQL queries, and history are written to and read from localStorage, then inspect the existing database access path. Keep user preferences such as the chosen theme in localStorage and move sensitive data into the database; done when those sensitive values persist there instead. The issue names no files or tests, so identify the relevant entry points before estimating the change.

Written by the indexing model from the issue text.

Description

A lot of user data is saved in localStorage. This includes connection data, full sql queries and history.
Sensitive parts should be moved into the database while user preferences like the chosen theme can stay.

Dominant language
TypeScript
Stars
1
Forks
1
Avg merge
2d 16h
Merged PRs (30d)
39

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from stackabletech/cockpit

All issues in stackabletech/cockpit

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.