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
Live Collab M2 - Automatically update annotation to newest changes (#8648)
From changelog:
> When you are viewing an annotation and another user changes that
annotation, these changes will be automatically shown. For some changes
(e.g., when adding a new annotation layer), you will still need to
reload the page, but most of the time WEBKNOSSOS will update the
annotation automatically.
Implementation details:
- I extended the save saga so that it not only polls for the newest
version, but also does try to incorporate newer version from the server,
if they exist. I named this incorporation "update action application"
- The update action application does not support all update actions yet
(I skipped the ones that I deemed unimportant for this iteration). If an
update action cannot be applied, the user is asked to reload the page
(as before).
- I refactored the tests and fixtures quite a bit to get the new tests
up and running.
Limitations:
- adding/removing layers will still require a reload
- changes to the active mapping will still require a reload <-- this
also impacts the very first brush as this will make the null-mapping
locked
- meshes aren't refreshed automatically
### URL of deployed dev instance (used for testing):
- https://___.webknossos.xyz
### Steps to test:
- open wk in two different windows (one incognito) and login as sample
and sample2
- create a new annotation as sample user and copy a sharing link
- open the same annotation as sample2 (should be read only)
- perform actions as sample and check that all changes are also shown
for sample2
- support actions include
- skeleton related actions
- volume brushing as well as changing the segment list
- proofreading operations
### TODOs:
- [X] proof of concept
- [x] skeleton
- [x] volume
- [x] proofreading
- [x] bounding boxes
- [x] write new tests
- [X] skeleton
- [x] proofreading
- [x] volume
- [x] final clean up
### Issues:
- fixes#8664
------
(Please delete unneeded items, merge only when none are left open)
- [x] Updated
[changelog](../blob/master/CHANGELOG.unreleased.md#unreleased)
- [ ] Updated [migration
guide](../blob/master/MIGRATIONS.unreleased.md#unreleased) if applicable
- [ ] Updated [documentation](../blob/master/docs) if applicable
- [ ] Adapted [wk-libs python
client](https://github.com/scalableminds/webknossos-libs/tree/master/webknossos/webknossos/client)
if relevant API parts change
- [ ] Removed dev-only changes like prints and application.conf edits
- [ ] Considered [common edge
cases](../blob/master/.github/common_edge_cases.md)
- [ ] Needs datastore update after deployment
---------
Co-authored-by: Michael Büßemeyer <39529669+MichaelBuessemeyer@users.noreply.github.com>
0 commit comments