[MGNLUI-8552] Allow to trigger manual observation for particular item only Created: 28/Nov/23  Updated: 08/Feb/24

Status: Discovery
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Adam Siska Assignee: Adam Siska
Resolution: Unresolved Votes: 0
Labels: dx-core-6.3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLUI-8438 Configurable JCR observation delay an... In Progress
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Documentation update required:
Yes
Epic Link: ui push scalability
Work Started:
Approved:
Yes

 Description   

Currently by calling DatasourceObservation#trigger all items are refreshed with DataProvider#refreshAll. Instead of refreshing whole datasource we could enrich the API to trigger observation just for one item and use just DataProvider#refreshItem.
This would be probably enough for most actions except e.g. add/delete where we need to refresh all items.

Context: https://git.magnolia-cms.com/projects/PLATFORM/repos/ui/pull-requests/2532/overview?commentId=123851


Generated at Mon Feb 12 09:56:12 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.