-
Notifications
You must be signed in to change notification settings - Fork 357
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: remove job move actions from webui #9603
fix: remove job move actions from webui #9603
Conversation
✅ Deploy Preview for determined-ui ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## job-queue-move #9603 +/- ##
================================================
Coverage 51.71% 51.71%
================================================
Files 1255 1255
Lines 152575 152447 -128
Branches 3091 3081 -10
================================================
- Hits 78905 78844 -61
+ Misses 73513 73446 -67
Partials 157 157
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
Looking good from the Web UI side, just a minor comment.
const rpTotalJobCount = useCallback( | ||
(rpName: string) => { | ||
const stats = rpStats.find((rp) => rp.resourcePool === rpName)?.stats; | ||
return stats ? stats.queuedCount + stats.scheduledCount : 0; | ||
}, | ||
[rpStats], | ||
); | ||
|
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.
I get that the objective is to remove the unsupported actions, but, is this part of it? 😅
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.
Great question! As far as I can tell, rpTotalJobCount
is only used to display out of x
in the Position in Queue
section (that we are removing).
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
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.
flu took me out for a few days but fwiw ✅
Ticket
RM-342
Description
Followup to #9585, which removes the ability for users to update a job's queue position within the same priority group in the backend. Now that actions like "Move To Top" and repositioning a job within "Manage Job" have no effect, remove the buttons from the webui.
"Move to Top" on Resource Pool page should be removed and "Position in Queue" on "Manage Job" pop-up should be removed, as shown in the highlighted section in screenshots.
Test Plan
None needed.
Checklist
docs/release-notes/
See Release Note for details.