hestiaAI / hestialabs-experiences

HestiaLabs Data Experiences & Digipower Academy
https://digipower.academy
Other
7 stars 1 forks source link

Ability to Share a specific datapoint (node+any children) and its sourcefile, path, data etc #366

Open alexbfree opened 2 years ago

alexbfree commented 2 years ago

(excuse the brevity, adding tickets in a rush. Contact Alex or Paul for more details)

button always present on every node

to allow us to learn and collect in context examples.

also with ability to add comment (to build up a knowledgebase)

pdehaye commented 2 years ago

This issue requires extensive design before any implementation.

It is about enabling the sharing of feedback (as raw data or more reworked information) with some complex combination of downstream beneficiaries.

There are multiple types of feedback flows we want to enable:

pdehaye commented 2 years ago

@alexbfree any others?

alexbfree commented 2 years ago

I think the above is now covered by our work in the consent form, and this ticket can be considered as a purely technical feature, regardless of purpose. @pdehaye do you agree?

pdehaye commented 2 years ago

If what you are suggesting @alexbfree is to decouple upstream data preparation to consent for downstream purposes, I agree. Since the consenting mechanism is getting worked on separately, we can re-focus this ticket on data preparation (where? what?)

valentinoli commented 2 years ago

Possible duplicate of https://github.com/hestiaAI/data-pipelines/issues/27 ?

ffsinger commented 2 years ago

It's not a duplicate, the issue you mention is about sharing to social media, and the issue here is about sharing via forms

valentinoli commented 2 years ago

Ah, ok.

alexbfree commented 2 years ago

This partially depends upon hestiaAI/hestialabs-experiences#265 but that should not be considered a blocker for this ticket

alexbfree commented 2 years ago

Let's move this up to priority 1.5 :-)

alexbfree commented 2 years ago

@ffsinger is there anything that is worth starting on the consent form side of this while @andreaskundig pursues the accessor side of this? Or is this blocked until accessors are available?

ffsinger commented 2 years ago

I think it's hard to start this without the accessors, but maybe @andreaskundig has an idea

andreaskundig commented 2 years ago

I think you can get started on that with accessors.

The accessors I'm writing are just objects with the attributes filePath, jsonPath and jsonSchema (the last two are optional). Here we only need the first two to specify what we want to export. (jsonSchema could actually be useful if we want to allow the user to choose what attributes of an object to export)

{ filePath: '...', jsonPath: '...' } 

The json viewer should know the jsonPath address of each of its nodes. We also need this feature for #113. We need to add a checkbox on each node's ui. Just as the file explorer produces a list of file names, the json viewer would produce a list of accessors. The accessors could then be used at export to extract the chosen nodes from the file-manager (I'm working on that).

ffsinger commented 2 years ago

There are still unclear details for implementing this issue:

I will start implementing this simple prototype:

alexbfree commented 2 years ago

In light of some of the new tickets, I am dropping this to priority 3.

ffsinger commented 2 years ago

It seems that the UX I was planning to implement (putting the node selection as part of the file selection dialog, for a finer-grained sharing) is not what you have in mind . So should it be part of the file explorer experience, or as a separate dialog (where?) ?