-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
refactor(ui): artifacts table Fixes #8306 #14037
refactor(ui): artifacts table Fixes #8306 #14037
Conversation
…rtifacts to include column names and expand text on hover for individual rows Signed-off-by: Unperceivable <[email protected]>
Signed-off-by: Unperceivable <[email protected]>
Signed-off-by: Unperceivable <[email protected]>
@@ -40,21 +40,34 @@ export function WorkflowArtifacts(props: Props) { | |||
return ( | |||
<div className='white-box'> | |||
<div className='white-box__details'> | |||
<div className='row header'> | |||
<div className='columns download'>Download</div> |
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 download symbol in each row is self-explanatory enough.
we probably don't need this download column, or download column name, what do you think?
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.
Sure, I had tried both and settled for explicit over implicit but personally I think the download icon is clear enough too.
fixed in 359f5c4
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 table seems to resize when hovered at the cell, could you fix that
That was the intended change, from Modifications:
The alternative suggested in the ticket was a horizontal scroll feature. I figured there would be edge cases where some columns would not appear until you scroll. |
… icon to artifact name column Signed-off-by: Unperceivable <[email protected]>
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.
Thank you for the fix, last few things:
-
Could you make sure the table values align with the column name, e.g., left align? People will definitely raise an issue about this later on.
-
we are already on artifact panel, rather than "Artifact Name", using "Name" is probably sufficient enough
-
I think we better have the timeformat switch button at the column title instead of individual artifact table value, just like the workflow list page. (we could tackle this in a separate PR, create an issue for this and a separate PR)
…tent Signed-off-by: Unperceivable <[email protected]>
Signed-off-by: Unperceivable <[email protected]>
Signed-off-by: Unperceivable <[email protected]>
Fixed padding issue ef7e1a1
Renamed column. but not in the node overview since there is no label to define artifacts in input/output 2f3b9da
Moved timestamp switch to column fe51106 |
…f row fix: node-info created-at header div missing Signed-off-by: Unperceivable <[email protected]>
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.
looks great! Thanks for the contribution and happy new year
Fixes #8306
Motivation
From original issue
Modifications
Refactored workflow-details artifacts white-box to include table columns and expand a cell with text too long for it's cell on hover.
Added same functionality to workflow-node-info -> inputs/outputs
Verification