You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a user logs in and finds their workspace in OUTDATED or OUTDATED_CONFLICT state, they cannot publish any changes, before they have rebased their workspace.
It is possible however, that a user's workspace transitions into OUTDATED or OUTDATED_CONFLICT state in the background without the UI noticing that transition. The user is then able to use all options from the Publish Dropdown. If they attempt to publish their changes, they will receive an exception:
If such a case occurs, the UI should offer an option to rebase the workspace immediately and then re-attempt the publishing operation.
Coming from the Publish Dropdown, users are acting in the scope of either the current site or the current document. The "rebase" operation however is global to the current content repository. How do we communicate that?
Acceptance Criteria
When users click "Publish", "Publish All", "Discard" or "Discard All" while their workspace is in OUTDATED or OUTDATED_CONFLICT state, they are presented with a dialog that allows them to rebase their workspace immediately
Once the rebase workflow is finished successfully, the initial "Publish", "Publish All", "Discard" or "Discard All" operation is automatically re-attempted
There is an E2E test for at least one of the above scenarios
The UI refreshes ContentCanvas and DocumentTree after rebase
The text was updated successfully, but these errors were encountered:
If a user logs in and finds their workspace in
OUTDATED
orOUTDATED_CONFLICT
state, they cannot publish any changes, before they have rebased their workspace.It is possible however, that a user's workspace transitions into
![Screenshot_2024-03-25_14-16-37 Publish Error](https://private-user-images.githubusercontent.com/2522299/316879190-e12a5e5a-47d9-4559-81f6-ec03ef64807e.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MjE2OTQsIm5iZiI6MTczOTQyMTM5NCwicGF0aCI6Ii8yNTIyMjk5LzMxNjg3OTE5MC1lMTJhNWU1YS00N2Q5LTQ1NTktODFmNi1lYzAzZWY2NDgwN2UuanBnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTNUMDQzNjM0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTAzZjdmMWNlZjUzYTMxOGM2OWRmYWQ0ODI5MjYwZmViYTlmM2I1MzhiNmVlZjExNGEyZWU3NmFhZTA3ZTdmYSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.huaZP9jxko47BHZaw7ll9VoVtkngwDIq1DQRrsOL_pU)
OUTDATED
orOUTDATED_CONFLICT
state in the background without the UI noticing that transition. The user is then able to use all options from the Publish Dropdown. If they attempt to publish their changes, they will receive an exception:If such a case occurs, the UI should offer an option to rebase the workspace immediately and then re-attempt the publishing operation.
Here's what an integrated workflow could look like:
![Untitled-2024-03-26-1434 Integrated Rebase Workflow](https://private-user-images.githubusercontent.com/2522299/316885546-4209df7a-0a2e-4085-99b9-a212d767494f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MjE2OTQsIm5iZiI6MTczOTQyMTM5NCwicGF0aCI6Ii8yNTIyMjk5LzMxNjg4NTU0Ni00MjA5ZGY3YS0wYTJlLTQwODUtOTliOS1hMjEyZDc2NzQ5NGYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTNUMDQzNjM0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDQxODI0YzdjNGNlMDAxZGJhNzUwOWY5MjcyMmFlNzIzYzkzMTBmZWYxZmNjM2E3NjRlMWZkYjRiZjgwOTRjOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.2630CWyEK8-J49tFmWV9JK8T0jkadKbv7cH8hIZ1QZI)
(https://excalidraw.com/#room=fe18ec088dcbdc396eed,KxgT9UbEp0yXJVtS3vjV5Q)
Open Questions
Acceptance Criteria
OUTDATED
orOUTDATED_CONFLICT
state, they are presented with a dialog that allows them to rebase their workspace immediatelyContentCanvas
andDocumentTree
after rebaseThe text was updated successfully, but these errors were encountered: