Closed ngehlenborg closed 7 years ago
With the current state of CLUE it doesn't make sense to include it in the phovea library, because:
For this reason we decided (for now) to extract only the provenance storage to phovea_core so that we are able to clueify our standard visualizations (heatmap, scatterplot, etc) and store the provenance information in memory or localstorage. What the application does with this graph is up the developer/user.
As for the CLUE interface (provenance graph, authoring, etc) we need to think of a more general approach how encapsulate the templates. Instead of injecting the whole templates somewhere, the better solution might be to create different components (provenance graph, authoring, etc) that the developer can place into his application, at the position he wants.
According to @sgratzl the second argument is not valid anymore, since Phovea uses webpack and can bundle everything independent of the file type.
An additional argument is that CLUE also provides the URL handling, which might conflict with the URL handling of the host application.
Related to #95, What are the arguments for and against making
phovea_clue
part of thephovea_bundle_library
?Or is it possible to build a separate bundle just for CLUE?
Or how could it easily be added to projects that are built using
phovea_bundle_library
?