Project

General

Profile

Actions

Bug #22207

closed

Move lesser-used operations to the end of the icon list

Added by Peter Amstutz about 1 month ago. Updated 24 days ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench2
Story points:
-
Release:
Release relationship:
Auto

Description

May need to implement a "copy to uuid to clipboard" operation, but this should be trivial.

Projects

Group 1:

  • View details
  • Open in new tab
  • Copy UUID to clipboard
Group 2:
  • Share
  • Edit details
  • Move to trash

Group 3:

  • New project
  • Move project
  • Freeze
  • Favorite
  • Public favorite

Group 4:

  • Copy link to clipboard
  • Open with 3rd party client
  • API details

Collections

Group 1:

  • View details
  • Open in new tab
  • Copy UUID to clipboard
Group 2:
  • Share
  • Edit details
  • Move to trash

Group 3:

  • Copy collection
  • Move collection
  • Favorite
  • Public favorite

Group 4:

  • Copy link to clipboard
  • Open with 3rd party client
  • API details

Workflow runs

Group 1:

  • View details
  • Open in new tab
  • Copy UUID to clipboard

Group 2:

  • Copy and re-run
  • Edit details
  • Remove

Group 3:

  • Outputs
  • Favorite
  • Public favorite

Group 4:

  • Copy link to clipboard
  • API details

Workflow definitions

Group 1:

  • View details
  • Open in new tab
  • Copy UUID to clipboard

Group 2:

  • Run
  • Remove

Group 3:

  • Copy link to clipboard
  • API details

Files

subprocesses-toolbar-overflow.png (23.2 KB) subprocesses-toolbar-overflow.png Peter Amstutz, 10/22/2024 07:41 PM
workflow-runs-toolbar-bad-overflow.png (23.2 KB) workflow-runs-toolbar-bad-overflow.png Peter Amstutz, 10/22/2024 07:41 PM
all-processes-overflow-fine.png (17.2 KB) all-processes-overflow-fine.png Peter Amstutz, 10/22/2024 07:47 PM
all-processes-toolbar.png (28.3 KB) all-processes-toolbar.png Peter Amstutz, 10/24/2024 03:05 PM
subprocesses-toolbar.png (23.7 KB) subprocesses-toolbar.png Peter Amstutz, 10/24/2024 03:05 PM
workflow-runs-toolbar.png (33.7 KB) workflow-runs-toolbar.png Peter Amstutz, 10/24/2024 03:05 PM
run-history-toolbar3.png (24.4 KB) run-history-toolbar3.png Peter Amstutz, 10/24/2024 03:05 PM

Subtasks 1 (0 open1 closed)

Task #22220: Review 22207-icon-resortResolvedPeter Amstutz10/24/2024Actions

Related issues

Blocked by Arvados - Bug #22236: Toolbar overflow not workingResolvedLisa KnoxActions
Actions #1

Updated by Peter Amstutz about 1 month ago

  • Status changed from New to In Progress
Actions #2

Updated by Peter Amstutz about 1 month ago

  • Description updated (diff)
Actions #3

Updated by Peter Amstutz about 1 month ago

  • Description updated (diff)
Actions #4

Updated by Peter Amstutz about 1 month ago

  • Subject changed from Move lesser-used icons to the end of the operations list to Move lesser-used operations to the end of the icon list
Actions #5

Updated by Peter Amstutz about 1 month ago

  • Description updated (diff)
Actions #6

Updated by Peter Amstutz about 1 month ago

  • Description updated (diff)
Actions #7

Updated by Peter Amstutz about 1 month ago

  • Release set to 70
Actions #8

Updated by Peter Amstutz about 1 month ago

  • Description updated (diff)
Actions #9

Updated by Peter Amstutz about 1 month ago

  • Description updated (diff)
Actions #10

Updated by Peter Amstutz about 1 month ago

  • Description updated (diff)
Actions #11

