-
Notifications
You must be signed in to change notification settings - Fork 31
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
Infinite Loading Inbox #1478
Infinite Loading Inbox #1478
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found a few bugs:
- The "inbox is outdated" popup isn't shown anymore when the tab badge count changes.
- The "Load more" button flashes briefly when loading a new page.
- The inbox doesn't respect the "Infinite scroll" setting - is this intentional?
This PR closes #1479 💯
Yes. The theory is that manual page loading is a time management tool, but since people don't really "scroll" their inbox like they do a feed it doesn't make sense in that context. |
This one was a middleware issue--fixed here. It was a super trivial change (just needed to move the loading state assignment to after the item assignment), so I went ahead and merged the middleware side--if there are other issues that need a middleware fix I'll open a new one |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 👍
Co-authored-by: Sjmarf <[email protected]>
Co-authored-by: Sjmarf <[email protected]>
Checklist
- closes Infinite inbox loading #1432
Pull Request Information
Frontend changes for mlemgroup/MlemMiddleware#74.
Mostly just updates to use
InboxFeedLoader
and friends. The main notable change is that items are not all hidden when "mark all as read" is used. This is consistent with how the feed behaves when read items are filtered out and the user marks an item as read (i.e., it remains visible)This PR also includes a minor tweak to show the media type indicator when developer mode is active, rather than guarding it in
#DEBUG
. This should make daily driving a local dev build nicer, plus offer that insight in the production app as well if needed.