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

feat(modifyFieldsOnValue): enable field to modify itself #1494

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

Conversation

soleksy-splunk
Copy link
Contributor

@soleksy-splunk soleksy-splunk commented Nov 28, 2024

Issue number:
https://splunk.atlassian.net/browse/ADDON-76687

PR Type

What kind of change does this PR introduce?

  • Feature
  • Bug Fix
  • Refactoring (no functional or API changes)
  • Documentation Update
  • Maintenance (dependency updates, CI, etc.)

Summary

Changes

Remove verification to block field from applying modification to itself after value change.
It is not a risk to allow users to modify field itself as we should be concerned only for value. (it is still not a problem but seems like a bad approach to solving problems).

It also enables circular dependencies in case where modifications are not about value. (modifying values still should work good but seems like a bad practise)

User experience

User can right now modify state of field by applying changes to currently edited field, it allows to create ie. much more useful labels and help messages referencing value change.

Checklist

If an item doesn't apply to your changes, leave it unchecked.

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

Successfully merging this pull request may close these issues.

1 participant