Updated by Peter Amstutz about 1 month ago

  • Target version changed from Development 2024-11-06 sprint to Development 2024-10-23 sprint
Actions #12

Updated by Peter Amstutz about 1 month ago

  • Target version changed from Development 2024-10-23 sprint to Development 2024-11-06 sprint
Actions #13

Updated by Peter Amstutz about 1 month ago

  • Target version changed from Development 2024-11-06 sprint to Development 2024-10-23 sprint
Actions #14

Updated by Peter Amstutz about 1 month ago

  • Assigned To set to Lisa Knox
  • Status changed from In Progress to New
Actions #15

Updated by Lisa Knox about 1 month ago

  • Status changed from New to In Progress
Actions #16

Updated by Peter Amstutz about 1 month ago

"copy uuid" on the toolbar, we would like to use "FileCopyOutlined" but it conflicts with "Copy Collection"

So that means we need to change the icon used for "Copy Collection".

  • Use "LibraryBooksOutlined" as the copy collection icon on the toolbar.

https://mui.com/material-ui/material-icons/?query=library&theme=Outlined&selected=LibraryBooksOutlined

  • Because "LibraryBooks" is currently used as the icon for collections, change the standard "Collection" icon to "Description".
  • Change the icon used to copy ids (currently FileCopyOutlined) to "ContentCopy"
    • E.g. the values in the right side "Details" panel
  • That means the icon used to copy the uuid on the toolbar will also ben "ContentCopy"
Actions #17

Updated by Peter Amstutz about 1 month ago

New plan:

Change the icon used to copy ids (currently FileCopyOutlined) to "ContentCopy"

E.g. the values in the right side "Details" panel should also be using "ContentCopy"

Then the icon used to copy the uuid on the toolbar should also be "ContentCopy"

Design principle is to use "Link" when it copies a full URL and "ContentCopy" when it copies a UUID.

Actions #18

Updated by Lisa Knox about 1 month ago

22207-icon-resort @ 2dee3c8d68af8e561454fe829fc41cf6475fea6c

developer-run-tests-services-workbench2: #1272

  • ✅ 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
  • ✅ New or changed UX/UX and has gotten feedback from stakeholders.
    All direction was from the stakeholders
  • - Documentation has been updated.
  • ✅ Behaves appropriately at the intended scale (describe intended scale).
  • ✅ Considered backwards and forwards compatibility issues between client and server.
    No change
  • ✅ Follows our coding standards and GUI style guidelines.
Notes:
  • There is a reference to "Copy Link To Clipboard" items for Workflow runs, but that menu item didn't previously exist and there was no mention of implementing it, so I assumed it was a mistake.
Actions #19

Updated by Peter Amstutz about 1 month ago

Lisa Knox wrote in #note-18:

22207-icon-resort @ 2dee3c8d68af8e561454fe829fc41cf6475fea6c

developer-run-tests-services-workbench2: #1272

  • ✅ 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
  • ✅ New or changed UX/UX and has gotten feedback from stakeholders.
    All direction was from the stakeholders
  • - Documentation has been updated.
  • ✅ Behaves appropriately at the intended scale (describe intended scale).
  • ✅ Considered backwards and forwards compatibility issues between client and server.
    No change
  • ✅ Follows our coding standards and GUI style guidelines.
Notes:
  • There is a reference to "Copy Link To Clipboard" items for Workflow runs, but that menu item didn't previously exist and there was no mention of implementing it, so I assumed it was a mistake.

There should be a "Copy Link To Clipboard" for workflow runs, so I think leaving it out was an earlier oversight. Please add that.

I think this is pretty good, just one thing I noticed:

When opening the overflow menu, the tooltips appear below the item. When you move the pointer down towards the next item, the tooltip is still visible, as a result the pointer wants to interact with the tooltip from the previous item instead of hovering over the next item.

To fix this, I propose adding placement="left-end" to only the tooltips that appear in the overflow menu.

