-
Notifications
You must be signed in to change notification settings - Fork 61
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
fix ui changes in helm chart view #2874
fix ui changes in helm chart view #2874
Conversation
Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2874 +/- ##
==========================================
+ Coverage 33.77% 36.50% +2.72%
==========================================
Files 55 54 -1
Lines 4059 3668 -391
Branches 768 711 -57
==========================================
- Hits 1371 1339 -32
+ Misses 2688 2329 -359
☔ View full report in Codecov by Sentry. |
Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
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.
Added some UX changes with card and modal view.
Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
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.
Definitely looks like a better use of space!
- Are we sure about the red underline for "Description" & "Product version" ?
- Also I noticed the "Install" button becomes Red when it can be clicked, while before it was more of a purple (standard light-theme button colour). Is this intentional ?
I would feel free to merge when ready though as this is a step in the right direction.
Hello @rgrunber,
|
@msivasubramaniaan Few UX changes:
|
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.
Suggested UX Changes
Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
@msivasubramaniaan Here are the new review comments.
|
<div style={{ width: '50%', minHeight: '5rem', maxHeight: '10rem' }}> | ||
{selectedVersion.description && | ||
<div className={this.props.cardItemStyle.detailedDescription}> | ||
<Typography variant='body1' className={this.props.cardItemStyle.helmCardDetailItem}>Description</Typography> |
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.
<Typography variant='body1' className={this.props.cardItemStyle.helmCardDetailItem}>Description</Typography> | |
<Typography variant='body1' style = {{ margin: '30px', wordBreak: 'break-word'}}>Description</Typography> |
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.
Also the css applied here has margin: 0px
, we need to remove that, so that the description text below has some line difference. I see the css applied is coming from global reference.
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.
Added the comments around UX.
} | ||
{selectedVersion.maintainers && | ||
<div className={this.props.cardItemStyle.detailedDescription}> | ||
<Typography variant='body1' className={this.props.cardItemStyle.helmCardDetailItem}>Maintainers</Typography> |
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.
} | ||
</Typography> | ||
<div style={{ display: 'flex', flexDirection: 'row', width: '100%', position: 'fixed' }}> | ||
<div className={this.props.cardItemStyle.devPageTitle} style={{ width: '70%', gap: '2rem' }}> |
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 API response gives the correct name, but the UI does not display it correctly. It should display I see you have added Source, why not just keep it as Provider ? It will be consistent to devconsole. |
In most of the cases dev console were removed '-' and displayed the names like |
Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
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.
LGTM. For other enhancements around progress and notification, we will handle in a different PR.
Signed-off-by: msivasubramaniaan msivasub@redhat.com
Fix: #2869