Skip to content

Network graph

Network graph #3082

Triggered via pull request October 12, 2023 13:53
Status Failure
Total duration 1m 58s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 4 warnings
build: src/js/components/PrivateMessage.tsx#L44
Property 'text' does not exist on type 'VerifiedEvent<number>'.
build: src/js/nostr/Events.ts#L325
Argument of type 'string' is not assignable to parameter of type 'null | undefined'.
build: src/js/nostr/Events.ts#L366
Property 'text' does not exist on type 'VerifiedEvent<number>'.
build
Process completed with exit code 2.
lint: src/js/views/NetworkGraph.tsx#L132
Insert `······`
lint: src/js/views/NetworkGraph.tsx#L182
Replace `·class="btn·btn-primary"·onClick={()·=>·{·setOpen(true);·refreshData();·}}` with `⏎··········class="btn·btn-primary"⏎··········onClick={()·=>·{⏎············setOpen(true);⏎············refreshData();⏎··········}}⏎········`
lint: src/js/views/NetworkGraph.tsx#L188
Replace `·class="absolute·top-6·right-6·z-30·btn·hover:bg-gray-900"·onClick={()·=>·setOpen(false)}>X` with `⏎············class="absolute·top-6·right-6·z-30·btn·hover:bg-gray-900"⏎············onClick={()·=>·setOpen(false)}⏎··········>⏎············X⏎··········`
lint: src/js/views/NetworkGraph.tsx#L196
Replace `·class={`btn·bg-gray-900·py-4·h-auto·flex-col·${isSelected·?·'bg-gray-600·hover:bg-gray-600'·:·'hover:bg-gray-800'}`}·onClick={()·=>·isSelected·||·updateConfig({·showDistance:·i·})·}` with `⏎····················class={`btn·bg-gray-900·py-4·h-auto·flex-col·${⏎······················isSelected·?·'bg-gray-600·hover:bg-gray-600'·:·'hover:bg-gray-800'⏎····················}`}⏎····················onClick={()·=>·isSelected·||·updateConfig({·showDistance:·i·})}⏎··················`
lint: src/js/views/NetworkGraph.tsx#L217
Replace `·graphConfig.direction·===·Direction.OUTBOUND·?·'Outbound'·:·'All'·}` with `graphConfig.direction·===·Direction.OUTBOUND·?·'Outbound'·:·'All'}{'·'}⏎·············`
lint: src/js/views/settings/SocialNetwork.tsx#L10
Replace `"../NetworkGraph"` with `'../NetworkGraph'`
lint
Process completed with exit code 1.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
bench
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/