We don't want to use that placement for the horizontal toolbar, otherwise we just have the same issue. The tooltip needs to appear somewhere out of the way of the direction of motion of the pointer along the menu.

Actions #20

Updated by Lisa Knox 30 days ago

22207-icon-resort @ a0a90345d5be7cc969236b76543ba99ca76e56ef

developer-run-tests-services-workbench2: #1288

There should be a "Copy Link To Clipboard" for workflow runs...

added

When opening the overflow menu, the tooltips appear below the item...

Done

To fix this, I propose adding placement="left-end"...

I chose left-start instead of left-end because it had better vertical alignment with the list items

Also, I noticed that when a project is frozen, the "Share" button (in both the toolbar and context menu) is in a subsection all by itself. At first I thought something was broken, but it's just how the new sorting plays out. It looks kinda funky to me, but I can't really think of a way to improve it, and it doesn't necessarily need to be changed.

Actions #21

Updated by Peter Amstutz 30 days ago

  • Blocked by Bug #22236: Toolbar overflow not working added
Actions #22

Updated by Peter Amstutz 30 days ago

Found #22236, we'll fix it on this branch.

Actions #23

Updated by Peter Amstutz 30 days ago

Also, I noticed that when a project is frozen, the "Share" button (in both the toolbar and context menu) is in a subsection all by itself. At first I thought something was broken, but it's just how the new sorting plays out. It looks kinda funky to me, but I can't really think of a way to improve it, and it doesn't necessarily need to be changed.

So, I also noticed that buttons that require "can_write" access (edit, move, etc) are showing up for collections and container requests within frozen projects as well. So I'm suspicious of how workbench determines what is writable. Made a separate ticket #22235 .

Actions #24

Updated by Peter Amstutz 30 days ago

I'm leaning towards removing the first divider.

Also, we need to systematically go through and check that all the toolbars are correct for each of admin, can_manage, can_write and can_read access levels, I'm working on that in #22235 .

Actions #25

Updated by Lisa Knox 30 days ago

22207-icon-resort @ 95912249e8123984c95a40ca6ee547448349be8d

developer-run-tests-services-workbench2: #1290

Fixed #22236, removed first divider, and adjusted some of the toolbar css

Actions #26

Updated by Peter Amstutz 30 days ago

Please remove the first divider from the "Workflow" type as well.

Few more toolbar overflow menu issues:

The workflow runs tab is definitely not detecting that it needs an overflow menu:

Similar problem in the "Subprocesses" listing:

"All processes" is fine, though:

Actions #27

Updated by Peter Amstutz 29 days ago

  • Target version changed from Development 2024-10-23 sprint to Development 2024-11-06 sprint
Actions #28

Updated by Lisa Knox 29 days ago

22207-icon-resort @ d64e7cb73967f012da2e0ed4ad9caa3303b2d329

developer-run-tests-services-workbench2: #1298

The bug where the toolbar overflows into the search input has been there for months, apparently. We never noticed it because until now, the search input and the toolbar were on separate 'rows'.

Additionally, the struggle to fit all of the things we want to fit above a data explorer has been going on for way too long, so I made some executive decisions here that I think will just straighten this out for good.

  • The process progress bar is moved to be above all the other items in the Project view and to below all the other items in the 'subprocess' and 'run history' panels.

This solves every other layout problem with the toolbar on this ticket and (hopefully) prevents us from having to revisit this area again, because moving the progress bar out of the way means that everything else we want to fit in that space actually has the room to fit there.

The decision to move the progress bar up in the project view and down in all other views was a purely aesthetic one. Moving them all up or down looked unbalanced to me.

Actions #29

Updated by Lisa Knox 28 days ago

Actions #30

Updated by Peter Amstutz 28 days ago

I think the progress bar needs to go below the icons on "Workflow Runs" because it feels super awkward and inconsistent for it to be on top.

Actions #33

Updated by Lisa Knox 28 days ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF