Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reload is not happening after performing status changes #30

Closed
jhosep-marin opened this issue Dec 3, 2024 · 2 comments · Fixed by #82
Closed

Reload is not happening after performing status changes #30

jhosep-marin opened this issue Dec 3, 2024 · 2 comments · Fixed by #82
Assignees
Labels
bug Something isn't working ui This effects changes on the UI

Comments

@jhosep-marin
Copy link

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
Copy link
Author

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

@jhosep-marin jhosep-marin added bug Something isn't working ui This effects changes on the UI labels Dec 3, 2024
@hazimoarafa
Copy link
Member

hazimoarafa commented Jan 31, 2025

We can use SWR to fix this issue just like in the dashboard

@bryson-g

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ui This effects changes on the UI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants