-
Notifications
You must be signed in to change notification settings - Fork 69
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
Refactor Inbox Page #1463
Refactor Inbox Page #1463
Conversation
… only fetch necessary information
This should be ready to go now! I haven't tested out notifications since that's not readily available on iOS yet, but it should work as usual. @micahmo Feel free to try it out and let me know if you find anything! |
Sounds good, I think I will run this rather than doing an in-depth review and let you know if I find anything! |
Hey just FYI, I am getting a gray screen exception when tapping on a notification. I can try to debug when I get a chance (not sure when that will be). |
One more note: I'm not sure if you intended the "you've reached the bottom" message to have a gray background like it does for comments. |
I can try this out on an Android emulator and see what's happening!
Hmm, I'm not sure what you're referring to - do you have a screenshot of this? The background should be transparent Also, I noticed an issue where the inbox doesn't refresh properly when switching accounts from authenticated -> anonymous so I'll fix that as well! |
This should be fixed now!
I adjusted this as well, so it should now match up with the feed reached end widget |
Hmm, I'm seeing a refresh indicator when refreshing the inbox - can you clarify what you mean here? refresh.webm |
I'll go ahead and merge this in so that it can be tested in the next nightly! Let me know if you encounter any more issues. |
Yes, sorry, I think the problem is less about the lack of a refresh indicator and more that something is wrong after navigating back from the notifications page. You can see what I mean here. qemu-system-x86_64_WkEZtaaDYl.mp4 |
Ahh I see, thanks for clarifying that! I'll take a look at it |
Hey I noticed something else. Actually you can see it in the screen recording. Marking the last notification as read no longer closes the notification page. Not sure if that was intention and/or whether it was caused by your changes. EDIT: In fact, marking posts as read doesn't hide them from the inbox page at all. I believe it's defaulting to "show all" rather than "show unread". Let me know if you want me to look into this since I might know the inbox page a little better (but I believe this change is due to relying on the shared inbox page widget from the notifications page). |
Pull Request Description
This is a draft PR which refactors the inbox page to be more consistent with the rest of our UI. In particular:
Issue Being Fixed
Issue Number: N/A
Screenshots / Recordings
Here are some initial screenshots!
Checklist
semanticLabel
s where applicable for accessibility?