New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/2789/delta mode with codecharta #3016
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've had the chance to talk with @knoffi about the changes! The new code looks great and is probably more in line with what we need (YAGNI and all), but we still had a few, small pointers.
- Rename compareCollapsedRoot to better fit the function name
- Rename haveSameRoots, so it's clearer that only the name is compared
- Think of what should happen if two files can not be compared (doe to a malformed/weird cc.json) Maybe we can/should display some sort of toast or notification for the user?
But it's already a definite LGTM from us both!
…89/delta-mode-with-codecharta
I'm not really happy with this solution. It's working but I don't like that I also have to handle this root thing in codecharta service ( |
…rta' into fix/2789/delta-mode-with-codecharta
@shaman-apprentice Maybe you can keep an eye on that? EDIT: @shaman-apprentice Please ignore my comment for now. |
…89/delta-mode-with-codecharta
[CodeCharta Analysis] Kudos, SonarCloud Quality Gate passed! |
[CodeCharta Visualization] SonarCloud Quality Gate failed. |
…al but for now it works #2789
This issue will not be fixed. This bug is produced by comparing maps with different structures. So it is fine, that the two compared maps are not shown in delta mode, even if they are very similar. It would take to much effort to refactor the code parts. So I close this for now. |
Activate delta mode when roots are the same but have different paths
Closes: #2789
Description
Screenshots or gifs