-
Notifications
You must be signed in to change notification settings - Fork 33
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
wf-details: display workflow size #321
wf-details: display workflow size #321
Conversation
cf303bc
to
e318e24
Compare
35050d0
to
d033266
Compare
I think that using a single component would still be a nice solution, because the information and the way it is displayed is very similar. Maybe in the future we could also think about grouping some elements in subcomponents (workflow size, workflow duration, ...), but always keeping them inside the I fixed the visual inconsistencies adding a small CSS class that contains the styles to be applied to the component only in the workflow-details page (e.g. display the launcher label). The only difference with the previous version that is still present is that, in the workflow-details page, the jupyter notebook icon is displayed under the workflow name (next to the workspace size), as is done inside the workflow-list page, and not next to the workflow name anymore (where the launcher label is), which I don't think is a problem. What do you think? |
d033266
to
d89181c
Compare
Other than the change in position of the jupyter icon, there are still some issues when the workflow is running: There are also some small visual differences (e.g. sometimes different spacing between components), but I think most of them do not really matter. I am not convinced this is the right approach. In particular, I find it quite hard to review all these changes and I fear that some issues might not be caught in time. From my point of view, I would probably prefer to:
At the same time, I don't want to waste the work you have done in this PR. @audrium could you please also have a quick look and tells us what you think about this PR? |
Regarding the placement of the workspace size, what do you think about placing it after |
d89181c
to
34419e8
Compare
34419e8
to
22cadf6
Compare
Some comments on the icon position topic, with some further unrelated musings down the list about the information display in general:
|
I agree! Just a couple of comments:
We should also consider that, in the list page, these buttons would be nested inside another clickable object (the whole "workflow box") and I think we should try to avoid this as much as possible, as it might be confusing for users.
I think we should keep the width of the workflow list the same, or at most widen it just a little bit. I feel that, by keeping the list narrow, all the details about a workflow are "together", while if we widen it then the details "get lost" in the page. Keeping the list narrow also forces us to show only the important details of a workflow. Note that the main content (that is excluding lateral menus and similar) of many websites is very narrow (e.g. Google search results, GitHub issues, Python docs, etc.). |
I like the new ideas!
I agree with Marco on this. However, at the moment, the width of the workflow list container is optimized for
I tried to do that, and the result looks quite good to me: However, I share with Marco the concern of the confusion that nesting multiple clickable buttons inside an already clickable object may cause in the user (even though it's a bit like the current behavior with the Jupyter Notebook icon). Maybe making the labels simpler and with a darker background on hover is a more suitable solution: |
Superseded by #394 |
Closes #151