Comments (7)
Patch: erikvold/prospector@55b6ec1
from prospector.
My first thought is that, after clicking a word, it should:
- be added to the find field
- removed from the suggestion list, since the user has confirmed it is the desired word
from prospector.
you say the word should be removed, but I don't see a reason.
removed from the suggestion list, since the user has confirmed it is the desired word
This sounds like the reason to do step 1, but not a reason to do step 2.
if (word === lowerQuery || word.slice(0, queryLen) != lowerQuery)
This would mean that when a user types "dog" that they won't see confirmation that "dog" is on the page, if it is on the page.
from prospector.
Oops, sorry. Hadn't had my coffee yet :) Will check it out this afternoon.
If the purpose is to predict the next word, it wouldn't make sense to keep a user-confirmed word in the list. Maybe words that have word
as a prefix.
- from my phone
from prospector.
What erikvold suggested was correct in that the words in the list provide a sanity check that the particular word is in the page. This is partially because search is still doing "match anywhere" while the suggestions are prefix matches.
from prospector.
Okay, I had been thinking of something like Swiftkey (Android).
from prospector.
Closed by 1646898: findSuggest: Clicking a suggestion == query should be like clicking next [r=Mardak]
Clicking a suggestion == query should be like clicking next
(cherry picked from commit 55b6ec1c36289edbe5626c48d3be3e0004a091b5)
from prospector.
Related Issues (20)
- about:trackers blocks Blogger comment form submission
- Show the URLbar whenever you scroll to the top of the page HOT 2
- LessChromeHD: Don't move the page content when showing the URLBar for password entry
- On recent Nightly, about:trackers blocks Persona authentication
- Keeps list
- Negative values
- LessChrome not working in Firefox 29
- Possible conflict issue with Classic Theme Restorer addon? HOT 1
- Prospector - OneLiner
- LessChromeHD: no longer works with Firefox 35.0 HOT 2
- LessChrome HD broken in FF35 HOT 1
- LessChrome Broken in Firefox 35 desktop HOT 1
- RecallMonkey - No functionality in Firefox 38+
- Find Suggest delays Quickfind
- OneLiner: Save to Pocket - button doesn't work
- Firefox 52 `async` ES7 proposal implementation breaks add-on
- LessChromeHD: Enable e10s support. HOT 1
- LessChromeHD: Not working on FF52
- Why was this discontinued? HOT 2
- CODE_OF_CONDUCT.md file missing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prospector.