litmuschaos / litmus

Litmus helps SREs and developers practice chaos engineering in a Cloud-native way. Chaos experiments are published at the ChaosHub (https://hub.litmuschaos.io). Community notes is at https://hackmd.io/a4Zu_sH4TZGeih-xCimi3Q
https://litmuschaos.io
Apache License 2.0
4.35k stars 683 forks source link

Add Loader while metadata is being fetched in Workflow Settings #3263

Open S-ayanide opened 2 years ago

S-ayanide commented 2 years ago

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.

ZiadAliKhalifa commented 1 year ago

Can I take this?

punithnayak commented 1 year ago

Hey @S-ayanide can you assign me so that I can raise The pr My previous contribution in Wikimedia Foundation https://gerrit.wikimedia.org/r/q/punit

punithnayak commented 1 year ago

Hey @S-ayanide when the network is offline we are getting the loader is seen image