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

msglist: On topic-narrow fetch after refreshing event queue, if topic is newly empty, detect/follow message move #1241

Open
chrisbobbe opened this issue Dec 30, 2024 · 1 comment
Labels
a-msglist The message-list screen, except what's label:a-content
Milestone

Comments

@chrisbobbe
Copy link
Collaborator

If messages are bulk-moved while we have an active event queue, the topic-narrow message list understands this and follows the move, showing the messages in their new location.

But if you're looking at a topic-narrow message list while we don't have an active event queue, and the topic's messages get moved during that time, we won't follow the move. The result can be confusing: when we get the new event queue and refetch the message list, you'll be looking at the same topic as before and it will be empty.

Instead, if the refetch comes up empty, how about doing a quick check to see if the messages were moved, by fetching a single message that we know was there before, and re-narrowing to the new location if so.

@chrisbobbe chrisbobbe added the a-msglist The message-list screen, except what's label:a-content label Dec 30, 2024
@chrisbobbe chrisbobbe added this to the M7: Future milestone Dec 30, 2024
@chrisbobbe
Copy link
Collaborator Author

One beta-feedback report that might (?) have been explained by this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-msglist The message-list screen, except what's label:a-content
Projects
Status: No status
Development

No branches or pull requests

1 participant