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

[0.11.x] closes #1312 with updated UIService api #1316

Merged
merged 1 commit into from
Feb 13, 2024
Merged

Conversation

johnaohara
Copy link
Member

Backport: #1315

Closes #1312

The UIService updateView now returns the updated View not just the id because the updated view can contain new ViewComponents and the client needs to know the new ids for those ViewComponents

An alternative could be to fetch all the Views after updating any View but that would re-fetch data that did not change. It might simplify the client code but would add unnecessary IO to the backend. I think there are better improvements to be made to the client code with where and how views are cached in the javascript but that is for a later PR.

@johnaohara johnaohara requested review from stalep and willr3 February 12, 2024 08:45
@stalep stalep merged commit 394db6a into 0.11.x Feb 13, 2024
3 checks passed
@stalep stalep deleted the bp-0.11.x-3aed01f branch February 13, 2024 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants