Skip to content
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

Visual fixes and improvements #711

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Malex14
Copy link

@Malex14 Malex14 commented Nov 17, 2024

This PR fixes a lot of small CSS-Issues and improves the cpu and memory charts.

Charts

I've updated the chart library to the latest version and added a tooltip that displays the cpu / ram usage at the point of time where the cursor hovers over the chart. Additionally the cpu chart and legend show the usage now in percent (instead of 0 to cpu count) and has its y max fixed at 100%. I've also added a hover text to the cpu legend that displays the averages of the past 1, 5 and 15 minutes. Also the y-Axis is now readable in dark mode:

Click to show screenshots

Original:

1
10

Improved:

2
3
6

Overflowing Boxes

To fix the mobile overflows, I mostly just reenabled the commented out @media rules. But a few other changes had to be made too:

Click to show screenshots

Original:

11
12
13

Improved:

4
5
7
8

Overlapping Text

Lastly there was some overlapping text in the "External monitoring tool" section:

Click to show screenshots

Original:

14

Improved:

9

@Malex14 Malex14 force-pushed the visual-fixes-and-improvements branch from e976f54 to cfb0ada Compare November 18, 2024 10:31
Changes in detail:
- show load in percent
- pined chart y max to 100%
- added units to chart y-Axis
- added small (by default) blue box to CPU load legend (like the one that was in the RAM legend)
- added hover text to the "Load average: XX.X % (X.XX) last minute" that displays the load averages for 1, 5 and 15 minutes
- added tooltip to both charts that display the cpu load / ram usage at the time where the cursor hovers.

Signed-off-by: Malex14 <[email protected]>
…commented out `@media` css rules, removed remains from when the css-file was scss

Signed-off-by: Malex14 <[email protected]>
@Malex14 Malex14 force-pushed the visual-fixes-and-improvements branch from cfb0ada to 54d3785 Compare November 18, 2024 10:34
@Malex14
Copy link
Author

Malex14 commented Nov 18, 2024

I just rebased the pr on top of the current master branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant