RepoSense icon indicating copy to clipboard operation
RepoSense copied to clipboard

Merged group view: show author in code view

Open damithc opened this issue 4 years ago • 3 comments

When the merge all groups option is used, the code view shows code of all authors in the group. image

It would be nice if we can distinguish which author wrote which part of the code, (similar to GitHub blame view?)

Reason: it allows the user to see the code authorship distribution among the code e.g., which files are edited by multiple people

Need to discuss the feasibility, performance cost, and a suitable UI design first.

damithc avatar Apr 10 '21 04:04 damithc

Seems feasible, shouldn't have a large performance hit since we are still rendering the same lines of code.

gerhean avatar Apr 10 '21 05:04 gerhean

Seems feasible, shouldn't have a large performance hit since we are still rendering the same lines of code.

Good. We need to figure out a good UI design though. We don't want to spend a lot of display space for this either. Perhaps use different colors (instead of the current color green)?

damithc avatar Apr 10 '21 08:04 damithc

In that case, we also need to decide how to display the matching of name to the color, something like the breakdown by filetype, but different so as to not be confusing.

gerhean avatar Apr 10 '21 08:04 gerhean