Repository navigation
v2.0.0-alpha.26
Pre-release
Pre-release
·
98 commits
to main
since this release
- Real-time co-editing for admins: another admin's saved draft appears in place, and a field you are changing offers "Use theirs / Keep mine"; visitors keep the outdated notice (937a73db, ecbd27ae, ec646400, 94908ae2, 33c11503, 7dcc4138, ff435de8, b9a31a33, 2371595e, #429)
- A component removed by someone else is deselected, and unsaved edits to a draft published elsewhere go to a new draft (937a73db, 94908ae2, #429)
- Breaking: admin writes send
X-CWA-Client-Id, so the API's CORSallow_headersmust include it;cwa.realtime.enabled: falseturns co-editing off. Needs api-components-bundle 2.0.0-alpha.35 or later (_metadata.lastWrite) (#559, #560) (937a73db, #429) onRemoteChange(iri, handler)tells a component when another admin's saved draft of that resource arrives, with the changed fields and anaccept()(20bd455f, #429)CwaUiFormInput,CwaUiFormToggleandCwaUiSelecttake:model(the return ofuseCwaResourceModel), which shows a co-editing conflict beside the control;useCwaResourceModelalso returnsremoteChange(8eee851a, 7dcc4138, #429)