You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have multiple ViewManagers that share their list of favourites by writing to a shared preference, e.g. {persistFavorites: {prefKey: 'foo'}}, changes to favorites made in one ViewManager are not reflected in the other until the page is fully reloaded. Refreshing the ViewManager model is not enough to pick up the changes.
I think we should be able to resolve this by reading the persisted favourites each time the menu is opened (or at the very least when the model is refreshed).
The text was updated successfully, but these errors were encountered:
Covered in #3854 - "Pinned view state should be persisted in a similar manner as views so they are refreshed at the same time."
Note that "pinned" is new language for previous "favorites," as it now controls overall visibility in the Hoist-provided menu component.
To avoid this exact discrepancy, we plan to store that pinned state in another "user metadata" blob - one per user - that we can load and refresh at the same time as the other views. Also in that ticket is an enhancement to refresh each time the menu is opened, ensuring the user always sees a consistent / updated set of pinned views.
Covered in #3854 - "Pinned view state should be persisted in a similar manner as views so they are refreshed at the same time."
Note that "pinned" is new language for previous "favorites," as it now controls overall visibility in the Hoist-provided menu component.
To avoid this exact discrepancy, we plan to store that pinned state in another "user metadata" blob - one per user - that we can load and refresh at the same time as the other views. Also in that ticket is an enhancement to refresh each time the menu is opened, ensuring the user always sees a consistent / updated set of pinned views.
If you have multiple ViewManagers that share their list of favourites by writing to a shared preference, e.g.
{persistFavorites: {prefKey: 'foo'}}
, changes to favorites made in one ViewManager are not reflected in the other until the page is fully reloaded. Refreshing the ViewManager model is not enough to pick up the changes.I think we should be able to resolve this by reading the persisted favourites each time the menu is opened (or at the very least when the model is refreshed).
The text was updated successfully, but these errors were encountered: