Skip to content

Conversation

@platosha
Copy link
Contributor

@platosha platosha commented Jan 19, 2026

Connected to: vaadin/flow#23193

Depends on #8507

Adds new constructors that allow binding the notification text to signals, enabling reactive updates. Also introduces a bindText() method for dynamic text binding management and refactors internal text handling using SignalPropertySupport.

@platosha platosha changed the title feat/signals constructor notification feat(notification): add signal-based text binding to Notification Jan 19, 2026
@platosha platosha force-pushed the feat/signals-constructor-notification branch from 4031eb7 to 8535f7b Compare January 20, 2026 11:47
@platosha platosha changed the title feat(notification): add signal-based text binding to Notification feat: add signal-based text binding to Notification Jan 20, 2026
@platosha platosha force-pushed the feat/signals-constructor-notification branch from 5401a8c to 2207926 Compare January 20, 2026 14:00
Connected to: vaadin/flow#23193

Adds new constructors that allow binding the notification text to signals, enabling reactive updates. Also introduces a `bindText()` method for dynamic text binding management and refactors internal text handling using SignalPropertySupport.
@platosha platosha force-pushed the feat/signals-constructor-notification branch from 2207926 to df9c766 Compare January 20, 2026 14:00
@platosha platosha requested review from DiegoCardoso and tltv January 21, 2026 13:18
Assert.assertEquals(10000, notification.getDuration(), 0);
Assert.assertEquals("top-end",
notification.getPosition().getClientName());
Assert.assertTrue(notification.isAssertive());
Copy link
Member

Choose a reason for hiding this comment

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

nit: consider adding Assert.assertFalse(notification.isAssertive()); somewhere just to make sure it's not accidentally true by default.

@sonarqubecloud
Copy link

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.

4 participants