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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃捇 [UI] Warn users if mock parameters are not saved #181

Open
1 of 2 tasks
neel1996 opened this issue Jul 31, 2022 · 0 comments
Open
1 of 2 tasks

馃捇 [UI] Warn users if mock parameters are not saved #181

neel1996 opened this issue Jul 31, 2022 · 0 comments
Assignees
Labels
area/ui Mimock UI type/enhancement New feature or request

Comments

@neel1996
Copy link
Member

Summary

While creating a new mock or editing an existing mock, the user is required to explicitly save dynamic fields such as query params, request body, request headers and response headers.

The form submission is not blocked even if these dynamic fields are not saved which could lead to rework.

Scope of the issue

  • To display a warning to the user, if the dynamic fields are updated but not saved
  • Compare the current state with the global state to check whether the fields have been updated. If the fields are updated, then display an inline warning to inform the user to save those changes
  • Disable the submit button if there are pending changes to be saved
  • Display a warning on the right side of the mock form with the list of changes made by the user

Impacted area

  • UI
  • Backend

Supporting artifacts

No response

@neel1996 neel1996 added type/enhancement New feature or request area/ui Mimock UI labels Jul 31, 2022
@neel1996 neel1996 added this to the release-0.0.2 milestone Jul 31, 2022
@neel1996 neel1996 self-assigned this Jul 31, 2022
@neel1996 neel1996 removed this from the release-0.0.2 milestone Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui Mimock UI type/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant