Skip to content

docs: note refreshAll after TreeData mutations #19327 (#25606) (CP: 25.3) - #25646

Merged
vaadin-bot merged 1 commit into
25.3from
cherry-pick-25606-to-25.3-1789051947352
Sep 10, 2026
Merged

docs: note refreshAll after TreeData mutations #19327 (#25606) (CP: 25.3)#25646
vaadin-bot merged 1 commit into
25.3from
cherry-pick-25606-to-25.3-1789051947352

Conversation

@vaadin-bot

Copy link
Copy Markdown
Collaborator

This PR cherry-picks changes from the original PR #25606 to branch 25.3.

Original PR description

Fixes #19327

DX/docs · flow-data · apps that mutate TreeData under TreeGrid

setParent and moveAfterSibling already say to call
TreeDataProvider.refreshAll(). addItem, removeItem and the other
mutating methods did not, so drag-and-drop samples that only update
TreeData look like a no-op.

I added the same refreshAll note on the class and on every mutating
method.

Risks:

  • javadoc only

  • Note refreshAll on TreeData and on add/remove/clear/addItems

Fixes #19327

**DX/docs** · flow-data · apps that mutate TreeData under TreeGrid

setParent and moveAfterSibling already say to call
TreeDataProvider.refreshAll(). addItem, removeItem and the other
mutating methods did not, so drag-and-drop samples that only update
TreeData look like a no-op.

I added the same refreshAll note on the class and on every mutating
method.

**Risks:**
- javadoc only

- Note refreshAll on TreeData and on add/remove/clear/addItems

---------

Co-authored-by: Marco Collovati <mcollovati@gmail.com>
Co-authored-by: Marco Collovati <marco@vaadin.com>
@vaadin-bot

Copy link
Copy Markdown
Collaborator Author

This PR is eligible for auto-merging policy, so it has been approved automatically. If there are pending conditions, auto merge (with 'squash' method) has been enabled for this PR [Message is sent from bot]

@vaadin-bot
vaadin-bot enabled auto-merge (squash) September 10, 2026 15:05
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Contributor

Test Results

 1 439 files  ±0   1 523 suites  ±0   1h 39m 23s ⏱️ +34s
12 036 tests ±0  11 968 ✅ ±0  68 💤 ±0  0 ❌ ±0 
12 354 runs  ±0  12 286 ✅ ±0  68 💤 ±0  0 ❌ ±0 

Results for commit 73baeaf. ± Comparison against base commit 0390d74.

@vaadin-bot
vaadin-bot merged commit 649065b into 25.3 Sep 10, 2026
42 checks passed
@vaadin-bot
vaadin-bot deleted the cherry-pick-25606-to-25.3-1789051947352 branch September 10, 2026 15:12
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.

3 participants