Code

Opened 5 years ago

Closed 11 months 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: 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

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.

Attachments (0)

Change History (9)

comment:1 Changed 5 years ago by jacob

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

comment:2 Changed 5 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 3 years ago by justinlilly

  • Cc justinlilly@… added
  • Keywords search added

comment:4 Changed 3 years ago by SmileyChris

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

comment:5 Changed 2 years ago by aaugustin

  • UI/UX unset

Change UI/UX from NULL to False.

comment:6 Changed 2 years ago by aaugustin

  • Easy pickings unset

Change Easy pickings from NULL to False.

comment:7 Changed 2 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 11 months ago by timo

  • Resolution set to wontfix
  • Status changed from assigned to closed

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.