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

fix: flush logic #20431

Merged
merged 9 commits into from
Nov 11, 2024
Merged

fix: flush logic #20431

merged 9 commits into from
Nov 11, 2024

Conversation

tepi
Copy link
Contributor

@tepi tepi commented Nov 7, 2024

Changes client side value binding logic so that if the user modifies the value during server round-trip, the value earlier sent to the server no longer overwrites user's changes once the round-trip finishes. Instead, user's changes are preserved.

Fixes #20365

@tepi tepi marked this pull request as draft November 7, 2024 12:29
Copy link

github-actions bot commented Nov 7, 2024

Test Results

1 143 files  +1  1 143 suites  +1   1h 27m 35s ⏱️ + 3m 32s
7 487 tests +2  7 437 ✅ +2  50 💤 ±0  0 ❌ ±0 
7 826 runs   - 7  7 766 ✅  - 7  60 💤 ±0  0 ❌ ±0 

Results for commit 61db99b. ± Comparison against base commit 9690d07.

♻️ This comment has been updated with latest results.

@vaadin-bot vaadin-bot added +1.0.0 and removed +0.1.0 labels Nov 7, 2024
@vaadin-bot vaadin-bot added +0.0.1 and removed +1.0.0 labels Nov 7, 2024
@tepi tepi marked this pull request as ready for review November 8, 2024 10:06
@mshabarov mshabarov requested a review from tltv November 11, 2024 12:37
@tepi
Copy link
Contributor Author

tepi commented Nov 11, 2024

Ready for review

Copy link

sonarcloud bot commented Nov 11, 2024

@tepi tepi merged commit 6ef4c3e into main Nov 11, 2024
26 checks passed
@tepi tepi deleted the fix/flush-logic-v2 branch November 11, 2024 15:27
vaadin-bot pushed a commit that referenced this pull request Nov 11, 2024
Changes client side value binding logic so that if the user modifies the value during server round-trip, the value earlier sent to the server no longer overwrites user's changes once the round-trip finishes. Instead, user's changes are preserved. However, if the server-side value change handling logic actually changes the value and returns the new value to the client, that value will override any user input during round-trip.

Fixes #20365
vaadin-bot pushed a commit that referenced this pull request Nov 11, 2024
Changes client side value binding logic so that if the user modifies the value during server round-trip, the value earlier sent to the server no longer overwrites user's changes once the round-trip finishes. Instead, user's changes are preserved. However, if the server-side value change handling logic actually changes the value and returns the new value to the client, that value will override any user input during round-trip.

Fixes #20365
vaadin-bot added a commit that referenced this pull request Nov 11, 2024
Changes client side value binding logic so that if the user modifies the value during server round-trip, the value earlier sent to the server no longer overwrites user's changes once the round-trip finishes. Instead, user's changes are preserved. However, if the server-side value change handling logic actually changes the value and returns the new value to the client, that value will override any user input during round-trip.

Fixes #20365

Co-authored-by: Teppo Kurki <[email protected]>
vaadin-bot added a commit that referenced this pull request Nov 11, 2024
Changes client side value binding logic so that if the user modifies the value during server round-trip, the value earlier sent to the server no longer overwrites user's changes once the round-trip finishes. Instead, user's changes are preserved. However, if the server-side value change handling logic actually changes the value and returns the new value to the client, that value will override any user input during round-trip.

Fixes #20365

Co-authored-by: Teppo Kurki <[email protected]>
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.6.0.alpha3 and is also targeting the upcoming stable 24.6.0 version.

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.

Synchronized property unexpectedly reverts to last synchronized state
3 participants