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

Added form field status to reflect plugin status #320

Merged
merged 2 commits into from
Oct 21, 2020

Conversation

drpayyne
Copy link
Contributor

@drpayyne drpayyne commented Oct 20, 2020

Description

This PR fixes the inconsistency while enabling/disabling this plugin in the settings. When a plugin is disabled, all its related fields must be disabled. Having it enabled at all times confuses the user, from a UX point of view. This PR hence disables and enables all the related fields dynamically on settings page open event, and on change event of the plugin status checkbox.

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with integration/functional tests (if applicable)
  • All automated tests passed successfully (all builds are green)

Copy link
Contributor

@VitaliyBoyko VitaliyBoyko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA passed
image

Nice improvement. Thank you!

@VitaliyBoyko VitaliyBoyko merged commit 1d85ef9 into magento:2.1.0-develop Oct 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants