Commit Graph

302 Commits

Author SHA1 Message Date
Robin Tissot 8937019f2b Fixes wrapped widgets not being created on editor instanciation. 2021-07-09 21:53:30 +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 9e755c9d94 Bugfix 2021-07-05 21:18:59 +02:00
Rainer Simon daa8157eb8 Closes #69 2021-07-05 21:18:08 +02:00
Rainer Simon d1c6d0441b Reorganized polyfills 2021-07-04 21:48:47 +02:00
Rainer Simon ed436ec8ec Removed polyfills 2021-07-03 17:55:31 +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 15d88d02a7 Minor fix 2021-06-11 12:09:23 +02:00
Rainer Simon a9046c8dfb React/Preact compatibility cleanup 2021-06-11 12:03:44 +02:00
Rainer Simon c08937edf3 Plugin API enhancement - hooks now supported! 2021-06-11 11:07:15 +02:00
Rainer Simon 5e876f99bc Re-adding index.js for easier imports 2021-06-05 13:49:53 +02:00
Rainer Simon f0ae10ce0d Build cleanup 2021-06-05 13:27:32 +02:00
Rainer Simon 749666dc3c Build fixes 2021-06-05 08:42:14 +02:00
Rainer Simon a5497df16d Renaming in prep for (possible) vite build 2021-06-03 14:33:33 +02:00
Rainer Simon 1455d879c1 Editor now supports widgets compiled with Preact 2021-06-03 14:31:37 +02:00
Rainer Simon c778a8c282 Auto-positioning: added another test for horizontal positioning 2021-04-19 19:41:38 +02:00
Rainer Simon 34c8daadc4 Typo 2021-04-18 21:11:55 +02:00
Rainer Simon 5c678f52f1 Cleanup 2021-04-18 18:24:36 +02:00
Rainer Simon 9658a5aa47 Minor positioning tweak 2021-04-18 14:51:58 +02:00
Rainer Simon 4fa1e145f5 Enhancements to editor auto-position 2021-04-18 14:33:19 +02:00
Rainer Simon 8588a1fd7d Bugfix regarding UI label overrides 2021-04-18 13:12:44 +02:00
Rainer Simon 6895f39660 Added ability to override UI labels 2021-04-18 13:09:56 +02:00
Rainer Simon 6ec1995791 Addressing the unaddressable issues of distinguishing React components from functions..: 2021-04-08 14:16:22 +02:00
Rainer Simon ad47392c13 Closes #54 2021-04-04 09:12:02 +02:00
Rainer Simon 0c9e7fba1a Should fix dynamic positioning issue 2021-04-01 13:45:17 +02:00
Rainer Simon ec2fca774a Tag widget style fix: widget now hidden when empty 2021-03-30 10:43:18 +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 4bd9c282e8 For consistency with WebAnnotation 2021-03-16 13:33:02 +01:00
Rainer Simon 7e7f9fdd82 Bugfix 2021-03-12 15:13:03 +01:00
Rainer Simon 37ca2106a9 Cleanup 2021-02-28 09:20:13 +01:00
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 c29fc007db Refactoring 2021-02-21 08:01:14 +01:00
Rainer Simon 40d49a44ab Exported autocomplete 2021-02-20 19:06:58 +01:00
Rainer Simon b408fd0765 Exported icons 2021-02-20 19:03:48 +01:00
Rainer Simon 520ba17710 Removed more text-only code 2021-02-20 18:55:26 +01:00
Rainer Simon 91c1fd0ea2 Refactoring: removed all text depdendencies from core 2021-02-20 18:52:45 +01:00
Rainer Simon a8340866d6 Fixes https://github.com/recogito/recogito-js/issues/16 2021-02-17 17:15:23 +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
Rainer Simon c1ebc07f00 Bugfix 2021-01-08 12:28:10 +01:00
Rainer Simon 1c3b9bda2c Security fix + registered Greek labels for timeago 2021-01-08 12:26:03 +01:00
Georgios Kaperonis 6d85c661a0 Adding Greek Language Translation File 2021-01-08 13:17:27 +02: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 35a339dcd3 Registered NL translations for timeago 2021-01-03 10:02:24 +01:00
Nico Altink 9947e55733
The dutch (nl) text 2020-12-31 20:19:29 +01:00
Rainer Simon aaae5c32f2 Minor API tweak 2020-12-27 17:51:19 +01:00
Rainer Simon 2482d37bd9 Minor fix 2020-12-27 12:01:35 +01:00
Rainer Simon fb940d78b2 Removed support for applyTemplate 2020-12-27 09:07:12 +01: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
Rainer Simon 7e32f62a93 Bugfix 2020-11-28 13:56:26 +01:00
Rainer Simon b875f99be7 Merge branch 'master' of github.com:recogito/recogito-client-core 2020-11-28 13:52:52 +01:00
Rainer Simon 79831fe957 Consistency: selections now also use _underlying instead of _stub 2020-11-28 13:52:41 +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 f762de6725
Registered TR locale for timeago 2020-11-11 14:24:47 +01:00
deepBlue 6f286a5023
tr language file
tr language file
2020-11-11 16:17:29 +03: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 2e4dcb9e31 Added missing Spanish labels (see https://github.com/recogito/annotorious/issues/64) 2020-10-28 13:33:30 +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