Skip to content

Conversation

@tltv
Copy link
Member

@tltv tltv commented Dec 31, 2025

Adds void bindEnabled(Signal) method to HasEnabled and Element. Introduces new Node Feature SignalBindingFeature that stores signal and registration in a Map. Only bindEnabled initializes the feature to keep memory consumption optimal when binding is not used.

Fixes: #23035

Adds void bindEnabled(Signal<Boolean>) method to HasEnabled and Element. Introduces new Node Feature SignalBindingFeature that stores signal and registration in a Map. Only bindEnabled initializes the feature to keep memory consumption optimal when binding is not used.

Fixes: #23035
@github-actions
Copy link

github-actions bot commented Dec 31, 2025

Test Results

1 309 files  + 2  1 309 suites  +2   1h 14m 12s ⏱️ - 1m 4s
9 287 tests +14  9 219 ✅ +14  68 💤 ±0  0 ❌ ±0 
9 738 runs  + 8  9 662 ✅ + 7  76 💤 +1  0 ❌ ±0 

Results for commit 3b92f0f. ± Comparison against base commit 7641d50.

♻️ This comment has been updated with latest results.

heruan
heruan previously approved these changes Jan 8, 2026
Copy link
Member

@heruan heruan left a comment

Choose a reason for hiding this comment

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

The new binding and enabling logic meet the requirements, test coverage is thorough and documentation is clear.

@tltv tltv requested a review from platosha January 8, 2026 14:13
@tltv tltv requested a review from heruan January 9, 2026 09:16
@vaadin-bot vaadin-bot added +1.0.0 and removed +0.1.0 labels Jan 9, 2026
@github-actions github-actions bot added +0.1.0 and removed +1.0.0 labels Jan 9, 2026
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 9, 2026

@tltv tltv merged commit fae00b7 into main Jan 9, 2026
31 checks passed
@tltv tltv deleted the feat/add-bindEnabled branch January 9, 2026 10:36
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 25.1.0-alpha1.

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.

Add HasEnabled::bindEnabled

5 participants