-
Notifications
You must be signed in to change notification settings - Fork 364
NAS-139101 / 26.04 / Preserve pool name when using Start Over in update mode #13043
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
base: master
Are you sure you want to change the base?
Conversation
When adding VDEVs to an existing pool, clicking Start Over now preserves the pool name instead of clearing it. The pool name is read-only in update mode, so it should remain when resetting the form. Changes: - Modified resetForm() in general-wizard-step to preserve pool name in update mode - Start Over button now shows in both create and update modes - In create mode: clears all fields (original behavior) - In update mode: preserves pool name, resets other fields
|
Claude finished @AlexKarpov98's task —— View job Code Review Complete ✅The implementation looks solid and solves the issue appropriately! 🎉 Positive AspectsThe changes are well-structured, minimal, and correctly preserve the pool name in update mode while maintaining the original behavior for pool creation. The added test coverage and clear comments demonstrate good development practices. Observations & Suggestions1. Optional Chaining in
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #13043 +/- ##
==========================================
- Coverage 86.69% 86.69% -0.01%
==========================================
Files 1846 1846
Lines 69371 69372 +1
Branches 8574 8575 +1
==========================================
- Hits 60143 60142 -1
- Misses 9228 9230 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
When adding VDEVs to an existing pool, clicking Start Over now preserves the pool name instead of clearing it. The pool name is read-only in update mode, so it should remain when resetting the form.
Changes:
Changes:
Testing:
Downstream