hpi-epic / repositoryguide

Guiding you in exploring your team's Git(Hub) repository
MIT License
1 stars 1 forks source link

[BUG] Matrix visualisations not really responsive to its container's change #82

Open LucPrestin opened 2 years ago

LucPrestin commented 2 years ago

Describe the bug

The matrix visualizations do adapt to their container's size, but somewhat unexpected. On 16:9 displays, they are way too big so they interfere with the visualization below. To me it seems they only adapt to their parent's width, not to its height.

Screenshots

How it looks on a 16:9 display:

image

How it looks at half the width at same height:

image

To Reproduce

Steps to reproduce the behavior:

  1. Switch to branch 42-major-refactoring (as long as it isn't merged)
  2. Load a config
  3. Open views/home
  4. Go to the commit-based metrics
  5. Look at the commit-times visualization

Expected behavior

The visualizations using the matrix plugin should adapt according to the container's bounding box, not only to the width and thus ignoring the height

Desktop (please complete the following information):