Skip to content

Conversation

paw-hub
Copy link
Contributor

@paw-hub paw-hub commented Jul 30, 2025

Unless the state stream was changed for some reason on the list model, we do not need to make a new state stream (and thus re-run the same computations over and over on an unchanged state).

Closes #9404

@hrb-hub hrb-hub linked an issue Jul 30, 2025 that may be closed by this pull request
2 tasks
@paw-hub paw-hub force-pushed the 9404-state-stream-memoize branch from 04e9c4e to 9aa63bc Compare July 31, 2025 07:34
paw-hub added 6 commits July 31, 2025 10:01
This improves readability slightly.
This occurs because the list of mailboxes in MailboxModel is outdated,
and LoginFacade bypasses cache to get a new User, thus if we lose access
to any groups, their cached entities will be lost, thus whenever we
try to load mailsets, we cache miss and try to fetch from the server
(which fails as we have no access to those lists now).

Closes #9143
We were not actually deleting the database on membership removal when
we used to (this was broken when we added sqlite full-text search).

Closes #9143
domainStatus is not valid for renderCheckResult once we reload it.

Closes #6818
It's just used for determining whether or not to show a custom header
bar. We can just use headerBarAttrs for this.
Unless the state stream was changed for some reason on the list model,
we do not need to make a new state stream (and thus re-run the same
computations over and over on an unchanged state).

Closes #9404
@paw-hub paw-hub force-pushed the 9404-state-stream-memoize branch from 9aa63bc to d8b339b Compare July 31, 2025 08:05
@paw-hub paw-hub merged commit d8b339b into dev-mail Jul 31, 2025
6 checks passed
@paw-hub paw-hub deleted the 9404-state-stream-memoize branch July 31, 2025 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mail list is invalidated at every render
2 participants