Opened 15 years ago

Closed 11 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: *.djangoproject.com Version: dev
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

Description

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 by Jacob, 15 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Jacob, 15 years ago

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

comment:3 by Justin Lilly, 13 years ago

Cc: justinlilly@… added
Keywords: search added

comment:4 by Chris Beaven, 13 years ago

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

comment:5 by Aymeric Augustin, 12 years ago

UI/UX: unset

Change UI/UX from NULL to False.

comment:6 by Aymeric Augustin, 12 years ago

Easy pickings: unset

Change Easy pickings from NULL to False.

comment:7 by Aymeric Augustin, 12 years ago

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 by Tim Graham, 11 years ago

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