That diff adds support for client side rendering of Jupyter notebooks inside
the content view of swh-web/browse.
Related T1641
Differential D1415
Add support for client side rendering of Jupyter notebooks anlambert on Apr 12 2019, 6:18 PM. Authored by
Details That diff adds support for client side rendering of Jupyter notebooks inside Related T1641
Diff Detail
Event TimelineComment Actions Build is green Comment Actions Update:
Comment Actions Build has FAILED Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tox/391/ Comment Actions Build is green Comment Actions Update:
Currently this diff contains a single commit. I intend to improve the git history Comment Actions Build is green Comment Actions Update:
Comment Actions Build is green
Comment Actions Build is green Comment Actions Update:
Comment Actions Build is green
Comment Actions Build is green Comment Actions Build is green Comment Actions Update: Check that hljs supports the notebook language prior calling the highlight function Comment Actions Build is green Comment Actions I think we need to have a conversation about how we decide to add support for rendering specific file formats in the webapp.
In summary, this feature is really cool. But I think we rushed a bit into getting it in. I'm not opposed to actually landing this, but we really need to sit down and think about the process, the architecture, and the policy for deciding how (and if) to add support for other formats in the future. Comment Actions
It was a user request so I think it is wise to listen to their need, plus the proposed use case is really interesting for showcasing the
Sure, this calls for clever refactoring.
All produced HTML gets filtered for XSS injection before inserting it into the DOM. So apart some external image bytes, nothing sensible will be loaded.
I will create a task on this next week and start brainstorming about it. Comment Actions Build is green Comment Actions Build is green |