mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 15:35:56 +03:00
[PR #632] [MERGED] Add clear cache button #635
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#635
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jpochyla/psst/pull/632
Author: @jacksongoode
Created: 6/13/2025
Status: ✅ Merged
Merged: 6/13/2025
Merged by: @jacksongoode
Base:
main← Head:jackson/clear-cache-button📝 Commits (2)
de2464bAdd a button to clear the cache, simplify cache estimation/creation36922bcAdd tag📊 Changes
7 files changed (+131 additions, -74 deletions)
View changed files
📝
.github/workflows/build.yml(+1 -0)📝
psst-core/src/cache.rs(+28 -5)📝
psst-gui/src/data/config.rs(+3 -1)📝
psst-gui/src/data/mod.rs(+1 -0)📝
psst-gui/src/main.rs(+15 -2)📝
psst-gui/src/ui/preferences.rs(+82 -63)📝
psst-gui/src/webapi/client.rs(+1 -3)📄 Description
This let's a user clear the cache.
https://github.com/user-attachments/assets/e9ba09fb-5453-4cb0-beca-cf7bf263bfb7
While I made this I realize the cache dirs are a little inconsistent.
We should update the user info and track lines ones. Also we should maybe just clear the whole dir and make all the caches handle the folder creation. But these seem like a separate PR.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.