smart-data-lake / sdl-visualization

Visualization for SDLB config
GNU General Public License v3.0
4 stars 1 forks source link

Fix sync between showing Action ins Graph and the corresponding Button #73

Closed zzeekk closed 2 months ago

zzeekk commented 3 months ago

Current Behaviour In Configuration Lineage Graph view, when 1) showing Actions is enabled and disabled again, 2) DataObject is changed then Actions show again, but Button is still disabled

Expected Behaviour After 1) & 2), Action Button stays disabled and Actions are not show in Graph visualization

HX-Tfd commented 3 months ago

Is this problem related to the existence of the index files? When clicking on the dataObject node that has no schema, the HoconParser throws an error:

 Error: Could not read /schema/btl-departures-arrivals-airports.schema.index because it does not exist (rerouted to index.html)
    at HoconParser.ts:137:68
useFetchData.tsx:62 Error: Could not read /schema/btl-departures-arrivals-airports.stats.index because it does not exist (rerouted to index.html)
    at HoconParser.ts:137:68

I see that @zzeekk added some schemas for testing, does it work now? On my branch, this doesn't work even with the schemas added. I suspect that it is due to re-computation of the layout, but I still have to debug it.

HX-Tfd commented 3 months ago

On the demo website, the rocket button works perfectly fine

HX-Tfd commented 2 months ago

done with #82