Commit Graph

92 Commits

Author SHA1 Message Date
Rainer Simon 4e2b681bed Cosmetic fixes to auto-position + dragging behavior 2021-10-19 09:05:29 +02:00
Rainer Simon c66cb42bb0 Bugfix + closes #86 2021-10-14 11:12:13 +02:00
Rainer Simon 84d33d4b07 Bugfix 2021-10-14 10:51:20 +02:00
Rainer Simon 1dc7cc73e3 Breaking change: Dropped onRemoveAndAppend in favour of onBatchModify 2021-10-14 10:26:13 +02:00
Rainer Simon 0b3edd41d5 Closes #85 2021-10-12 18:12:24 +02:00
Rainer Simon 60b12ec75a Minor tweaks to setPosition behavior + drag cursor on draggable editor surfaces 2021-10-09 10:13:46 +02:00
Rainer Simon 61d2c43e04 Bugfix 2021-10-07 21:34:31 +02:00
Rainer Simon 9abf457f41 Closes #82 2021-10-07 21:27:34 +02:00
Rainer Simon b681ad6a00 Cleanup 2021-09-05 08:12:48 +02:00
Rainer Simon ac8ec7a08e Made Editor autoposition optional 2021-09-05 08:10:27 +02:00
Rainer Simon 590b430fb3 Made auto-position behavior optional 2021-09-05 07:55:52 +02:00
Rainer Simon f623f9b1a5 Minor tweaks to draggable behavior 2021-08-16 10:25:54 +02:00
Rainer Simon 56ca3a74d8 Made equality check stricter, so annotation updates can be injected via API 2021-08-12 14:30:59 +02:00
Rainer Simon 6f68fc63fd Added API method to get current annotation editing state 2021-08-12 14:04:16 +02:00
Rainer Simon 198a66f6ed Regression fix: editor no longer reset when zooming in OSD 2021-08-10 12:23:43 +02:00
Rainer Simon 8f0a78a7d4 Fixed warning: key property for editor widgets 2021-08-03 09:48:49 +02:00
Rainer Simon 16297d0e29 Regression: setPosition now triggered when element moves (OpenSeadragon) 2021-07-14 21:11:40 +02:00
Rainer Simon 0bf3fcfbff Bugfix 2021-07-07 18:49:16 +02:00
Rainer Simon b625f7b024 Cleanup 2021-07-06 07:28:09 +02:00
Rainer Simon daa8157eb8 Closes #69 2021-07-05 21:18:08 +02:00
Rainer Simon e84bebc9b9 Revised widget API for batch body modifications 2021-07-03 08:10:02 +02:00
Rainer Simon 9cb80ca6a4 Finished extending widget API (issues #65 + #66) 2021-06-30 19:20:46 +02:00
Rainer Simon 2852d0c67c onAppendBody + onRemoveBody now support arrays of bodies as arg (#65) 2021-06-30 18:57:55 +02:00
Rainer Simon 3a6b6ac1db WIP - needs testing but should address #66 2021-06-29 20:49:26 +02:00
Rainer Simon 2603439cb1 Experimental: refactored the editor into a class component for more flexibility (#65, #66) 2021-06-29 20:44:39 +02:00
Rainer Simon ecb585c11b Closes #61 2021-06-26 14:50:48 +02:00
Rainer Simon 3c7682a84c Closes #63 2021-06-26 14:19:40 +02:00
Rainer Simon ce12712517 Editor API/props change to support #57 2021-06-20 17:59:03 +02:00
Rainer Simon 897a323d6d Made detachable editor feature switchable 2021-06-20 07:59:42 +02:00
Rainer Simon 242926ae8a Improvements/fixes for detachable editor drag handling 2021-06-19 18:12:14 +02:00
Rainer Simon 48c59197f6 Draggable editor experiment 2021-06-17 20:59:07 +02:00
Rainer Simon a9046c8dfb React/Preact compatibility cleanup 2021-06-11 12:03:44 +02:00
Rainer Simon ad47392c13 Closes #54 2021-04-04 09:12:02 +02:00
Rainer Simon ae685bb166 allowEmpty config option 2021-03-27 21:35:12 +01:00
Rainer Simon b44df91839 Delete button style tweaks 2021-03-21 10:38:20 +01:00
Rainer Simon f8d857546f Delete button style 2021-03-20 15:39:34 +01:00
Rainer Simon 400406a650 Enhanced logic to determine whether annotation has delete button or not 2021-03-20 14:56:32 +01:00
Rainer Simon 4f28723f88 Temporary fix: merge conflict 2021-03-20 09:16:56 +01:00
Rainer Simon 7e7f9fdd82 Bugfix 2021-03-12 15:13:03 +01:00
Rainer Simon e2d329810f Added onUpsertBody convenience method 2021-02-21 08:29:16 +01:00
Rainer Simon 432ca90cb4 Changes to selection target now re-render the editor widgets (#34) 2021-02-14 11:37:36 +01:00
Frédéric Collonval 0d73992bab Add remove button in editor 2021-01-28 09:54:34 +01:00
Rainer Simon 6d8e0bdb60 Added .onSetProperty method (issue #42) 2021-01-17 14:01:22 +01:00
Adnan M.Sagar, PhD 70da8d1a70
Update Editor.jsx
Shorter syntax for doing the same.
2021-01-04 19:40:45 +02:00
Adnan M.Sagar, PhD 52a3ffb55f
Update Editor.jsx
Small fix to add created or modified to the body correctly.
Below was my original fix but didn't want to change file flow

```js
meta[body.created ? 'modified' : 'created'] = props.env.getCurrentTimeAdjusted()
```

Great job with the all the Annotation packages, thank you.
2021-01-04 17:22:25 +02:00
Rainer Simon 7a2d338593 Editor bugfix + disabled applyTemplate hack 2020-12-27 08:52:52 +01:00
Rainer Simon 7cade43a08 Bugfix 2020-12-25 20:31:37 +01:00
Rainer Simon ac1e27678d Cleanup 2020-12-21 13:35:28 +01:00
Rainer Simon ae07174ea5 Bugfix 2020-12-20 21:33:02 +01:00
Rainer Simon 1c80007ef4
Merge pull request #38 from dnoneill/purpose-dropdown
Purpose dropdown
2020-12-07 09:02:17 +01:00