aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
AgeCommit message (Collapse)Author
2015-05-28Custom-only: fix long-standing race condition.Stephen Blott
In omni mode, the vomnibar suggestions are updated asynchronously. Therefore, the contents of the primary custom search-engine suggestion may be behind the actual contents of the comnibar input. So, we reconstruct the custom search-engine query on "enter". (This fixes a long-standing race condition.)
2015-05-28Custom-only: remove now unnecessary optimisation.Stephen Blott
This optimisation is now unnecessary, because we will *always* show at least one completion suggestion in top spot.
2015-05-28Custom-only: ensure top-ranking completion is always in top slot.Stephen Blott
This ensures that <Tab> can always be used to complete the top-ranking completion.
2015-05-28Custom-only: remove omniSearchWeightOption.Stephen Blott
This option is no longer needed, since we don't do search completion except for custom searches.
2015-05-28Custom-only: strip non-custom search code.Stephen Blott
2015-05-27Remove unintentionally pushed console.log()s.Stephen Blott
2015-05-27Consistent highlighting of search suggestions.Stephen Blott
Also suppress highlighting of matching text in previous suggestions. (It looks odd to have highlighting in some suggestions but not others, with no apparent difference to the user.)
2015-05-27Fix significant typo.Stephen Blott
Fix incorrect property name from 764d70312f292882abe4940adf9fee3d6e834327.
2015-05-27Merge pull request #1690 from smblott-github/do-not-deduplicate-tabsStephen Blott
Two errors fixed...
2015-05-27Simplify index calculation.Stephen Blott
2015-05-27Do not de-duplicate tabs vomnibar entries.Stephen Blott
2015-05-27Go directly to next/previous tab.Stephen Blott
This makes nextTab and previousTab go directly to the relevant tab, without visiting intervening tabs -- all of which avoids a nasty flicker for 5J or 5K.
2015-05-27Custom-only: fix comment.Stephen Blott
2015-05-27Custom-only: verify match on query terms alone.Stephen Blott
2015-05-27Custom-only: single-line completions for custom search engines.Stephen Blott
2015-05-27Custom-only: always filter for the custom search engine.Stephen Blott
2015-05-27Custom-only: disable default search completion.Stephen Blott
2015-05-26Change vomnibar insert-text indicator.Stephen Blott
Use a rightwards hooked arrow instead of a small greater-than sign, which according to @philc, renders as a large greater-than sign on Macs, See #1651.
2015-05-21Search completion; must return an array from this filter.Stephen Blott
2015-05-20Allowing mapping <space>.Stephen Blott
Fixes #544. Copy of #655.
2015-05-20Search completion; tweak appearance of historical search queries (descriptions).Stephen Blott
2015-05-19Search completion; minor code review.Stephen Blott
2015-05-19Add insertText visual indicator.Stephen Blott
Conflicts: background_scripts/completion.coffee
2015-05-19Search completion; tweak appearance of historical search queries.Stephen Blott
2015-05-18Fully fix 3646b8c999a9e4b864e8c529f84b64a3c2c74ff0.Stephen Blott
2015-05-18Search completion; filter out the default search.Stephen Blott
See example in diff. Do not offer a suggestion if it is what the user would get anyway if they just hit <Enter>.
2015-05-18Revert "Search completion; promote the top completion."Stephen Blott
This reverts commit 4309dcd3030687f3ed02b86bbdf7c485baaee4a5. This is a bad idea. It pushes the suggestion at the top of the list out of the way. Users aren't going to like that if it's the one they're looking for. Conflicts: background_scripts/completion.coffee
2015-05-18Search completion; retain previous suggestions (tweak highlighting).Stephen Blott
2015-05-18Search completion; retain previous suggestions (comments and tweaks).Stephen Blott
2015-05-18Search completion; retain previous (matching) suggestions.Stephen Blott
This address "UX Issue 2" from #1651. If the user types "w lake vict" and sees a suggestion "lake victoria perch", and continues "w lake vict pe", then we retain the previous suggestion (which still matches) despite the fact that the completion no longer delivers it. This creates a more consistent, Vimium-like vomnibar UX.
2015-05-18Merge branch 'search-completion-UX-tweaks'Stephen Blott
2015-05-18Merge branch 'vomnibar-insert-history-with-tab'Stephen Blott
Conflicts: background_scripts/completion.coffee
2015-05-18Search completion; remove console.log().Stephen Blott
2015-05-18Search completion; promote the top completion.Stephen Blott
This puts the first (top) completion suggestion at the top of the list: either one or two <Tab>s away, depending upon whether a domain-completer suggestion is present or not.
2015-05-18Search completion; do not adapt completion scoring.Stephen Blott
The relevancy score of completion suggestions should not change as the user continues to type. See "UX Issue 1" in #1651. (The effect of the previous implementation was that search completions would jump, unpredictably, up the suggestion list, often displacing suggestions from other completers for no reason which was apparent to the user.)
2015-05-18Disable relevancy debugging (again).Stephen Blott
Oops. I left this on, again.
2015-05-17use a less brittle approach to decoding URIs.Stephen Blott
2015-05-17For shortened URLs, do not consider case.Stephen Blott
This ensures that URLs which differ only in their case are considered duplicates, hence one is dropped.
2015-05-17TabToOpen: remove console.log.Stephen Blott
2015-05-17TabToOpen: turn off relevancy debugging.Stephen Blott
2015-05-17TabToOpen: more tidy up pre-PR (additional comments).Stephen Blott
2015-05-17TabToOpen: more tidy up pre-PR.Stephen Blott
2015-05-17TabToOpen: tidy up pre-PR.Stephen Blott
2015-05-17TabToOpen: reactivate custom search engines.Stephen Blott
When the user begins editing the inserted text from a custom-search-engine suggestion, we reactivate the original custom-search-engine mode.
2015-05-17TabToOpen: reactivate previous custom search engine.Stephen Blott
Note: There's still an unpleasant flicker when this happens. TBD: Fix this.
2015-05-17TabToOpen: use search-engine description as suggestion type.Stephen Blott
2015-05-17TabToOpen: insert queries for custom search engines.Stephen Blott
2015-05-17TabToOpen: tab to open vomnibar.Stephen Blott
`o` then `Tab` opens the vomnibar completionlist with history completions (the only completions) ranked by recently only. Hence, the most recent requests are at the top. This is a (far) simpler approach than #1662 which catches the most important use case (repeat a search with an edited query).
2015-05-16Apply decodeURI when shortening URLs.Stephen Blott
If the URL contains a query term such as vierwaldstättersee, then we render the URL encoded version in the vomnibar. It looks considerably nicer to render URL-decoded version.
2015-05-16Merge pull request #1663 from ↵Stephen Blott
smblott-github/search-completion-with-regular-relevancy Search completion with regular relevancy calculation