Commit graph

143 commits

Author SHA1 Message Date
b3f809a116 Remove annoying intoductory img from task assignment 2020-10-05 20:07:58 +00:00
0b3d59cfa1 Fix url for KSP-H 2020-10-05 19:58:07 +00:00
a23438f976 KSP url change 2020-10-05 19:50:12 +00:00
812e2ca6be editor: fixnuto přesouvání, přesun nodů by default aktivní 2020-10-05 21:27:05 +02:00
0ba8e229d2 Bulk insert of tasks 2020-10-04 20:49:57 +00:00
1af13c38ed editor: toolbox is scrollable 2020-10-04 21:24:28 +02:00
8202fc43e8 Update task status immediately on submit 2020-10-04 11:27:52 +00:00
313ca60b55 Add reaction to task load 2020-10-04 11:11:02 +00:00
7116805d97 graf: disabled selection tool appearing when disabled 2020-10-04 12:56:15 +02:00
aeafbd07d5 Add note about expiration time 2020-10-04 10:50:30 +00:00
04138c3ba8 use taskReference 2020-10-04 10:50:17 +00:00
e7a3a093b7 Swap submit and show solution 2020-10-04 10:14:37 +00:00
686deea3eb tasks.json: přidány další úlohy 2020-10-04 11:59:12 +02:00
62e673a196 editor: center marker 2020-10-04 11:31:01 +02:00
80f9a70c72 Submit form prototype 2020-10-03 22:18:54 +00:00
911a80b500 task detail editor: option to edit taskReference 2020-10-04 00:15:50 +02:00
b0e00beaac editor: group selection and group dragging 2020-10-03 23:41:57 +02:00
6a6c13a5d8 Fix type errors 2020-10-02 10:13:20 +00:00
0edb0569b8 editor: save to disk 2020-10-01 23:42:56 +02:00
46afc555d6 removed compatibility with old format, small fix in editor 2020-10-01 23:33:39 +02:00
ab13f0b726 massive cleanup of Graph and Editor code 2020-10-01 23:26:02 +02:00
f0e6e79364 code cleanup 2020-10-01 21:57:27 +02:00
1f325adeb7 Fix text refresh glitch 2020-10-01 18:40:24 +00:00
be09522222 graph node: fixed wrong ellipse size after changing the text 2020-10-01 19:47:24 +02:00
f462b837b8 Better drag&drop for nodes in editor
fix 
2020-10-01 12:36:09 +00:00
b4717e93a9 TaskDisplay shows text nodes correctly 2020-10-01 12:13:19 +00:00
431f0e4689 graph node: bug v designu labelu, kdyz je povoleno pohybovani 2020-10-01 14:09:05 +02:00
3a7474ca22 Fix body padding 2020-10-01 11:48:05 +00:00
c03c6566c5 graph: neda se klikat na labely 2020-10-01 13:23:26 +02:00
c778b879f7 Fix TaskPanel url routing bug 2020-09-30 22:23:00 +00:00
4f25a1aefb Border radius for TaskPanel 2020-09-30 22:23:00 +00:00
163714bca3 editor: cool professional design :-O 2020-10-01 00:12:15 +02:00
31c91be77c Set zoom click distance to 10px
prevents a glitch that occurs when clicking on nodes - instead of
seeting the click event, the view moves by few pixes and task is not selected
2020-09-30 22:06:02 +00:00
8c99862103 Fix full close of TaskPanel 2020-09-30 22:00:57 +00:00
f06c103103 less ugly TaskPanel 2020-09-30 21:34:11 +00:00
7aa0744aca graf: hrany vedoucí z labelů jsou skryté - nody se tak při simulaci mohou dobře umístit 2020-09-30 22:52:57 +02:00
39c3b5a264 label rendering and rotation 2020-09-30 19:49:05 +02:00
f094973865 editor: odstraňování a přidávání nodů (fixes ) 2020-09-30 18:15:13 +02:00
0d684ca4f3 task detail editor: používáme CKEditor5 2020-09-30 17:41:11 +02:00
e21fc20335 Remove debug print 2020-09-30 15:39:04 +00:00
af57e530f8 Display task status in TaskDisplay 2020-09-30 14:10:32 +00:00
95426fa0d2 editor: nastroj pro editaci detailu tasku 2020-09-30 15:34:56 +02:00
80017529a7 Grab task status from /cviciste/
see 
2020-09-30 11:23:42 +00:00
a264dbead9 graf: přidána funkce pro manuální pozicování vrcholů a perzistence pozice 2020-09-29 23:50:44 +02:00
e9a6ccb59c Merge master 2020-09-29 19:30:04 +00:00
f4601a782b Implement simple routing for TaskPanel 2020-09-29 14:37:54 +00:00
06c72d33ad Merge pull request 'Add a pointer cursor when hovering a GraphNode' () from vo/graph-node-cursor into master
Reviewed-on: 
2020-09-29 13:25:56 +02:00
1c85597f49 Merge pull request 'Add proper close button to TaskPanel' () from vo/close-button into master
Reviewed-on: 
2020-09-29 13:23:16 +02:00
Vojtěch Káně
d516f5d888 Add a pointer cursor when hovering a GraphNode
This makes it clear they are indeed clickable.
2020-09-29 13:20:23 +02:00
27930f1aa2 better node connections
fix 
2020-09-29 11:19:29 +00:00
Vojtěch Káně
f509f0a12f Add proper close button to TaskPanel
Related to 
2020-09-29 13:15:19 +02:00
dbf86e1617 Enable minification and disable livereload on test env 2020-09-29 10:21:00 +00:00
91e8d45252 Remove debug print 2020-09-29 10:10:28 +00:00
94b7b817fd More mobile friendly 2020-09-29 09:43:57 +00:00
317ddc6ead Fix terser compile error 2020-09-29 09:43:32 +00:00
73f8966ea1 More hack and few more hack so zoom works
fix 
2020-09-28 22:44:50 +00:00
102c0677ed graf: sila tahnouci nody dolu, pokud maji hodne zavislosti 2020-09-28 23:25:58 +02:00
b926dd3526 Fix strange behavor on page resize 2020-09-28 21:25:41 +00:00
9dc8ba5526 Fix links in grabbed HTML
fix 
2020-09-28 21:08:24 +00:00
5761a5ce0b The Graph is everywhere 2020-09-28 20:31:52 +00:00
0336e59c05 graf: pri updatu to uz tolik neskace 2020-09-28 22:04:32 +02:00
2494eab6e7 graf: nepouzivaji se primo data z tasks.json pro renderovani 2020-09-28 21:46:08 +02:00
7668b12abb Remove weird hack - we can just call functions on components
fix 
2020-09-28 17:10:01 +00:00
1206a05633 Načítání řešení úlohy 2020-09-28 14:36:50 +00:00
db787ab896 Fix TaskPanel width 2020-09-28 13:19:27 +00:00
debe92d440 Less glitchy task expansion 2020-09-28 13:19:27 +00:00
ddfca887c3 graph: automatic resizing of the map 2020-09-28 13:57:45 +02:00
db83b1cb02 frontend: react to hash changes 2020-09-28 13:56:43 +02:00
47c522fb3f task saving: added missing await 2020-09-28 11:59:03 +02:00
8c6dc06bb0 editor: saving changes 2020-09-28 11:56:51 +02:00
b1dcf45db6 graph: zooming and dragging, changed default repulsion force 2020-09-28 11:40:06 +02:00
2006216a99 editor: first version 2020-09-28 00:30:50 +02:00
6ec2234ef9 Crippled version of task display 2020-09-27 19:55:26 +00:00
5298dae17f KSP template fixes 2020-09-27 18:34:56 +00:00
8d3347aa3b Use KSP template 2020-09-27 18:09:39 +00:00
427ea184f2 graf: i hrany uz jsou ciste Svelte 2020-09-27 13:40:05 +02:00
a05ee0eedc Fix TS error 2020-09-27 11:12:41 +00:00
652c245d99 graph now works (somehow) 2020-09-27 12:21:47 +02:00
e0818aa61c Add KSP task grabber [untested] 2020-09-27 10:18:37 +00:00
50a6864c12 Switch frontend to using dotnet proxy project 2020-09-27 09:26:28 +00:00
18b62bd2b2 nacitani uloh do grafu z tasks.json 2020-09-27 01:06:44 +02:00
8b3f9308cd vizualni upravy 2020-09-26 21:26:31 +02:00
096f725a20 Add tasks.json to frontend 2020-09-26 18:59:07 +00:00
90bf3d3d2b add d3 types 2020-09-26 20:45:00 +02:00
bafe1699db swapped sigma.js with d3 2020-09-26 19:07:44 +02:00
322204603c graph: attempt to use forceAtlas2 algo for layout 2020-09-26 18:46:54 +02:00
7aba50fef3 Add types for sigma 2020-09-26 16:40:36 +00:00
bdac72fb9d remove node-pollyfils 2020-09-26 16:27:19 +00:00
c685f2dfb8 TypeScript: use strict mode 2020-09-26 16:23:47 +00:00
5b9266f703 tooling: fixed rollup and package.json 2020-09-26 18:20:47 +02:00
eef1fa68a4 experimental graph with sigma 2020-09-26 18:17:47 +02:00
a62e860427 Converted to TypeScript
I don't know what it does :D
2020-09-26 16:10:10 +00:00
4801162931 frontend: Svelte template 2020-09-26 15:51:26 +02:00