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

[RuleBuilderEditor] - Reset operand and rule value input on column change and conditionally display rule value input #3766

Open
2 tasks done
bogy0 opened this issue Apr 4, 2023 · 0 comments
Labels
status: needs priority 📥 Enhancements without a `val #` label status: needs triage 🔍 type: enhancement 💡 New feature or request

Comments

@bogy0
Copy link
Contributor

bogy0 commented Apr 4, 2023

What package is this for?

  • React
  • Angular

We think it's an overall improvement, but React is our target package.

Summary

Currently, when users change the "column" attribute in the RuleBuilderEditor, the selected operand and rule value input are not automatically reset or cleared. This can lead to confusion as the previous operand and rule value input remain visible even after the column is changed.

To improve the user experience and avoid confusion, this feature request proposes two enhancements for the RuleBuilder component:

  1. Automatically reset or clear the selected operand and rule value input when the "column" attribute is changed. This will ensure that the component always reflects the current state and selections made by the user.

  2. Optionally, conditionally display the rule value input only after the user has selected an operand option. This will help guide users through the process of building a rule more intuitively, preventing them from inputting a rule value before an appropriate operand has been chosen.

Implementing these enhancements will result in a more user-friendly and intuitive RuleBuilder component, minimizing the risk of incorrect rule configurations and making it easier for users to build complex rules.

Specific timeline issues/requests

We want to use the RuleBuilderEditor component in a project that will start in Q2 2023, so we need a solution for this soon. We would appreciate it if you could help with it.

Available extra resources

You can contact me on IBM Slack for details or any other information.

@bogy0 bogy0 added status: needs priority 📥 Enhancements without a `val #` label status: needs triage 🔍 type: enhancement 💡 New feature or request labels Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs priority 📥 Enhancements without a `val #` label status: needs triage 🔍 type: enhancement 💡 New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant