Content
View differences
Updated by Parimal Satyal over 1 year ago
**Buggy behaviour**
(Parimal will complete)
**Expected behaviour**
* **Warning** (automatically appears)
* Use the existing Primerised Refresh banner, but in a warning yellow.
* Text: "This page has been updated by someone else. To not lose your edits, copy them locally and reload to view the updated version."
* Action: **Discard Trying concurrent changes and reload**. (Browser refresh)
* **Error:**
* Supress the warning banner in favour of the error one.
* Red
* Use a Primerised banner component (if possible, else use the current one)
* Text: "Could not save your changes because of conflicting modifications. To not lose your edits, copy them locally and reload to view the updated version."
* Action: **Discard changes and reload** (Browser refresh)'
**Notes**
* Known limitation: Some edits cannot really be copied, so the message doesn't work in all cases.
* This is a stop-gap solution to slightly improve on what already exists. (Describe what happens now and why it's not good)
* We'll work on a better solution as a separate feature, perhaps with diff-ing.
(Parimal will complete)
**Expected behaviour**
* **Warning** (automatically appears)
* Use the existing Primerised Refresh banner, but in a warning yellow.
* Text: "This page has been updated by someone else. To not lose your edits, copy them locally and reload to view the updated version."
* Action: **Discard
* **Error:**
* Supress the warning banner in favour of the error one.
* Red
* Use a Primerised banner component (if possible, else use the current one)
* Text: "Could not save your changes because of conflicting modifications. To not lose your edits, copy them locally and reload to view the updated version."
* Action: **Discard changes and reload** (Browser refresh)'
**Notes**
* Known limitation: Some edits cannot really be copied, so the message doesn't work in all cases.
* This is a stop-gap solution to slightly improve on what already exists. (Describe what happens now and why it's not good)
* We'll work on a better solution as a separate feature, perhaps with diff-ing.