Commit Graph

191 Commits

Author SHA1 Message Date
4cc3c2cdc6 much cleaner way to handle "last component in multiword example does not have a space" 2020-06-11 19:52:28 +02:00
9f116f3452 example_id -> exampleId 2020-06-11 18:47:52 +02:00
73ef517c8a Adding nospace flag and modified flag to multiword example 2020-06-11 18:47:09 +02:00
6a2507a9c2 added copy for bool 2020-06-11 18:16:44 +02:00
b24af95d5d edited/modified example atribute supported 2020-05-19 22:10:36 +02:00
42aef17473 component lexeme now does not strip spaces, also not shown with spaces. 2020-05-19 18:54:52 +02:00
ee94ab8383 Loading of examples from my API. 2020-05-19 18:54:29 +02:00
ad1c0a6a28 examples and clusters hidden by default 2020-05-19 18:48:17 +02:00
b485fb173f Structure conversion now improved so that it matches correctly 2020-05-19 18:48:05 +02:00
c4938b5785 This one was hard to find, replace in structure conversions now works :) 2020-04-22 15:11:35 +02:00
c83f8268d1 removing unneeded import. 2020-04-22 14:25:09 +02:00
62a1fd5cf1 changing the befaviour of examples_shown button 2020-04-22 14:22:23 +02:00
f609177d33 structure conversions implemented, had to update makefile, gitignore etc. 2020-04-22 14:22:02 +02:00
90a6cda9fe first empty cluster should start at 1 2020-04-22 14:21:04 +02:00
b24a6f0a07 updated ske interface: better formatting, using gdex, using example.s_id, multiple pages 2020-04-22 14:20:34 +02:00
e29b7f503d correct handling when adding new cluster numbers 2020-04-05 17:14:06 +02:00
6912222a53 view and save of ske examples/collocations 2020-04-05 16:46:24 +02:00
8bb506700d implementing ske stuff 2020-03-30 20:34:49 +02:00
e04b4d7a2f DRY principle - example cluster add calculation 2020-03-30 20:32:52 +02:00
49875416b2 redid constructors and some other stuff in examples
this is preparation for ske implementation.
2020-03-30 20:31:59 +02:00
fc35a3079b now first update must have a message, so noreset is chosen 2020-03-30 20:28:43 +02:00
113efc1d23 ske library support 2020-03-30 20:27:58 +02:00
1e84d965ff rework of update mechanism and noaction message support for faster clicks on modal 2020-03-30 20:27:22 +02:00
02ea272aae translation container export correct order 2020-03-20 20:40:17 +01:00
7d275fe176 kontrastivno type in slovenian and translation explanation now edited in textarea 2020-03-20 18:34:19 +01:00
efdbd88434 textarea/input based on role in example components modal thing 2020-03-19 21:33:53 +01:00
4e744db68f opombe and prevedek now textarea and not just text input 2020-03-19 21:29:19 +01:00
6438cf52d1 enter in textarea handled 2020-03-19 21:28:43 +01:00
417ac55fda Added v splosni rabi tag 2020-03-19 21:03:21 +01:00
350f9e58ab Added kontrastivno special tag 2020-03-19 21:02:53 +01:00
00b10796e9 new tags 2020-03-12 22:43:55 +01:00
3299a34226 title of translation parent when editing example translation 2020-03-12 22:43:51 +01:00
81f3b4336a fixed tags for semantic 2020-03-12 21:28:14 +01:00
8128f885f6 we need to draw when choosing examples even if not data changed. 2020-02-19 23:15:42 +01:00
c0ca84a901 Entry now redrawn only on data change 2020-02-19 23:08:21 +01:00
f822aed45a Moving last one: translation to new view 2020-02-17 00:07:48 +01:00
46fd628f11 Moved a few other views and some bugfixes from this refactoring 2020-02-17 00:00:03 +01:00
b6cb2dbce5 Refactoring example into multiple files 2020-02-16 23:25:11 +01:00
8c2197e78b Moving view into classes 2020-02-16 23:18:07 +01:00
e3792005ba messages now a bit different, less contructions
not constructing one for each possible message but only constructing when message happens
2020-02-16 23:17:46 +01:00
23c1ec33a1 headword lemma and semantic&english-full tags tags 2020-02-16 18:13:28 +01:00
b20ceca27a cluster edit is now data change. Also ordering of clusters 2020-02-16 17:46:55 +01:00
6f3b5aeb5b quick cleanup 2020-02-03 07:04:24 +01:00
0bc7ea0c4b styling corpus example components in main view 2020-02-03 06:35:52 +01:00
599338a775 example frequency/logdice shown. 2020-02-03 06:18:51 +01:00
437883701a showing multiword while hiding examples 2020-02-03 06:13:14 +01:00
5f298cd185 cluster toggling 2020-02-03 06:11:26 +01:00
51fb697690 Fixing example clusters last commit. 2020-02-02 23:05:43 +01:00
3844c7025b Better, but not yet 100% working clusters, now with structure name. 2020-02-02 22:04:02 +01:00
be90c9dc89 Add cluster num option 2020-02-02 00:07:42 +01:00
a03deb3737 example translation in same line 2020-02-01 22:14:18 +01:00
9dd9ac7854 Clusters now as multipledigit number, correct-er numbering and some removal 2020-02-01 22:14:07 +01:00
cf7c8b610b not implementing changing the clusters in examples multiple at once for now. 2020-01-28 23:42:36 +01:00
788a8eca01 Enabling the use of choosing example cluster in modal and correct superscript 2020-01-28 23:28:22 +01:00
9a184011c1 editing example clusters on main view 2020-01-28 23:22:52 +01:00
ec5f72969c removing old console logs 2020-01-28 23:22:35 +01:00
3f9030f72d Example clusters in example edit 2020-01-28 23:06:16 +01:00
cab655497b Viewing example clusters in main view 2020-01-28 23:05:48 +01:00
21e95a35dd removing dead code. 2020-01-26 17:46:21 +01:00
7127194c4d changed colors of few elements and a bit of additional logic for colors. 2020-01-26 17:46:12 +01:00
d25a708314 Added latin tag 2020-01-26 17:15:15 +01:00
9517bb4b63 Able to remove empty translations 2020-01-26 17:10:27 +01:00
b6117cf0f5 Delete messages now just reset the modal, not the actual values. 2020-01-26 16:54:33 +01:00
87c310464f edit example text colors/buttons changed 2020-01-26 13:40:17 +01:00
b860fa4807 Unified searching for translation location and cluster nums back in example translations 2020-01-26 13:35:00 +01:00
747cd694a7 Forgot to delete one debug console.log 2020-01-26 12:48:35 +01:00
311e94c5a1 Better view of example translations and add translation button. 2020-01-26 12:42:32 +01:00
932400a06c show/hide examples 2020-01-25 23:22:23 +01:00
27409b6f63 Implemented correct copying, which actually copies python objects. Hopefully this works. 2020-01-25 21:44:32 +01:00
4fb17bb2fc editing example texts now as I see it could look like. 2020-01-25 21:33:22 +01:00
98cce79b79 Now better parsing/exporting of examples, not only comps but also text elements. 2020-01-25 12:30:16 +01:00
1e90c666a0 bug when changing showexampleedit, fixed. 2020-01-25 12:22:56 +01:00
20ffe570f4 ctrl+click now on different message.
Will have to change these stuff, probably composition over inheritance
2020-01-24 02:04:12 +01:00
7e3fa499f8 Exporting examples, viewing logdice, frequency, clusternum
also: cluster num for example on load handled
2020-01-24 01:49:33 +01:00
370488d067 cleanup model.py 2020-01-24 01:47:27 +01:00
460a854dad Actually reading examples, not just quick hack :) 2020-01-24 01:46:58 +01:00
420f48634d Example move up, down, bin via menu. 2020-01-23 23:10:39 +01:00
513cffbbd9 example translations and sense translation now unified, should behave very simmilary
- import
- export
- view
- edite translation events
2020-01-23 22:51:15 +01:00
b84d43bf9d Translations 2020-01-23 20:01:37 +01:00
9c88a2b5cf Add the ability to quickly delete a couple of stuff 2020-01-23 20:01:33 +01:00
c16819dab7 checking export/import now with prettified xml 2020-01-21 22:19:28 +01:00
28dc5472c6 sense -> relatedEntryList read/edit/view/write 2020-01-21 22:18:51 +01:00
8eada0d246 default sense for example moving now chosen. 2020-01-21 20:24:13 +01:00
f5842c2536 First example of sense menu, maybe will delete later, for testing now. 2020-01-21 20:23:12 +01:00
c2c5e94aa7 unified example editing 2020-01-14 22:59:30 +01:00
575345f98f Adding shift+click to example selection 2020-01-14 22:16:47 +01:00
f8bc2f0d22 enter works now when modal is up. 2020-01-14 21:57:36 +01:00
0dc849af66 On choosing examples, now radio buttons 2020-01-14 21:57:11 +01:00
404bafdae3 support for multiple sense definitions 2020-01-14 21:11:04 +01:00
dcb4840f2a New example import/export. 2020-01-14 00:03:59 +01:00
38fe7a5740 Moving xml to outer file and now html simple and xml direct from Cyprian
Also, cleaned makefile, less magic strings
2020-01-14 00:03:42 +01:00
b2d1441e9a Added nekdaj to tags 2020-01-13 19:54:14 +01:00
b14e050ec0 Fixed smaller issue with modal. 2020-01-05 23:58:07 +01:00
17153d78b6 centralized tags import/export into tags.py. Also added slo2eng and back as per 1088 2020-01-05 10:38:53 +01:00
8820b5700f XML2Console now CHK to simply check two xml side to side 2020-01-05 09:54:38 +01:00
b5e77d3996 Adding ESC key press action. 2020-01-05 09:53:16 +01:00
ed16384063 chosen example can be unchosen via ctrl also 2020-01-04 14:36:39 +01:00
571ad0c5a0 click message should not reset! 2020-01-04 14:36:09 +01:00
16a2059a37 Change import/export for translation: source&targetLang 2020-01-04 14:35:53 +01:00
4c7ade67fc changed view/css to actually show selected examples 2020-01-02 14:22:59 +01:00