Commit Graph

158 Commits

Author SHA1 Message Date
Rainer Simon 0c83d309a2 Editor position bugfix 2021-02-27 18:04:58 +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 0ef304e370 Minor fix 2020-12-20 17:55:10 +01:00
Rainer Simon 225da3728f Minor edits 2020-12-20 16:41:31 +01:00
Rainer Simon 03885e9958 Simpified/made more robust 2020-12-20 16:39:30 +01:00
Rainer Simon f186ff8109 Simplified to function component 2020-12-20 16:29:20 +01:00
Niqui O'Neill abb199509e update iscomment check 2020-12-14 17:41:04 -08:00
Niqui O'Neill 28f91247e5 bug fix 2020-12-07 18:04:10 -08:00
Rainer Simon 1c80007ef4
Merge pull request #38 from dnoneill/purpose-dropdown
Purpose dropdown
2020-12-07 09:02:17 +01:00
Niqui O'Neill 6aa488690c const purposes update 2020-12-04 09:04:35 -08:00
Niqui O'Neill c6d4ba8c45 remove unused variables 2020-11-30 14:31:55 -08:00
Niqui O'Neill 751946a5eb update dropdown widget 2020-11-30 14:26:25 -08:00
Niqui O'Neill e1276a60e1 fix purpose dropdown 2020-11-30 14:21:35 -08:00
Niqui O'Neill 71aa9c128e fix purpose when missing 2020-11-30 13:19:57 -08:00
Rainer Simon 103e89673c Updated WebAnnotation/Selection equals method 2020-11-28 17:35:44 +01:00
Niqui O'Neill 2caf83083f merge fixes 2020-11-25 12:08:30 -08:00
Niqui O'Neill ffd6fc5c00 merge 2020-11-25 12:00:10 -08:00
Niqui O'Neill 3704ebeebf purpose dropdown 2020-11-25 11:58:54 -08:00
Niqui O'Neill 424860bfc3 stash changes 2020-11-16 14:07:14 -05:00
Rainer Simon bce13d0210 Cleanup 2020-11-10 14:50:12 +01:00
Rainer Simon 4627c5a6bf Replaced contentEditable DIV with textarea 2020-11-10 14:48:10 +01:00
Niqui O'Neill 522054590e add dropdown to widget 2020-11-02 18:52:06 -05:00
Rainer Simon d2b7262aad Enabled supported locales for TimeAgo (cf. https://github.com/recogito/annotorious/issues/64) 2020-10-30 14:59:03 +01:00
Rainer Simon de71349d15 Bugfix 2020-10-13 14:51:26 +02:00
Rainer Simon 75feeb2959 Another attempt at fixing autosuggest behavior 2020-10-13 14:04:11 +02:00
Rainer Simon e44f404e28 Bugfix 2020-10-12 09:51:05 +02:00
Rainer Simon 607cd707dc Intermediate bugfix to autocomplete 2020-10-12 09:39:14 +02:00
Rainer Simon 6b5a572b64 Bugfix 2020-09-24 16:59:13 +02:00
Rainer Simon 6507ef4b73 Fixes issue reported in https://github.com/recogito/annotorious/issues/57 2020-09-24 14:55:01 +02:00
Rainer Simon 8faa9f29d8 Proper CSS class prefixing for editor 2020-09-22 14:22:17 +02:00
Rainer Simon 0898639db5 Environment bugfixes 2020-09-22 11:52:19 +02:00
Rainer Simon 4373abf54b Introduces 'draft mode' tags, so user doesn't need to hit Enter to store 2020-09-15 15:09:32 +02:00
Rainer Simon 48d65ce520 Style fixes 2020-09-14 12:43:48 +02:00
Rainer Simon 5c26b7e800 Bugfix 2020-09-14 12:38:43 +02:00
Rainer Simon 8013492f60 Bugfix 2020-09-14 12:29:53 +02:00
Rainer Simon 5018f2e8cf Fixed linter warnings 2020-09-14 12:16:07 +02:00
Rainer Simon b02ad98dd5 Comment widget now supports 'only edit my own comments' access rule 2020-09-14 12:13:47 +02:00
Rainer Simon bf5da9d2d5 Plugin API: changed the way plugin config works 2020-09-14 11:57:16 +02:00
Rainer Simon 159cd3cdfa Minor compatibility tweak 2020-09-14 10:30:04 +02:00
Rainer Simon 061a37e706 Minor fix 2020-09-12 10:30:45 +02:00
Rainer Simon f95cd46d55 Bugfix 2020-09-12 10:08:02 +02:00
Rainer Simon 7874622ad4 More work towards flexible widget API 2020-09-12 10:06:29 +02:00
Rainer Simon b1db6e90e0 Preparatory work for flexible plugin API 2020-09-12 09:41:03 +02:00
Rainer Simon d4ab1aedb4 Cleanup 2020-09-11 14:22:53 +02:00
Rainer Simon 26ee0d7868 Cleanup 2020-09-11 11:18:59 +02:00
Rainer Simon 31a2d13cdb Bugfix 2020-09-11 11:14:12 +02:00
Rainer Simon 1cde3d866d Made plugin events work 2020-09-11 09:58:55 +02:00
Rainer Simon 64aa253a5e Basic plugin API example 2020-09-11 09:14:19 +02:00
Rainer Simon fd4fb6cdb1 IE11-specific style tweaks 2020-09-06 08:52:44 +02:00
Rainer Simon 095da4cc7a Comment field focus after render 2020-09-05 13:42:26 +02:00
Rainer Simon ed78059ec5 CSS + behavior tweaks 2020-09-05 13:39:54 +02:00
Rainer Simon d1cf472938 More IE11 compatibility fixes 2020-08-27 20:31:29 +02:00
Rainer Simon 011442bd7d Minor fixes 2020-08-26 21:48:39 +02:00
Rainer Simon b280a7daeb Minor change in preparation for better headless 2020-08-23 20:58:30 +02:00
Rainer Simon 710bfc77af Editor Cancel event now returns annotation as payload 2020-08-15 13:52:17 +02:00
Rainer Simon e823d5a506 Autocomplete cleanup 2020-07-13 14:13:04 +02:00
Rainer Simon b75564b29f Tag autocomplete behavior fix 2020-07-10 15:07:04 +02:00
Rainer Simon 89809ad197 Behavior bugfixes 2020-07-09 17:51:43 +02:00
Rainer Simon 1c2a66f5fd Added controlled vocab dropdown to standard tag widget 2020-07-09 15:59:55 +02:00
Rainer Simon 984a5b576d iOS bugfix 2020-06-04 12:58:22 +02:00
Rainer Simon a8befdcb19 Minor tweak: allowing configurable widgets 2020-06-04 10:13:17 +02:00
Rainer Simon 4c5e102095 Another attempt at getting ResizeObserver behavior right 2020-06-03 15:34:52 +02:00
Rainer Simon 7bf430f15c Bugfix 2020-06-03 15:27:05 +02:00
Rainer Simon cd5f676ec0 Removed debug messages 2020-06-03 15:18:12 +02:00
Rainer Simon b33819ed35 Changed the way the ResizeObserver works on the editor popup 2020-06-03 15:11:50 +02:00
Rainer Simon ef3e467963 ReadOnly mode display tweaks 2020-05-29 18:54:47 +02:00
Rainer Simon a2599a9237 Bugfix 2020-05-22 20:01:30 +02:00
Rainer Simon 053830ad4a Disabling ResizeObserver for platforms that don't support it 2020-05-22 19:42:38 +02:00
Rainer Simon 9e4f0bd3f3 Creation meta is now omitted when no user present 2020-05-18 09:42:55 +02:00
Rainer Simon 3d4f007a8d Minor tweaks 2020-05-18 09:35:23 +02:00
Rainer Simon 3efe56e68c Comments now display timestamps 2020-05-18 09:24:46 +02:00
Rainer Simon 7b6ab418a6 Bugfixes 2020-05-18 08:58:35 +02:00
Rainer Simon 15dd1374db Handling creation metadata (creator, created, modified) 2020-05-18 08:43:39 +02:00
Rainer Simon 38dbb47eb0 Fixes Annotorious issue re selection equality 2020-05-14 18:58:35 +02:00
Rainer Simon d27c0f382e Added I18n 2020-05-14 15:00:31 +02:00
Rainer Simon f89eac2b87 Bugfix 2020-05-13 08:36:57 +02:00
Rainer Simon bc005087e0 Position editor on resize 2020-05-12 20:17:37 +02:00
Rainer Simon 2727b38c94 Minor bugfix 2020-05-12 20:11:42 +02:00
Rainer Simon 4825f3b21d Internal API change: keep ref to selected DOM node, not just bounds 2020-05-12 19:50:33 +02:00
Simon Rainer 41529a4cd1 Polyfills to enable editor positoning on MS Edge (issue #7) 2020-05-05 13:13:10 +02:00
Rainer Simon 95c7e26557 Switched to Preact 2020-05-01 20:01:55 +02:00
Rainer Simon 53c842035b Minor internal API change 2020-05-01 15:58:25 +02:00
Rainer Simon 574d805008 Made widgets readOnly-compatible 2020-05-01 14:20:13 +02:00
Rainer Simon 9d85428e91 Added SVG icons for relation editor 2020-04-29 13:54:39 +02:00
Rainer Simon d1267f0641 Replaced comment arrow and tag delete icons with inline SVG 2020-04-29 08:30:59 +02:00
Rainer Simon 59b7517414 applyTemplate API method 2020-04-22 18:47:42 +02:00
Rainer Simon 3918785cf4 Added experimental 'autoApply' feature 2020-04-20 19:04:53 +02:00
Rainer Simon 3bf995d596 Editor position bugfix 2020-04-17 13:08:08 +02:00
Rainer Simon 8600415fa9 Added fade in effect to avoid jumping 2020-04-12 10:05:16 +02:00
Rainer Simon 8cf539c4d4 Behavior tweak 2020-04-12 09:54:09 +02:00
Rainer Simon 83d7ac538b Minor tweak to enable editor to move with changing annotation bounds 2020-04-11 17:44:13 +02:00