[PR #47] [MERGED] [core] Clear Cached Items #52

Closed
opened 2025-10-31 16:56:23 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/feeddeck/feeddeck/pull/47
Author: @ricoberger
Created: 10/22/2023
Status: Merged
Merged: 10/22/2023
Merged by: @ricoberger

Base: mainHead: core-clear-cached-items


📝 Commits (1)

  • 00673b3 [core] Clear Cached Items

📊 Changes

3 files changed (+21 additions, -3 deletions)

View changed files

📝 app/lib/repositories/items_repository.dart (+10 -3)
📝 app/lib/widgets/settings/decks/settings_decks_select.dart (+6 -0)
📝 app/lib/widgets/settings/profile/settings_profile_signout.dart (+5 -0)

📄 Description

The cached items in the "ItemsRepositoryStore" are now cleared when a user selects an active deck in the settings and when a user signes out of the app.

This is done to force a reload of the items in a column, when a user switches between decks. For me this works better because, when I switch between decks I manually trigger a reload for all columns, which is now not necessary anymore.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/feeddeck/feeddeck/pull/47 **Author:** [@ricoberger](https://github.com/ricoberger) **Created:** 10/22/2023 **Status:** ✅ Merged **Merged:** 10/22/2023 **Merged by:** [@ricoberger](https://github.com/ricoberger) **Base:** `main` ← **Head:** `core-clear-cached-items` --- ### 📝 Commits (1) - [`00673b3`](https://github.com/feeddeck/feeddeck/commit/00673b3ff83ac52bc2bbe2fe2cd4054fe7e4c043) [core] Clear Cached Items ### 📊 Changes **3 files changed** (+21 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `app/lib/repositories/items_repository.dart` (+10 -3) 📝 `app/lib/widgets/settings/decks/settings_decks_select.dart` (+6 -0) 📝 `app/lib/widgets/settings/profile/settings_profile_signout.dart` (+5 -0) </details> ### 📄 Description The cached items in the "ItemsRepositoryStore" are now cleared when a user selects an active deck in the settings and when a user signes out of the app. This is done to force a reload of the items in a column, when a user switches between decks. For me this works better because, when I switch between decks I manually trigger a reload for all columns, which is now not necessary anymore. <!-- Keep PR title verbose enough and add prefix telling about what source it touches e.g "[rss] Add feature xyz" or if the the PR is not realated to a source use "[core]", e.g. "[core] Fix xyz". If you add a breaking change within your PR you should add ":warning:" to the title, e.g. ":warning: [core] My breaking change" --> <!-- Description of what have been changed. Please also reference an issue, when available. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-10-31 16:56:23 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/feeddeck#52