Bug #21898
closedConsistent info button behavior
Description
The "info" button on the context menu has different behaviors depending on whether the item that is selected is a project, process, workflow, or collection. (As was discussed on Google meet).
It should behave the same way everywhere, independently of being invoked from context menu or toolbar.
The desired behavior is:
- the info panel is open (do not close it if it is already open)
- the details for the currently selected item are displayed
In addition, it looks like the "info" button that appears next to the "refresh" button is no longer needed (because it is available through the toolbar/context menu) and should be removed to minimize redundant buttons.
Updated by Peter Amstutz 8 months ago
- Related to Bug #21846: Right clicking for context menu should first select the item underneath it added
Updated by Peter Amstutz 7 months ago
- Target version changed from Development 2024-06-19 sprint to Development 2024-07-03 sprint
Updated by Peter Amstutz 7 months ago
- Target version changed from Development 2024-07-03 sprint to Development 2024-07-24 sprint
Updated by Peter Amstutz 6 months ago
- Target version changed from Development 2024-07-24 sprint to Development 2024-08-07 sprint
Updated by Peter Amstutz 6 months ago
- Target version changed from Development 2024-08-07 sprint to Development 2024-08-28 sprint
Updated by Lisa Knox 6 months ago
developer-run-tests-services-workbench2: #1031
21898-info-button-behavior @ 54aa93a819ab36abcdbe69cb2ad5259a105f5bc9
- ✅ All agreed upon points are implemented / addressed.
- ✅ Anything not implemented (discovered or discussed during work) has a follow-up story.
- ✅ Code is tested and passing, both automated and manual, what manual testing was done is described
- ✅ Documentation has been updated.
- NA - ✅ Behaves appropriately at the intended scale (describe intended scale).
- ✅ Considered backwards and forwards compatibility issues between client and server.
- NA - ✅ Follows our coding standards and GUI style guidelines.
- We should probably talk about unifying and simplifying the context/multiselect actions implementation. To change the functionality of the info button, I had to make the exact same exact change in 9 different places. I think it would be pretty straightforward to align all of these things so we don't have repeated code and make bugs easier to avoid. That said, it's not actually broken right now so it doesn't necessarily need fixing.
Updated by Peter Amstutz 6 months ago
Lisa Knox wrote in #note-10:
developer-run-tests-services-workbench2: #1031
21898-info-button-behavior @ 54aa93a819ab36abcdbe69cb2ad5259a105f5bc9
- ✅ All agreed upon points are implemented / addressed.
- ✅ Anything not implemented (discovered or discussed during work) has a follow-up story.
- ✅ Code is tested and passing, both automated and manual, what manual testing was done is described
- ✅ Documentation has been updated.
- NA- ✅ Behaves appropriately at the intended scale (describe intended scale).
- ✅ Considered backwards and forwards compatibility issues between client and server.
- NA- ✅ Follows our coding standards and GUI style guidelines.
This LGTM.
Notes:
- We should probably talk about unifying and simplifying the context/multiselect actions implementation. To change the functionality of the info button, I had to make the exact same exact change in 9 different places. I think it would be pretty straightforward to align all of these things so we don't have repeated code and make bugs easier to avoid. That said, it's not actually broken right now so it doesn't necessarily need fixing.
Yea, it would benefit from being refactored a bit. To be honest I'm never quite sure how to best to reduce code duplication in workbench 2, the architecture is such that things are split up by component in a way that tend to encourage duplication so that styling/behavior can be easily customized for each component, but it leads to a certain amount of redundancy like this. For toolbars/context menu actions I agree they should be aligned so that every action is the same in whatever context it appears.
Updated by Peter Amstutz 6 months ago
As I was going through this I did notice one toolbar that needs a little work (the subprocess list, also used on the workflow description page)
Updated by Lisa Knox 5 months ago
- Status changed from In Progress to Resolved
Applied in changeset arvados|927569b640219290b509968e932df3bc105c4051.