I refactored some code to align more the WorkflowDetaills component to ProcessDetails and use the useCallback like in React best practices and fix lint warnings
@tiagobento Maybe you are interested to replicate this functionality to packages/runtime-tools-process-enveloped-components/src/processDetails/envelope/components/ProcessDetails/ProcessDetails.tsx ?
thanks @dmarrazzo for the repository with test Workflows
Closes https://github.com/apache/incubator-kie-tools/issues/2656
Description:
The jobs list status continues to display expires in NN minutes even after a job has expired.
Steps to Reproduce
Expected Result
The jobs list should refresh after the job expiration.
Actual Result
After expiration, the jobs list shows "expires in NN minutes" and the status remains "scheduled" even after expiration.
Solution:
How to test locally:
pnpm -F sonataflow-deployment-webapp start
Preview:
kie-tools-issues#2656.webm
Notes:
WorkflowDetaills
component toProcessDetails
and use theuseCallback
like in React best practices and fix lint warningspackages/runtime-tools-process-enveloped-components/src/processDetails/envelope/components/ProcessDetails/ProcessDetails.tsx
?