Opened 10 years ago

Closed 5 years ago

#10613 closed New feature (wontfix)

Doc search page links should go to first occurence of search term

Reported by: adrian_nye@… Owned by: Jacob
Component: * Version: master
Severity: Normal Keywords: search
Cc: justinlilly@… Triage Stage: Someday/Maybe
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


When you type a search term into the search field of the TOC search box and enter, you get a list of matching pages.
Then you click on the page that looks appropriate. Then to find the term you are searching for, you have to type
it again in your browsers search box. Typing every search twice is tedious.

Django could do that for you with some javascript. It could add the search term to the end of the link to each matching page (using named anchor syntax). Then use JavaScript onload to insert an anchor at the first occurrence of the term
or simply move the focus there.

Even better would be to provide a UI for navigation to the next and previous match of the search term. That could go
in the TOC column under the search term box.

I realize neither of these is easy to do well but they sure would be more convenient.

Change History (9)

comment:1 Changed 10 years ago by Jacob

Triage Stage: UnreviewedAccepted

comment:2 Changed 10 years ago by Jacob

Component: DocumentationDjango Web site
Owner: changed from nobody to Jacob
Status: newassigned

comment:3 Changed 8 years ago by Justin Lilly

Cc: justinlilly@… added
Keywords: search added

comment:4 Changed 8 years ago by Chris Beaven

Severity: Normal
Triage Stage: AcceptedSomeday/Maybe
Type: New feature

comment:5 Changed 7 years ago by Aymeric Augustin

UI/UX: unset

Change UI/UX from NULL to False.

comment:6 Changed 7 years ago by Aymeric Augustin

Easy pickings: unset

Change Easy pickings from NULL to False.

comment:7 Changed 7 years ago by Aymeric Augustin

This suggestion isn't very useful without a patch — nothing happened in three years. I'm tempted to close the ticket as "wontfix".

comment:9 Changed 5 years ago by Tim Graham

Resolution: wontfix
Status: assignedclosed
Note: See TracTickets for help on using tickets.
Back to Top