Skip to content

Add debounced form infrastructure for targeting rules#2939

Merged
markus-moser merged 2 commits into1.xfrom
feature/debounce-form-infrastructure
Feb 12, 2026
Merged

Add debounced form infrastructure for targeting rules#2939
markus-moser merged 2 commits into1.xfrom
feature/debounce-form-infrastructure

Conversation

@markus-moser
Copy link
Contributor

Summary

  • Adds debouncing infrastructure to prevent data loss when users type quickly and click Save before debounce completes
  • DebouncedFormProvider for coordinating flushes via tags
  • useDebouncedFormChange hook with disabled option for conditional debouncing
  • useDebouncedFormFlush hook for save operations
  • Updated RuleConfigForm to support debounceOptions prop

- Add DebouncedFormProvider for coordinating flush operations via tags
- Add useDebouncedFormFlush hook for save operations to trigger immediate flush
- Update useDebouncedFormChange with disabled option for conditional debouncing
- Update RuleConfigForm to support debounceOptions prop
- Export DebouncedFormProvider in SDK components

This infrastructure prevents data loss when users type quickly and click Save before debounce completes.
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 12, 2026

Quality Gate Passed Quality Gate passed

Issues
0 New issues
1 Accepted issue

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@markus-moser markus-moser added this to the next milestone Feb 12, 2026
@markus-moser markus-moser merged commit 3e6d61e into 1.x Feb 12, 2026
@markus-moser markus-moser deleted the feature/debounce-form-infrastructure branch February 12, 2026 11:54
@github-actions github-actions bot locked and limited conversation to collaborators Feb 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant