-
Notifications
You must be signed in to change notification settings - Fork 27
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
feat: use nivo responsive bar chart for progress and criticality bar #2639
base: main
Are you sure you want to change the base?
Conversation
2b8093a
to
263b82b
Compare
bd0f00b
to
70a2cdb
Compare
src/Frontend/Components/ProgressBar/__tests__/ProgressBar.test.tsx
Outdated
Show resolved
Hide resolved
70a2cdb
to
52bb95c
Compare
margin: 2, | ||
fontWeight: 500, | ||
position: 'relative', | ||
top: 100, |
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.
the positioning is not working consistently: depending on the bar's mode, the tooltip appears higher or lower below the cursor. could you find a way to make the positioning consistent?
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.
This is still to do, but so far I couldn't find a way.
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.
ok, i'll have a look
a9f8281
to
48494e3
Compare
3cd1ce4
to
f5db9c1
Compare
margin: 2, | ||
fontWeight: 500, | ||
position: 'relative', | ||
top: 100, |
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.
ok, i'll have a look
f5db9c1
to
793d773
Compare
Signed-off-by: Meret Behrens <[email protected]> Signed-off-by: Maxim Stykow <[email protected]>
Signed-off-by: Meret Behrens <[email protected]>
There are still some issues: 1. the position differs between tooltip modes 2. when resizing the window down, the new bar chart does not resize itself thus causing x-overflow Signed-off-by: Maxim Stykow <[email protected]>
793d773
to
8932d9c
Compare
Summary of changes
To improve the progress bar this PR adds a new library nivo and introduces a ResponsiveBar.
Context and reason for change
fixes part of #2622
How can the changes be tested
Open OpossumUI and play around with the progress/criticality bar.
Note: Please review the guidelines for contributing to this repository.