Opened 5 years ago
Closed 2 years ago
#2203 closed task (fixed)
basic autocomplete for wcps queries
Reported by: | Vlad Merticariu | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 11.0 |
Component: | raswct | Version: | 9.8 |
Keywords: | Cc: | Peter Baumann, Dimitar Misev, Bang Pham Huu | |
Complexity: | Medium |
Description
Create a simple html page containing a textbox where users can type wcps queries, and a submit button, which, upon being pressed opens a new tab with location:
http://ows.rasdaman.org/rasdaman/ows?query=urlEncodedUserQuery
Based on the wcps grammar - http://rasdaman.org/browser/applications/petascope/petascope_main/src/main/java/petascope/wcps/parser/wcps.g4 - (1st iteration), and context information from the server, such as available coverages (2nd iteration), add autocomplete to the textbox: as the user types the query, a dropdown of suggested words should appear. The dropdown can be navigated using key-up and key-down, and a choice can be made by pressing Enter or key-right. The drop down can be closed by pressing Esc.
This ticket addresses the 1st iteration only: autocomplete based on the grammar.
Start by investigating existing tools that provide autocomplete based on antlr grammars, such as:
https://github.com/oranoran/antlr4-autosuggest-js
General reading:
Change History (4)
comment:1 by , 5 years ago
Milestone: | 10.0 → 11.0 |
---|
comment:2 by , 5 years ago
Component: | undecided → raswct |
---|---|
Owner: | removed |
Status: | new → assigned |
comment:3 by , 2 years ago
comment:4 by , 2 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
is this ticket still relevant or should be closed?