Add License Category chart to License Info Dashboard
Opened this issue · 4 comments
The License Policy pie chart on the License Info Dashboard is a nice idea but perhaps ahead of its time. (And the current link you see with No Data is a dead one)
We should replace the License policy pie chart with one for License Categories.
@OmkarPh for the link not working: See https://github.com/nexB/scancode-workbench/blob/v4.0-react-typescript/src/pages/LicenseInfoDash/LicenseInfoDash.tsx#L213
noDataLink="https://scancode-toolkit.readthedocs.io/plugins/licence_policy_plugin.html#using-the-plugin"
should be
noDataLink="https://scancode-toolkit.readthedocs.io/en/latest/plugins/licence_policy_plugin.html#using-the-plugin"
like the other URLs 😉
is a nice idea but perhaps ahead of its time.
Yeah this would be great and should probably be coming after we have aboutcode-org/scancode-toolkit#3417 on the toolkit side.
We have this category only in top level license references right
@OmkarPh yes, but these are for each license key, and we need license categories per file here (which each has a license expression), and this needs to be done at the toolkit side first.
@OmkarPh for the link not working: See https://github.com/nexB/scancode-workbench/blob/v4.0-react-typescript/src/pages/LicenseInfoDash/LicenseInfoDash.tsx#L213
noDataLink="https://scancode-toolkit.readthedocs.io/plugins/licence_policy_plugin.html#using-the-plugin"
should benoDataLink="https://scancode-toolkit.readthedocs.io/en/latest/plugins/licence_policy_plugin.html#using-the-plugin"
like the other URLs 😉
yep, thanks !
Yeah this would be great and should probably be coming after we have nexB/scancode-toolkit#3417 on the toolkit side.
We have this category only in top level license references right
@OmkarPh yes, but these are for each license key, and we need license categories per file here (which each has a license expression), and this needs to be done at the toolkit side first.
Alright