Skip to content

Better search and ticket numbers #7

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

ejunga
Copy link

@ejunga ejunga commented Apr 21, 2025

These additions modify the search functionality to have ticket numbers entered into the search bar open the corresponding ticket in a new tab, rather than in a new window as is done currently.

In addition, it adds a function that appends the current ticket number to the beginning of the webpage title.

Previously, betterSearch was always applied, now it follows the link behavior settings, only being applied when the mode is "tabs"
@ejunga
Copy link
Author

ejunga commented Apr 22, 2025

Just edited the application of the betterSearch function so that the behavior of the search bar follows the link behavior setting, as someone with their link behavior set to "window" likely would prefer the old functionality of opening in the window. Now betterSearch() is only called when the link behavior is set to "tabs"

Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant