litmuschaos/litmus

Add Loader while metadata is being fetched in Workflow Settings

Open

#3,263 opened on Oct 7, 2021

View on GitHub
 (3 comments) (0 reactions) (0 assignees)HTML (574 forks)batch import
Hacktoberfestbug

Repository metrics

Stars
 (3,702 stars)
PR merge metrics
 (Avg merge 42d 14h) (20 merged PRs in 30d)

Description

What happened: The Workflow Settings Component doesn't show a loader while the details of the workflow are being fetched due to slower networks, instead, it has an empty text field and a blank avatar.

What you expected to happen: The Stepper UI component should be loaded but the Text Field and the Avatar section should consist of a loader while the data is being fetched. Also, the Next button should be disabled while the fetch isn't completed.

How to reproduce it (as minimally and precisely as possible): Toggle throttle slow network on the browser and navigate to the Workflow Settings page.

Contributor guide