Skip to content

Logging in WebApps

Josh Chudy edited this page Jul 17, 2019 · 26 revisions

This page borrows information from the corresponding wiki page in the chaise repo. Click here for more details.

Attributes

Following are the default attributes that you can find on all the requests:

  • cid: The app name (boolean-search, heatmap, lineplot, treeview).
  • wid: The window id (randomly generated).
  • pid: The page id (randomly generated).
  • schema_table: The schema:table combination.
  • column: The column for scalar facet
  • action: A pre-defined string that implies what the request was for. Refer the action list below for more information.

Following are the optional attributes that you might find on requests:

  • referrer: It's an object that has the requesting schema_table as its attribute. This attribute is available on requests that need to capture their parent entity (for example related entities will have the main entity as referrer)
  • source: The source path of the facet. This attribute is only present in the requests that belong to a facet.
  • params : {}

Action List

Treeview

Description Action Optional Notes
Fetching the filter data facet table:Stage, table:Species
Select the actual stage associated with specimen facet/selected params={"Specimen_RID": "XXX"}
Fetching the parent-child info to build tree main table:Part_Of
Fetching the isolated nodes isolated table:Anatomy
Fetching the annotated data for specimen annotation table:Specimen_Expression. params={"Specimen_RID": "XXX"}

Heatmap

Description Action Optional Notes
Schema read model/read source
Main Array_Data read on load main
Subsequent reads to get all array data page

Boolean Search

Description Action Optional Notes
Load facet options for different sources facet referrer source Follow recordset facet

PCID List

Similar to what is detailed in chaise, each webapp that has a navbar, will append a PCID query parameter to the links in the url. The format for each webapp will be navbar/<appname>. The following is the current list of PCID's that are used:

  • navbar/boolean-search
  • navbar/heatmap
  • navbar/lineplot
  • navbar/treeview