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 inbox not refreshing after popping from notifications page #1477

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

hjiangsu
Copy link
Member

@hjiangsu hjiangsu commented Jul 8, 2024

Pull Request Description

This PR fixes an issue mentioned in #1463 (comment). Whenever the notifications page is popped, the inbox bloc will be refreshed and will pull updates for all inbox types (replies, mentions, messages). This is because we don't know which page/tab the user will be at when the notifications page is popped.

Issue Being Fixed

Issue Number: N/A

Screenshots / Recordings

Checklist

  • If a new package was added, did you ensure it uses an appropriate license and is actively maintained?
  • Did you use localized strings (and added appropriate descriptions) where applicable?
  • Did you add semanticLabels where applicable for accessibility?

Copy link
Member

@micahmo micahmo left a comment

Choose a reason for hiding this comment

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

Perfect! I see this happened because of the the optimization of not refreshing all pages at once, which is a great improvement. I like the new all option as well. Thanks!

@hjiangsu
Copy link
Member Author

hjiangsu commented Jul 8, 2024

Yup, that's what happened 😅. Thanks again for catching this, and let me know if you notice any other quirks with the new page!

@hjiangsu hjiangsu merged commit 4238230 into develop Jul 8, 2024
1 check passed
@hjiangsu hjiangsu deleted the fix/notifications-inbox-refresh branch July 8, 2024 19:15
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.

2 participants