Marketscrape / Marketscrape/marketscrape-web
Local storage isn't cleared after N amount of time
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 42
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
### Summary
We should clear the users result history after N amount of time to avoid users trying to analyze deprecated listings. I'm thinking 1 week at the longest.
### Component Name
marketscrape/scraper/static/clearLocalStorage.js
### OS / Environment
All
### Steps to Reproduce
N/A
### Expected Results
Local Storage is cleared after 1 week.
### Actual Results
```console
Local Storage is never emptied unless the user clears though the GUI.
```
### Code of Conduct
- [X] I agree to follow the Marketscrape Code of Conduct
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 in marketscrape/scraper/static/clearLocalStorage.js and inspect how result history is stored and cleared. The work is done when Local Storage is automatically cleared after one week, without requiring the user to clear it through the GUI.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100