-
Notifications
You must be signed in to change notification settings - Fork 20
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
Feature Request: Top Level Comment Navigation #19
Comments
The best I can promise you right now is that I'll consider it! I'm currently mostly focusing on features that do not add any additional configuration for the users, and this is not a feature I would want turned on by default. |
No worries, that sounds good to me. I can appreciate that it's a pretty niche feature. Thanks! |
I've had a go at this, and annoyingly, I cannot get it to work the way I'd like. I'll summarize my findings for future-me, or anyone else interested in contributing. Overlaying the actual buttons is easy enough. Then, on pressing the "next" button, one should do roughly the following:
We have all the required information for step 2. The problem is that there are no built-in solutions for step 1 and 3 in the Flutter framework. You can scroll to an offset, but in a list with variable heights such as the comments list, it's impossible to calculate the correct offset without first rendering all the comments. One solution for both step 1 and 3 comes in the form of the scrollable_positioned_list package. This solves both problems well but has limitations. It's a drop-in replacement for Flutter's Another solution to step 3 may be scroll_to_index. That can coexist with our sliver usage, but doesn't provide a method for finding the index in step 1. Several options are discussed here, although I do prefer |
I hope someone can get this to work over day. I just installed the app, got it all set up and then realized that was the one feature I suddenly needed really badly! |
This has been implemented as part of v2.0.0! |
One of the things that I've become accustomed to in my reddit client (Joey) is the comment navigation. At the bottom of the comments view is a navigation toolbar, the center lets you select how to navigate (with lots of options, but I really only use top level), and the arrows navigate up or down between comments. So if I start reading through a comment thread and get bored, I can quickly go to the next top level comment and start reading that one. It would be great if something similar could be added to Glider. Some other clients that I've looked at use the volume buttons for this sort of navigation, but I prefer something on screen.
The text was updated successfully, but these errors were encountered: