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

Jump-to-heading should place index at nearest heading #3512

Open
3 tasks
brosasaki opened this issue Sep 19, 2024 · 2 comments
Open
3 tasks

Jump-to-heading should place index at nearest heading #3512

brosasaki opened this issue Sep 19, 2024 · 2 comments
Labels
good-first-issue Marks a good issue for first-time contributors. ui/ux Nyxt User Interface: themes, appearance and usability.

Comments

@brosasaki
Copy link

Purpose of request:
To improve the user experience when using jump-to-heading.

Describe your proposed change:
Make the list interface that appears with jump-to-heading start with the index/highlight over the entry for the nearest heading.

Why do you believe this to be an improvement?
Jump-to-heading is already an incredibly useful feature. However, a limitation of it is that its interface always starts on the first heading of the page. Since this feature is often used on very long webpages (e.g. GNU info manuals converted to a single webpage), this is incredibly inconvenient as it causes the user to lose their place on the page. If the page includes several identical headers, this makes the feature become useless.

Additional context/User story:
I often have trouble with this when browsing a deeply-nested or long page.

Screenshots/Mock ups:
N/A


Pre-Build Checklist:

  • Discussion has occurred.
  • One or more developers have signed off on this change.
  • One or more user researchers have signed off on this change.
@brosasaki brosasaki added the ui/ux Nyxt User Interface: themes, appearance and usability. label Sep 19, 2024
@aadcg
Copy link
Member

aadcg commented Sep 20, 2024

@brosasaki sounds like a good suggestion to me.

From a cursory look to the codebase, it should be easy to implement. Any takers?

@aadcg aadcg added the good-first-issue Marks a good issue for first-time contributors. label Sep 20, 2024
@jamiebill
Copy link

@aadcg when you say easy, how easy do you mean? :)

I keep lurking around the issues the last few days, wondering if I could (finally) have a go at something. My skills are less than mediocre, but my enthusiasm levels are high!

What reading could I do to get this one started, where should I poke around? What's the best channel for discussion, here, IRC, elsewhere?

Thanks very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good-first-issue Marks a good issue for first-time contributors. ui/ux Nyxt User Interface: themes, appearance and usability.
Development

No branches or pull requests

3 participants