lmichel / TAP-complex-data

JS module helping users to query and browse complex data exposed in a IVOA TAP service
MIT License
5 stars 1 forks source link

[FEATURE]Service, schema and root table selection #36

Open galyfray opened 2 years ago

galyfray commented 2 years ago

Is your feature request related to a problem? Please describe. there is no way to change the root table or to use a different schema in the jsResources demos page

Describe the solution you'd like something like the tree used in the TapHandle page would do the job

lmichel commented 2 years ago

Connecting different TAP Nodes

There are 2 different ways to connect the tool with a TAP node:

  1. From the URL
    • https://server/joinwalker?url=https://simbad.tap: will create an TAP node in the data tree.
      • This Node is populated with the TAP service structure (schema, table)
      • The connection to a particular table is triggered by a user action on the data tree
    • https://server/joinwalker?url=https://simbad.tap&table=public.basic: will create an TAP node in the data tree.
      • This Node is populated with the TAP service structure (schema, table)
      • The API gets connected with that table as root table.
        1. From the registry search bar
      • The user types keywords in the search bar
      • The list of matching services is displayed
      • The user select the service he/she wants to connect to.
      • This Node is populated with the TAP service structure (schema, table)
      • The connection to a particular table is triggered by a user action on the data tree
lmichel commented 2 years ago

Service Tree Node Behavior

Look and feel

Double Click on table

As the following actions are a bit heavy, it is better to trigger them with double-clicks: lower risk of mistakes.

Simple Click on a table

Double Click on service root node

lmichel commented 2 years ago

Once the direct access to a specific table is working (?url=https://simbad.tap&table=public.basic), the URL must be made available to allow users to bookmark any table.

proposal When clicking on thge [i] button on any table node of the data tree, the column selector show up.

Screenshot 2021-12-18 at 11 25 50

The URL could by added to the table description block above the column table. The should use the same layout as for BookMark bottom on the application page head

Screenshot 2021-12-18 at 11 29 37