-
Notifications
You must be signed in to change notification settings - Fork 52
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 small issues on Joblist #3767
base: main
Are you sure you want to change the base?
Conversation
Why is it separate? Can't the user click on "Failed" and the error message be displayed? |
Trying to apply a somewhat consistent design: if it has an icon it is a clickable button. At the same time I aimed to keep the status badge consistent, while previewing the error message. Imho the current design is better: having the error in the results tab where there are all kinds of buttons already. |
The use wants to know why something failed. It makes more sense to keep that information together rather than putting it in the output, which is unrelated. |
Shall I push the Failed badge and error together to create a single badge? |
Yes - what we had before was clicking on "Failed" and then getting a modal with the error message. It worked well. |
Same for "Succeeded with warnings". |
Picking this up now. |
New interaction: Screen.Recording.2025-01-10.at.13.29.53.mov |
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 good! Just a couple of minor questions
</button> | ||
</div> | ||
<div class="text-left modal-body"> | ||
{{ object.stderr }} |
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 will dump the entirety of stderr
, I think this needs to be passed through user_error
like in the components application. Or maybe that work should be done when the job completes so that object.error_message
is populated and these two conditional blocks can be unified?
<i class="fa fa-info-circle mr-1"></i>View Result Details | ||
</a> | ||
</div> | ||
{% if object.rendered_result_text %} |
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.
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.
Shall we hide the Result column if there is no rendered text? I think I had that implemented at one point but it got reversed. Maybe because it wasn't implemented correctly at the time.
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.
That had problems as some jobs had rendered text, some didn't, so the column would hide and unhide when crossing pages, and sometimes it would be invisible when it should have been visible (#3524). A query over all jobs to determine its visibility would have needed to be done which means does any job have the right output and is the rendered text returning something for that job. Too expensive for algorithms with lots of jobs.
I think the best way forward here is to link to the detail page again if it is empty for a particular job. We can have another pitch/issue to decide whether to remove the rendered results text now as this is legacy stuff and users should have moved to specific outputs. 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.
I like the idea of having the badge always show up: for now. I think an argument can be made that we should remove this small part of the feature since we don't actively suggest people to use it anymore.
Closes #3436
Screen.Recording.2024-12-24.at.16.28.39.mov