ui: fix add host form state on submit#11815
Conversation
Fixes apache#11813 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
|
@shwstppr a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #11815 +/- ##
=========================================
Coverage 17.54% 17.54%
- Complexity 15470 15471 +1
=========================================
Files 5897 5897
Lines 527349 527349
Branches 64403 64403
=========================================
+ Hits 92514 92519 +5
+ Misses 424437 424433 -4
+ Partials 10398 10397 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
UI build: ✔️ |
|
clgtm @shwstppr , as I can only see the spin-element as addition, does that mean that the actual call still went through and and only the modality of the dialogue was a problem? |
|
@DaanHoogland yes. |
|
After submitting the 'addHost' API call, I suggest refreshing the form to immediately display the parent grid ( Host List) recently added host's information in a 'processing' state. This approach is generally preferred because it avoids blocking the UI while waiting for the API response (success or failure), offering a better user experience. |
|
@pavanaravapalli thanks I won't be adding that functionality. I wanted to fix this as I may have accidentally broken the loading behaviour while adding some changes in #9752 |
|
@shwstppr I can't raise a PR right now because I lack the necessary testing environment. I'm very interested in this work, though—would you be open to collaborating on it?. |
Description
Fixes #11813
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
add-host-form-submit-state.mp4
How Has This Been Tested?
How did you try to break this feature and the system with this change?