-
Notifications
You must be signed in to change notification settings - Fork 107
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
Added XDMoD analytics metrics to jobs widget #3789
Merged
johrstrom
merged 10 commits into
OSC:master
from
hmdc:998_xdmod_jobs_widget_enhancements
Oct 8, 2024
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
b669c9c
Added XDMoD analytics metrics to jobs widget
abujeda c91cc10
Updated XDMoD analytics rendering to remove nested tables
abujeda 6bb921e
Improved XDMoD job analytics padding
abujeda cab4581
Fixed XDMoD Javascript login methods and error handling
abujeda 99f3656
Moved all XDMoD analytics code into xdmod/jobs.js file
abujeda bd22a41
CSS improvement for job analytic metrics badges
abujeda 30ff532
Fixed flaky models/Project test
abujeda 773f9f1
Removed the extra rows added for XDMoD job analytics to improve acces…
abujeda 7bfd405
Removed redundant job analytics method
abujeda 2a649ca
Fixed Javascript format for XDMoD job analytics
abujeda File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/** Job Analytics **/ | ||
#jobsPanelDiv { | ||
.hiddenRow { | ||
padding: 0 !important; | ||
} | ||
|
||
i.app-icon { | ||
width: 0.9rem; | ||
height: 0.9rem; | ||
font-size: 0.9rem; | ||
} | ||
|
||
tr { | ||
position: relative; | ||
} | ||
|
||
tr[aria-expanded=true] .closed { | ||
display: none; | ||
} | ||
|
||
tr[aria-expanded=false] .open { | ||
display: none; | ||
} | ||
|
||
tr[aria-expanded=true] td:not(.job-analytics) { | ||
padding-bottom: 45px; | ||
} | ||
|
||
tr.error[aria-expanded=true] td:not(.job-analytics) { | ||
padding-bottom: 200px; | ||
} | ||
|
||
tr.error td.job-analytics { | ||
border-bottom: none; | ||
} | ||
|
||
td.job-analytics { | ||
position: absolute; | ||
top: 35px; | ||
left: 0; | ||
z-index: 1000; | ||
width: 100%; | ||
padding: 0; | ||
|
||
div.job-analytics-content { | ||
display: flex; | ||
justify-content: space-between; | ||
padding: 0.5rem 0.5rem; | ||
|
||
strong { | ||
font-weight: 600; | ||
} | ||
|
||
.badge { | ||
vertical-align: 1px; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Just to be clear - the button is in the 1st column and that expands that data in the 5th column?
I think there's still something off about this. The 5th column reads as
blank
if you've ever expanded it before and collapsed it. And if you've never collapsed it, it skips the column entirely, when it should read something likeanalytics column <something about needing to expand it>
.That said - I can merge this now and pick it up later just because this has dragged on for a while.
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.
Yes , that is the solution I came up with to display the analytics without creating a new row.