BenShelton / BenShelton/library-api

[Bug] Clearing Downloads doesn't reset cache

Open
#71 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
13
Forks
3
PR merge metrics
No merged PRs in 30d

Description

**Packages & versions**

Media

**Describe the bug**

If a week doesn't exist in the catalog you currently need to Clear Downloads from the settings to redownload it.

Even after downloading again though the catalog is still cached. To use the new one you need to quit and reopen the app.

**Reproduction steps**

1. Try to view a week not in the downloaded catalog, but that is in the latest
2. Clear Downloads
3. Download new catalog

**Expected behavior**

The week should now appear without needing to quit and reopen

**Additional context**

N/A

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file, test, or entry point is named in the issue. Reproduce the sequence of viewing a missing week, clearing downloads, and downloading the catalog, then trace the catalog cache lifecycle. Done means the newly downloaded catalog is used immediately, without restarting the app, and the behavior is covered by a relevant test if one exists.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.