Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: sync stores to match context on mark-all-as-seen #8

Merged
merged 2 commits into from
Oct 13, 2022

Conversation

smeijer
Copy link
Member

@smeijer smeijer commented Oct 13, 2022

This pull ensures that when having multiple stores, of which one holds seen notifications and another unseen, notifications are properly synchronised when clicking "mark all seen".

Before this change, clicking "mark all seen" in an inbox that only shows seen notifications ({ seen: false }), would not remove those notifications from the current tab. Nor would they appear in a tab thats configured with { seen: true }.

Note that the implementation is still optimistic. Meaning, we move all notifications around, regardless of other parameters like category or custom attribute matchers.

@smeijer smeijer self-assigned this Oct 13, 2022
@smeijer smeijer added the bug Something isn't working label Oct 13, 2022
@smeijer smeijer merged commit 6a812ca into main Oct 13, 2022
@github-actions github-actions bot mentioned this pull request Oct 13, 2022
@unamashana unamashana deleted the feature/fix-mark-all-seen-sync branch March 3, 2023 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant