Open alexbfree opened 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:
@alexbfree any others?
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?
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?)
Possible duplicate of https://github.com/hestiaAI/data-pipelines/issues/27 ?
It's not a duplicate, the issue you mention is about sharing to social media, and the issue here is about sharing via forms
Ah, ok.
This partially depends upon hestiaAI/hestialabs-experiences#265 but that should not be considered a blocker for this ticket
Let's move this up to priority 1.5 :-)
@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?
I think it's hard to start this without the accessors, but maybe @andreaskundig has an idea
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).
There are still unclear details for implementing this issue:
b
from a file containing a->b->c
, do we write a->b->c
where a
is stripped of all info, instead of just writing b->c
without context ? On import, this would let us explore a filtered file in the same way as the original. Or should we just include and show the accessors as context, since they contain the filename and path ?)I will start implementing this simple prototype:
In light of some of the new tickets, I am dropping this to priority 3.
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?) ?
(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)