Fix root path_segments handling in resource tree right pane#2082
Fix root path_segments handling in resource tree right pane#2082souvikDevloper wants to merge 1 commit into
Conversation
e6feb13 to
603b7c6
Compare
Signed-off-by: Souvik Ghosh <gshbholanath19@gmail.com>
603b7c6 to
b2fc93b
Compare
|
I checked the failing CI job, and the failure appears to be in scanpipe.tests.test_pipelines during pipeline result fixture comparison, while this PR only changes scanpipe/views.py and scanpipe/tests/test_views.py. I also verified scanpipe.tests.test_views locally with SQLite and it passes. This looks unrelated to the resource-tree change, but I’m happy to investigate further if maintainers think there’s a connection. |
|
https://github.com/aboutcode-org/scancode.io/blob/main/CONTRIBUTING.md#pull-request-rules
|
Issues
Changes
path_segmentsgeneration for the root path so it does not produce an empty breadcrumb segmentWhile exploring the current tree/codebase navigation flow, I noticed that the right-pane context-building logic produced an empty breadcrumb segment for the root path. I fixed that behavior and added tests to make the expected navigation context explicit.
Checklist