trustification / trustify-ui

Trustify UI component.
2 stars 8 forks source link

Bring back the code editor/viewer #73

Open ctron opened 3 months ago

ctron commented 3 months ago

SPoG UI has the embedded code viewer for directly viewing documents (like SBOMs, …). This is a super handy feature when trying to understand why the data in the UI is as it is, because one can take a direct look at the source.

I agree that it might not be that useful for the average user, but for the more advanced users it sure is.

carlosthe19916 commented 3 months ago

My main concern is the fact that SBOM files can be huge in size and although it shouldn't happens every time but it will kill the browser when rendering enormous files.

Before implementing this I'll try to measure how big a file can be before killing the browser and based on that we can take a conscious decision