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

Optimistically mark replies as read #1314

Merged
merged 3 commits into from
May 1, 2024

Conversation

micahmo
Copy link
Member

@micahmo micahmo commented Apr 18, 2024

Pull Request Description

This PR adds optimistic updates for marking replies as read. It also adds the ability to mark as unread.

In case there is an error, a snackbar will be displayed which lets the user refresh the inbox to see the current state of things. (I thought that would be preferable over forcible re-showing a reply that may have been previously hidden, for example.)

Hide whitepsace.

Issue Being Fixed

Issue Number: #863

Screenshots / Recordings

mark-read-optimistically.mp4

Error case

Note that the error probably wouldn't happen as quickly if there were something like a timeout.

mark-read-error.mp4

Checklist

  • Did you update CHANGELOG.md?
  • Did you use localized strings where applicable?
  • Did you add semanticLabels where applicable for accessibility?

Copy link
Member

@hjiangsu hjiangsu left a comment

Choose a reason for hiding this comment

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

LGTM, just a couple of comments with localization strings!

lib/l10n/app_en.arb Outdated Show resolved Hide resolved
lib/l10n/app_en.arb Outdated Show resolved Hide resolved
@hjiangsu hjiangsu merged commit 7293229 into thunder-app:develop May 1, 2024
1 check passed
@micahmo micahmo deleted the feature/reply-updates branch May 1, 2024 18:01
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.

3 participants