Skip to content

Infodump: Everything Everywhere All at Once

Stache edited this page Jun 8, 2022 · 4 revisions

Infodump: Everything Everywhere All at Once

Any information useful or necessary for:

  • Make the application work in its entirety
  • Create or modify an experiment
  • Create or modify visualisations
  • Create or modify visualisations
  • etc.

Rule of thumb: if it's documentation useful for installation and deployment, it goes in the main README; if it's documentation for the application as a whole, main README; if it's to extend some functionality of the application, it goes here.

Difference between "experiences" and "monorepo"

  • Hestialabs monorepo vs. Hestialabs-experiences
  • Basic, just experiences
  • Then, monorepo which just contains the modules for the different experiences
  • At the end, the idea is to have everything in one place

Create a new experience

Create a new package

Then

  • First add the block, don't hesitate to put showTable: true for debug
  • In the view, in the script, in the export default, you have to add the mixin
  • It is this mixin which allows to have the data which are to be used

How it works

  • definition experience: First SQL query, show table=true
  • Files that take as input a json with a thing called values and a thing called headers, basically a csv
  • All these files take the same input and make a visua
  • These visu you can call directly in the settings of hestialabs

Charts

Most charts are available under components/chart/view/

Difference between individual and collective experiences

  • Data sent to server
  • Encrypted by public key (private key to person who created the bubble)
  • The experience is either the same as the individual experience or it is new graphs