Marketscrape / Marketscrape/marketscrape-web

Local storage isn't cleared after N amount of time

Open
#59 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement low priority
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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.