stackabletech / stackabletech/cockpit
Store current user query/queries
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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