Opened 7 years ago

Closed 2 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 7 years ago by jacob

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 7 years ago by jacob

  • Component changed from Documentation to Django Web site
  • Owner changed from nobody to jacob
  • Status changed from new to assigned

comment:3 Changed 5 years ago by justinlilly

  • Cc justinlilly@… added
  • Keywords search added

comment:4 Changed 5 years ago by SmileyChris

  • Severity set to Normal
  • Triage Stage changed from Accepted to Someday/Maybe
  • Type set to New feature

comment:5 Changed 4 years ago by aaugustin

  • UI/UX unset

Change UI/UX from NULL to False.

comment:6 Changed 4 years ago by aaugustin

  • Easy pickings unset

Change Easy pickings from NULL to False.

comment:7 Changed 4 years ago by aaugustin

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 2 years ago by timo

  • Resolution set to wontfix
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.
Back to Top