DT-3655 - add external payload count and size to workflow details#3276
DT-3655 - add external payload count and size to workflow details#3276rossedfort wants to merge 7 commits intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| @@ -145,6 +145,10 @@ export const toWorkflowExecution = ( | |||
| const priority = response.workflowExecutionInfo?.priority; | |||
There was a problem hiding this comment.
⚠️ 'response' is possibly 'undefined'.
| historySizeBytes, | ||
| externalPayloadCount, | ||
| externalPayloadSizeBytes, | ||
| searchAttributes, |
There was a problem hiding this comment.
⚠️ Type 'IMemo | undefined' is not assignable to type 'IMemo'.
| externalPayloadCount, | ||
| externalPayloadSizeBytes, | ||
| searchAttributes, | ||
| memo, |
There was a problem hiding this comment.
⚠️ Type 'IWorkflowExecution | null | undefined' is not assignable to type 'IWorkflowExecution | undefined'.
|
|
Screengrabs LGTM! |
|
hey Ross - I had updated the styling in this detail list for the labels to be body medium secondary text to provide some visual distinction between the key and the value. This got the OK from the design team. I'd like to see that updated here. Additionally, all numerical text (so, timestamps, time durations, size values, etc.) should be in our monotype font. Can we update that too? Lastly, can you add in the Docs link next to the SDK label? Idk where my annotation went in figma - i swear i put it in there, but it should go to https://docs.temporal.io/develop/{sdk-type} e.g. https://docs.temporal.io/develop/go/ or https://docs.temporal.io/develop/python/. I had it with the external link icon but I think it should actually be the Thanks! |
…ils header - add class prop to DetailListTextValue and DetailListValue to pass through font-mono - make DetailListLabel text-secondary - add link to SDK developer guides next to SDK logo - replace SDK logos with our own colorblock versions
| }: Props = $props(); | ||
| const { copy, copied } = copyToClipboard(); | ||
|
|
||
| const handleCopy = (e: Event) => { |
There was a problem hiding this comment.
⚠️ Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
| >{translate('workflows.external-payload-size')}</DetailListLabel | ||
| > | ||
| <DetailListTextValue | ||
| class="font-mono" |
There was a problem hiding this comment.
⚠️ Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Description & motivation 💭
Adds external payload count and size to workflow details page header
Screenshots (if applicable) 📸
with external payload(s)
without external payload(s) (unchanged)
Tooltip
Design Considerations 🎨
Testing 🧪
How was this tested 👻
Steps for others to test: 🚶🏽♂️🚶🏽♀️
Checklists
Draft Checklist
Merge Checklist
Issue(s) closed
Docs
Any docs updates needed?