Skip to content

Conversation

@axosoft-ramint
Copy link
Contributor

@axosoft-ramint axosoft-ramint commented Dec 9, 2024

Closes #3791

At some point along the way, we seem to have changed the "update items" logic in Launchpad to always force a full refresh of everything. For actions like pin, snooze, open on provider, merge, etc. we already have the provider bust the relevant cache so that only items that have changed are refreshed. So I changed the default behavior to use caches and only in a few places now do we force the full refresh.

Furthermore, to make pin/snooze/unpin/unsnooze even more optimistic, I created an optimisticallyUpdateItems function that just refreshes the list without having to do all the rest of the work.

These actions should be much more responsive now.

@axosoft-ramint axosoft-ramint added area-launchpad Issues or features related to Launchpad bug labels Dec 9, 2024
@axosoft-ramint axosoft-ramint force-pushed the 3791-pinsnooze-in-launchpad-trigger-a-full-refresh-and-are-no-longer-optimistic branch from 0771847 to e449479 Compare December 9, 2024 19:08
Copy link
Member

@eamodio eamodio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@axosoft-ramint axosoft-ramint merged commit 33f5d60 into main Dec 9, 2024
3 checks passed
@axosoft-ramint axosoft-ramint deleted the 3791-pinsnooze-in-launchpad-trigger-a-full-refresh-and-are-no-longer-optimistic branch December 9, 2024 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-launchpad Issues or features related to Launchpad

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pin/snooze in Launchpad trigger a full refresh and are no longer optimistic

3 participants