helpdesk
helpdesk copied to clipboard
Enhance UX for Category Edit Dialog in Knowledge Base Section of Helpdesk Portal
Issue:
Passing category doc fields directly in v-model inputs in the category edit dialog caused immediate updates before saving. Unsaved changes would disappear upon refresh, and the dialog did not close automatically after saving.
Fix:
-
Temporary Variables: Used temporary variables (
newCategoryName,newCategoryDescription,newCategoryIcon) to hold user input instead of binding directly tocategory.docfields. Added awatchfunction to update these variables with doc values when the dialog opens, preventing immediate UI updates before saving. -
Dialog Handling: Configured the dialog to close automatically after saving, reducing the number of user actions required.
Before Fix
After Fix
add after fix video @UmakanthKaspa
@RitvikSardana Video added. Please check. Thanks!
closed by #2124