stackabletech / stackabletech/cockpit

Store current user query/queries

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

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1
Forks
0
Avg merge
22h 6m
Merged PRs (30d)
12

Description

Currently the mapping of userId to queryId is only stored in memory and doesn't survive a container restart. We should store it either in localStorage of the browser or in a database (maybe the same we're using for better-auth) on the backend. This might have security implications.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by tracing where the in-memory userId-to-queryId mapping is created and read, then inspect how better-auth currently persists data. Decide whether browser localStorage or backend database storage meets the security requirements; done means mappings survive a container restart without exposing user data.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, database, full-stack
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.