littlehorse-enterprises / lh-user-tasks

This repository contains the code for the UserTasks UI, and UserTasks API Client. This repository will help you interact with LittleHorse's UserTask API.
Apache License 2.0
0 stars 0 forks source link

Reload is not happening after performing status changes #30

Open jhosep-marin opened 21 hours ago

jhosep-marin commented 21 hours ago

Screencast from 02-12-24 19:19:35.webm

Steps to replicate:

  1. Create a UserTask
  2. Perform any action that changes its status (assign, cancel, complete)
  3. Check the status field of the card component.

Ideally, we want the status to represent what it's actually stored in LH server for that specific UserTaskRun. If it was cancelled, claimed, reassigned or completed, we should render that immediately after performing the relevant action (claim, assign, cancel or complete).

jhosep-marin commented 21 hours ago

Not sure if we want to reload the whole page, or just refresh the specific component.