Replaced the InlineLoading component with the Loading component from the Carbon Design System.
The new loading indicator is animated and provides a visual to the user during the loading process.
User Feedback
Added a text message below the loading indicator to inform the user that the form is currently loading.
The message is localized support multiple languages using the useTranslation hook.
No Overlay
Configured the Loading component to display without an overlay.
Conclusion
The updated loading state in the FormRenderer component aims to create a more pleasant and engaging user experience during form loading times. By providing an animated loading indicator and a descriptive message, users are kept informed and assured that the application is actively working to load the necessary resources.
Changes Made
Animated Loading Indicator
InlineLoading
component with theLoading
component from the Carbon Design System.User Feedback
useTranslation
hook.No Overlay
Loading
component to display without an overlay.Conclusion
The updated loading state in the
FormRenderer
component aims to create a more pleasant and engaging user experience during form loading times. By providing an animated loading indicator and a descriptive message, users are kept informed and assured that the application is actively working to load the necessary resources.Related Issue
https://github.com/openmrs/openmrs-esm-form-builder/issues/237