theoblt / dotsearch Goto Github PK
View Code? Open in Web Editor NEWA Chrome extension that lets you define shortcuts to any URL resource in your company.
A Chrome extension that lets you define shortcuts to any URL resource in your company.
Searching for an exact search key doesn't populate that search inside the search suggestions.
So let's say you have define the following shortcuts:
z
zd
zendesk
When you search for z
, suggestions now only include:
zd
zendesk
Or when you search for zd
, suggestions only include:
zendesk
When you've searched your shortcut zd
, *you want to be sure what it will point to * when you press Enter - if you don't see it in the suggestions, you don't know where you're going to end up. That hurts discovery and adoption of the extension. It feels "broken" - to me it's the one thing that makes you feel that first version is unfinished.
Some ideas 💡
setDefaultSuggestion
method (doc here). This looks like it worked really well for another user (StackOverflow)suggest
function works ( doc here )Description
We currently have an issue while searching for a result.
The following error is prompted in console:
Error in event handler: Error: error on line 1 at column 250: EntityRef: expecting ';'
This is due to a description format which may have a breaking symbol.
How to reproduce
Simply search after typing .
+ Tab
press in chrome search bar
Note that after typing many letters, the error does not appear to be triggered again, when the search result does not match the breaking description.
Detection process
The description
issue consideration came after replacing all description
assignment in map
loop by a simple description = 'ok'
Next steps
We'll need to detect which description break suggest
process and either shoot or fix it.
Possible solution
Preventing users to add new key in DotSearch® is not an option.
In order to prevent such breaking behaviour in the future, we'll need to find a solution.
We may want to filter descriptions before assignment in order to serialise breaking symbols.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.