ui icon indicating copy to clipboard operation
ui copied to clipboard

Add "Activity ID" to the Compact Event History to improve usability

Open ericsun2 opened this issue 9 months ago • 2 comments

Is your feature request related to a problem? Please describe.

The new lab UI is great, thanks to Temporal team and Alex for making it better and more comprehensive.

We have a lot of similar workflows which are based on the same flow definition but with different runtime parameters (such as Activity ID). When we view hundreds/thousands of such flows in the Compact view, they all look the same w/o any further info or clue to differentiate which is which.

Temporal Event History Compact Activity Type

Describe the solution you'd like

Add a toggle option to include a trimmed Activity ID string below the Activity Type as the 2nd line in the "Compact" UI. In case that Activity ID string is longer than the Activity Type, the trim/substr is needed to keep the UI neat.

------------------------|-----------------------|-----------------
[ ] execute_query      [ ] execute_query       [ ] merge_table ...
 |  Activity_ID         |  Activity_ID          |  Activity_ID
------------------------|-----------------------|-----------------
[ ] execute_query      [ ] execute_query       [ ] merge_table ...
 |  Activity_ID         |  Activity_ID          |  Activity_ID
------------------------|-----------------------|-----------------

Describe alternatives you've considered

Add Activity ID as a hover tip on top of Activity Type. But it won't be efficient glance a large number of flows, because we have to hover one cell/node at a time.

Additional context

N/A

ericsun2 avatar Apr 28 '24 17:04 ericsun2

I would love to see something like this as well. We've developed a number of generic activities but it can be hard to differentiate executions within the same workflow, and something like ActivityID showing up in the UI would be a big help.

askreet avatar May 02 '24 10:05 askreet

+1. Being able to differentiate activities via ActivityID is very helpful. Being able to choose which search attributes to be shown on the compact and full history views (similar to how we can choose which search attributes to show on the "Workflows" tabular view) is even better.

yliang-cb avatar May 03 '24 23:05 yliang-cb