Opened 5 years ago

Closed 5 years ago

#2316 closed defect (fixed)

defining rasql-web-console queries in a different manner

Reported by: dkamov Owned by: dkamov
Priority: major Milestone: 10.0
Component: raswct Version: 9.8
Keywords: Cc: Bang Pham Huu, Vlad Merticariu, Dimitar Misev
Complexity: Medium

Description

With ticket #2257 (http://codereview.rasdaman.org/D1026) the Rj.query.Rasql and Rj.widget.RasqlConsole classes from demo.js were moved to raswct/src/widget/RasqlConsole.js.

Within the Rj.widget.RasqlConsole class the queries which are being offered as options in the HTML are defined.

Due to the fact that we want different query options for each website the options need to be removed from the Rj.widget.RasqlConsole class and be defined in some other way.

I suggest having a JSON file where the queries would be defined and then they would be read.

Change History (1)

comment:1 by dkamov, 5 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.