Auto-Complete
Feature where, as a user types, Real Time lookups are performed against some dictionary, feeding back possible match-words from which the user can pick to complete the typing of the word without pressing any more keys.
http://en.wikipedia.org/wiki/Autocomplete
Typically used for contact-match in EMail apps.
First popularized (on the web) in Tagsonomy apps like Del.icio.us.
Used in Google search. https://support.google.com/websearch/answer/106230?hl=en
Would be nice to have in a Wiki.
- Confluence has it
- but in that context, you'd need a trigger to start searching. The most obvious way would be the
- but that assumes you're not just using [[Smashed Together Words for Automatic Linking....
- maybe do it for any word over n chars that starts with a cap?
[[JQuery apps for Web Browser
- http://jqueryui.com/autocomplete/ - standard baseline
- http://lea.verou.me/2015/02/awesomplete-2kb-autocomplete-with-zero-dependencies/
- in Text Area https://github.com/yuku-t/jquery-textcomplete
Server-side: return JSON (pref using WebPy or Flask)
== Pondering building one into a WikiEngine ==
Apr07'2015: Going to do it with my Flask For Wiki Engine work.
Going to try for doing it right in the Text Area, triggered by but deleting those chars after doing match.
Going to do query against my [[WikiGraph server. Which means the back-end is actually WebPy, not Flask.
Going to do search against pagenames in my WikiLog. Alternatives:
- WikiWord-s used in WikiLog, even if no page for them
- pages across multiple spaces in WikiGraph directory
- WikiWord-s across multiple spaces
Make the back-end handler first, responding to http://localhost:8081/nodesearch/Wik
(to search for nodes starting with wik
)
Then start trying to work with the yuku JavaScript code.
- having real problems, not sure whether it's the JavaScript or the way Flask is calling it.
- May13: so copy those bits over inside the
pcgi.py
folder where I run PikiPiki, make anautocomplete
subfolder.
Edited: | Tweet this! | Search Twitter for discussion