-
Notifications
You must be signed in to change notification settings - Fork 330
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
Add Tool Tip for Bread Crumbs in Comparison View #1717
Conversation
…m/jplag/JPlag into report-viewer/breadcrump-tooltips
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.
Looks good to me
return new Match(firstFileName, secondFileName, startLineFirst, startColumnFirst, endLineFirst, endColumnFirst, startLineSecond, | ||
startColumnSecond, endLineSecond, endColumnSecond, match.length()); | ||
return new Match(firstFileName, secondFileName, startLineFirst, startColumnFirst, startTokenFirst, endLineFirst, endColumnFirst, | ||
endTokenFirst, startLineSecond, startColumnSecond, startTokenSecond, endLineSecond, endColumnSecond, endTokenSecond, match.length()); |
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.
@tsaglam Maybe we should think about splitting up the Match class in the future. For now I would keep it as is, so we don't break our API more than necessary.
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.
Was thinking the same, already have made a card for that on the board
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.
Yeah, I agree. We could just do I class for token subsequences, and a match just takes two subsequences.
|
|
|
Quality Gate passed for 'JPlag Report Viewer'Issues Measures |
Quality Gate passed for 'JPlag Plagiarism Detector'Issues Measures |
This PR adds tooltips in breadcrumps.
In addition it adds an export of the start and end index of the tokenlist for each match. This change is backwards compatible with 5.0.0 and earlier.
Tooltip in 5.1.0:
Tooltip in 5.0.0:
Moreover it includes a rework of the tooltip component. It now can grow outside of a container that has overflow set to hidden, auto or scroll
Fixes #1668