https://github.com/4dn-dcic/fourfront/pull/1845 had adverse effects on Table-of-Content that is malfunctioning for some Markdown-RST and HTML pages: TOC items are not rendered at all, or not clickable even if they are visible. It was previously implemented for Markdown-to-JSX converter (ReactJS) and does not support the Markdown-to-HTML (Python) or RST and HTML. This PR adds support for all types of content. (RST has still some issues)
HealthView
Node v18transition requires the npm upgrade (v9+) that has breaking changes related to the package-lock.json's formation, e.g. dependencies became legacy and not exists at all in some cases (https://docs.npmjs.com/cli/v9/configuring-npm/package-lock-json#dependencies ) Since HealthView is grabbing package-lock.json's dependencies for HiGlass-like 3rd party packages' version, it fails now. The fix is trivial; instead of dependencies, packages have relevant information.
Unpkg
Removal of dependencies in package-lock.json makes HiGlassPlainContainer failing, since HiGlass css is dynamically loading its css from unpkg using relevant version. Similar issue exists for other 3rd party integrations.
Trello: 1, 2 & 3
TOC Updates
https://github.com/4dn-dcic/fourfront/pull/1845 had adverse effects on Table-of-Content that is malfunctioning for some Markdown-RST and HTML pages: TOC items are not rendered at all, or not clickable even if they are visible. It was previously implemented for Markdown-to-JSX converter (ReactJS) and does not support the Markdown-to-HTML (Python) or RST and HTML. This PR adds support for all types of content. (RST has still some issues)
HealthView
Node v18
transition requires the npm upgrade (v9+) that has breaking changes related to thepackage-lock.json
's formation, e.g. dependencies became legacy and not exists at all in some cases (https://docs.npmjs.com/cli/v9/configuring-npm/package-lock-json#dependencies ) SinceHealthView
is grabbing package-lock.json's dependencies for HiGlass-like 3rd party packages' version, it fails now. The fix is trivial; instead of dependencies, packages have relevant information.Unpkg
Removal of dependencies in
package-lock.json
makesHiGlassPlainContainer
failing, since HiGlass css is dynamically loading its css fromunpkg
using relevant version. Similar issue exists for other 3rd party integrations.