simonsoft / authormodel

Authormodel is an abstraction between your average WYSI-whatever editor and your storage. It supports Structured Documentation.
https://www.npmjs.com/package/authormodel
0 stars 1 forks source link

Keep 'previous' references consistent client-side #18

Closed solsson closed 8 years ago

solsson commented 8 years ago

At a move we'd need to update any existing 'revoius' of the unit below the destination.

solsson commented 8 years ago

Instead we'll only set previous on added items. Move is essentially a "mark as deleted" and an add, so no inconsistencies there.

solsson commented 8 years ago

We'd need 2ff5791 to be fixed with a30db94. The tests didn't account for mark-as-deleted.