Skip to content
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

Enhance UX for Category Edit Dialog in Knowledge Base Section of Helpdesk Portal #1956

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

UmakanthKaspa
Copy link
Contributor

@UmakanthKaspa UmakanthKaspa commented Sep 1, 2024

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 to category.doc fields. Added a watch function 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

before.webm

After Fix

after.webm

@RitvikSardana
Copy link
Member

add after fix video @UmakanthKaspa

@UmakanthKaspa
Copy link
Contributor Author

@RitvikSardana Video added. Please check. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants