Commit graph

312 commits

Author SHA1 Message Date
51beac231c more interfaces into api.ts 2023-09-12 16:55:34 +00:00
629c6d8f9d CalendarAssistant day_parts 2023-09-12 16:39:52 +00:00
d1e2648f5f API models into own TS module 2023-09-12 16:39:18 +00:00
4e1a9fa10d splice DayPartModel from ConfigModel 2023-09-12 16:26:12 +00:00
334540187e Drawer better toggle logic 2023-09-12 16:11:03 +00:00
c7fd54f60d ui mini buttons 2023-09-12 15:58:56 +00:00
ddb893ea6c DoorMapEditor Drawer usage 2023-09-12 15:51:23 +00:00
dbd0e4962c Drawer layout optimization 2023-09-12 15:46:45 +00:00
2f4842f539 refreshable Drawer 2023-09-12 15:39:54 +00:00
0bf2ce0b9e ConfigView loading flow 2023-09-12 15:10:54 +00:00
c718ab7d42 UI: one-indexed days 2023-09-12 14:55:08 +00:00
f5825ae19b mark TODOs for ConfigView 2023-09-12 13:59:47 +00:00
a49ed8dd79 ConfigView doors list 2023-09-12 13:56:05 +00:00
20375f2c9d reflect api changes in UI 2023-09-12 13:55:08 +00:00
63d88c3a09 implementation using get_part_for_day 2023-09-12 07:27:59 +00:00
b73185e4fb remove "doors" from admin ConfigModel (is public) 2023-09-11 23:47:07 +00:00
2ae4fb8695 readability 2023-09-11 23:41:45 +00:00
08972df4cc cleanup event listener in MultiModal 2023-09-11 23:37:37 +00:00
b30e8095f9 way better admin login flow 2023-09-11 23:36:36 +00:00
2da7b6914a crude admin authentication flow 2023-09-11 23:10:17 +00:00
26556ad309 ConfigView rendering 2023-09-11 22:50:11 +00:00
74b9322ae2 query admin/config_model in ConfigView 2023-09-11 22:24:01 +00:00
91c2589045 "admin" router with /private_config route 2023-09-11 19:39:02 +00:00
b00fdee126 minor UI tweaks 2023-09-11 02:36:51 +00:00
f4c8ab0b5a error handling improvements 2023-09-10 21:55:25 +00:00
f9369ec204 App div -> section 2023-09-10 21:09:00 +00:00
6e97420f1b CalendarAssistant component 2023-09-10 21:08:42 +00:00
451fd6bb88 ConfigView overflow auto 2023-09-10 20:08:13 +00:00
4684df16f9 BulmaDrawer bottom margin 2023-09-10 14:09:50 +00:00
6f73440160 ConfigView into thirds (breaks long <dd>) 2023-09-10 03:54:54 +00:00
0d07f67642 minor tweaks 2023-09-10 03:48:50 +00:00
684443e6a6 bulma/Drawer using "card" 2023-09-10 03:38:24 +00:00
a645dc84cc ConfigView using bulma "card" 2023-09-10 03:25:12 +00:00
5b5d85e9d9 ConfigView component (mockup content) 2023-09-10 03:10:22 +00:00
c4181dc5f8 move stuff around 2023-09-10 01:59:19 +00:00
99e9f5980f bulma Button minor oversight 2023-09-10 00:54:49 +00:00
d4bd41fc67 remove bulma Drawer slot "heading" 2023-09-10 00:54:29 +00:00
cfeb87401e flex "space-around" for button groups 2023-09-10 00:25:22 +00:00
943c9b6c32 AdminButton component 2023-09-10 00:24:56 +00:00
ce344e5043 subdir for "bulma" components 2023-09-10 00:10:54 +00:00
5c38c2fcd8 DoorMapEditor minor adjustments 2023-09-09 23:53:49 +00:00
6e4578ec5e Calendar <figcaption> 2023-09-09 23:52:58 +00:00
74c22fc8a6 BulmaDrawer "caret" -> "angle" icon 2023-09-09 23:19:46 +00:00
c5680f37f6 DoorPlacer/DoorChooser with panel-block 2023-09-09 23:08:43 +00:00
f75f5689de DoorMapEditor layout improvements 2023-09-09 22:43:11 +00:00
63f05c1fb9 DoorMapEditor fully usable 2023-09-09 22:18:16 +00:00
5ca3112619 stylesheets improvements 2023-09-09 21:41:06 +00:00
90c3643bf1 open/close DoorMapEditor 2023-09-07 20:54:11 +00:00
83098d3dc4 minor refactoring 2023-09-07 19:34:11 +00:00
7821aebd68 layout improvements (more bulma) 2023-09-07 17:32:53 +00:00
a9754f77bc use Advent22 api_get<T> 2023-09-07 17:00:28 +00:00
27db0ea908 BulmaButton icon optional 2023-09-07 16:51:19 +00:00
b3448dbfa8 get/set doors 2023-09-07 16:44:44 +00:00
62a93d41c7 BulmaButton component 2023-09-07 15:43:14 +00:00
35257b227a Advent22 api_url overloads 2023-09-07 15:15:12 +00:00
79fc7dc89d Advent22 axios timeout 2023-09-07 15:13:10 +00:00
1866833d3d Promise based Advent22.api_get 2023-09-07 15:12:46 +00:00
a6e6d8eb19 (de-)serializing of "Door" class 2023-09-07 03:32:15 +00:00
dd156b936d ts overload constructors 2023-09-07 03:29:53 +00:00
0dd96f5949 LoginModal: autofocus and some fixes 2023-09-07 02:33:45 +00:00
9cd2e51eb8 specify left click on some components 2023-09-07 02:12:34 +00:00
f603a9947c refactoring (moving stuff around) 2023-09-07 02:08:56 +00:00
40284c4061 apply "prettier" styling 2023-09-07 01:17:14 +00:00
f202f78d51 create Calendar component 2023-09-07 00:41:38 +00:00
560beb0a44 improve Door integer coercion, remove PreviewDoor.editable 2023-09-07 00:34:42 +00:00
9f3339240f be a bit safer 2023-09-06 23:18:55 +00:00
23820bc9dc open door progress + fail 2023-09-06 18:44:19 +00:00
391f3e8fba VSCode: "octref.vetur" -> "Vue.volar" 2023-09-06 16:25:35 +00:00
05750d6de2 select() on PreviewDoor click 2023-09-04 21:27:37 +00:00
dd519ec3cc load background image from WebDAV 2023-09-04 21:23:27 +00:00
f7754ec901 fix non-integer door numbers 2023-09-04 20:47:45 +00:00
b9594ade83 various minor improvements 2023-02-18 00:43:07 +00:00
2551b0480b PreviewDoor combining SVGRect and foreignObject 2023-02-17 19:00:27 +00:00
0a18bdd2a0 Simple SVGRectText as foreignObject 2023-02-12 01:20:54 +00:00
67c371b483 DoorChooser keyboard input method 2023-02-02 23:16:44 +00:00
1ab02e6905 parent_aspect_ratio suspicious value handling 2023-02-02 22:55:30 +00:00
ef5281e57b DoorChooser usable but bad 2023-02-02 18:06:55 +00:00
d0756fda92 fixes for (still crude) DoorChooser 2023-02-02 15:29:26 +00:00
1695e8651c RectangleCanvas.rectangles is a prop, don't init 2023-02-02 15:29:04 +00:00
6628efe957 Door interface 2023-02-02 15:28:30 +00:00
6d7646daf7 DoorPlacer with "Door" logic 2023-02-02 14:12:44 +00:00
0372ad6c4d "equals" methods for Vector2D, Rectangle 2023-02-02 14:10:45 +00:00
8efe6ee17c Merge branch 'feature/drawrects' into feature/drawrects+door 2023-02-02 12:51:02 +00:00
c74c63be54 BulmaBreadcrumbs v-model 2023-02-02 12:50:12 +00:00
78f2b981e3 WIP: Door class (breaking) 2023-02-01 16:53:24 +00:00
be78671ffe BulmaBreadcrumb interface Step 2023-02-01 09:45:01 +00:00
3af743a6e6 BulmaBreadcrumb component 2023-01-31 22:31:27 +00:00
f87b25f730 add Rectangle.middle, update test suite 2023-01-31 22:19:30 +00:00
9ee55fc5af CanvasState implementation 2023-01-31 14:21:06 +00:00
f3a73f8ad0 RectPad -> RectangleCanvas 2023-01-27 00:23:41 +00:00
ba066c5779 refactor: renamings 2023-01-25 11:39:58 +00:00
01e88c6059 pointer cursor while choosing 2023-01-25 09:56:05 +00:00
75306742c5 more anonymous default exports 2023-01-24 23:48:18 +00:00
31ee11fbf2 Merge branch 'develop' into feature/drawrects 2023-01-24 23:47:22 +00:00
cba03dfeda more backtick strings 2023-01-24 23:45:26 +00:00
f12bcf01b7 Merge branch 'develop' into feature/drawrects 2023-01-24 23:44:13 +00:00
fbf7f466cb anonymous default exports 2023-01-24 23:42:50 +00:00
2882f35b06 backtick strings 2023-01-24 23:42:50 +00:00
9431673eee account for SVG aspect ratio 2023-01-24 23:11:49 +00:00
a977b9b11c svg version 2023-01-24 23:11:15 +00:00
a6c5a5469a allow Vector2D scaling 2023-01-24 23:11:01 +00:00
a55d1a25ba RectText component 2023-01-24 11:35:45 +00:00
8048b68725 Basic DoorChooser 2023-01-24 00:14:50 +00:00
709e0c81e4 ThouCanvas style 2023-01-23 23:49:29 +00:00
9d9e3faa02 DoorPlacer v-model 2023-01-23 23:37:23 +00:00
dde8f172dc coordinate transformation into ThouCanvas 2023-01-23 22:33:39 +00:00
33b8a66b23 remove beed for "normalize" 2023-01-23 14:38:49 +00:00
641492339a trim "get classes" 2023-01-20 23:48:33 +00:00
a715e761a9 use change_step 2023-01-20 00:51:11 +00:00
1e5fae0caa "_rectangles" -> "rectangles_array" 2023-01-20 00:46:17 +00:00
c0bc9aee5d steps with icons 2023-01-20 00:42:47 +00:00
63f5b3fe19 FontAwesomePlugin 2023-01-20 00:41:15 +00:00
e8dd32c71f use "breadcrumbs" 2023-01-19 19:35:20 +00:00
22d58f94b6 DoorPlacer component 2023-01-19 17:59:18 +00:00
2db63db8db tabs function 2023-01-19 17:54:46 +00:00
3bf8872a33 z-index problem 2023-01-19 00:44:03 +00:00
9647132569 "rectangles" property 2023-01-19 00:27:38 +00:00
93f31cd2b8 only remove rect while not editing 2023-01-19 00:27:21 +00:00
d387aceedd bulma-ify DoorMapEditor 2023-01-19 00:22:01 +00:00
95c4c2e5ff move rectpad size 2023-01-18 22:45:12 +00:00
2f776566f3 png -> jpg 2023-01-18 00:20:15 +00:00
8689ba8473 more reasonable minimum area 2023-01-18 00:04:43 +00:00
6ffc5f076c revert to single "focused" prop 2023-01-17 23:58:46 +00:00
740eb574c6 middle click delete 2023-01-17 23:56:07 +00:00
b81446e99d readability 2023-01-17 23:50:25 +00:00
c1da30cc3e drag_rect implementation 2023-01-17 23:42:07 +00:00
7160cfeff7 drag rectangles 2023-01-17 23:34:42 +00:00
7650fb16a5 mouse handler names 2023-01-17 22:42:21 +00:00
b4492dcb73 "focused" -> "highlighted, selected" 2023-01-17 22:33:11 +00:00
cc1ab7be90 don't restart drawing after blurred pointerup 2023-01-17 22:15:12 +00:00
10751cb798 CalendarImage -> DoorMapEditor 2023-01-17 18:25:56 +00:00
eae3eed29b minor fixes 2023-01-17 18:03:45 +00:00
b7f7b05e73 Merge branch 'develop' into drawrects 2023-01-17 14:28:22 +00:00
4fe8bf1847 remove ": void" 2023-01-17 14:28:11 +00:00
96de19fbbd show drawn rectangles 2023-01-17 14:26:39 +00:00
9fa1498af3 "mouse" to "pointer" events 2023-01-17 14:09:13 +00:00
d16abe2658 cursor: crosshair 2023-01-17 00:57:47 +00:00
f3f8522242 "rectangles" library 2023-01-17 00:51:52 +00:00
e1bd10980c "preview" rectangle 2023-01-16 23:40:25 +00:00
f0db5e57ec drawrects stub 2023-01-16 00:19:16 +00:00
2052efedd9 cleanup 2022-12-22 00:16:42 +00:00
cb7c785ef4 endpoint slashes 2022-12-22 00:15:59 +00:00
e53619ebcf ESC login 2022-12-21 23:51:25 +00:00
82ebd211f6 Simple image modal 2022-12-21 23:51:01 +00:00
fcf9cd458e visible_days 2022-12-21 23:48:54 +00:00
8269d8c976 Del Leere Tags 2022-12-14 02:40:51 +00:00
a7666c741d Anmeldungsfeld 2022-12-14 02:39:32 +00:00
2b05e468e6 api get str 2022-12-08 23:21:52 +00:00
a7d9b4a3b5 typo 2022-11-22 22:27:57 +00:00
cae145ea6a axios into plugin 2022-11-16 01:37:52 +00:00
0673d239d9 image URL 2022-11-16 00:21:14 +00:00
78d9f7d194 ImageModal wrapper 2022-11-04 01:11:20 +00:00
9da577c613 single ImageModal
Co-authored-by: Penner4242 <Penner4242@users.noreply.github.com>
2022-11-03 23:01:28 +00:00
689013e202 VSCode Sass support 2022-11-03 17:49:25 +00:00
f707494058 main Stylesheet 2022-11-03 17:30:29 +00:00
c1ea31f874 Advent22 typescript plugin 2022-11-03 15:04:57 +00:00
f585b5f90c ImageModal Bilder 2022-10-30 03:10:07 +00:00
cf318212ba ImageModal v-model 2022-10-30 03:04:25 +00:00
b6deb22cc8 ImageModal 2022-10-30 02:35:39 +00:00
382ed35a48 Irgendwas mit 24 Türchen 2022-10-30 01:27:46 +00:00
858062b9ee Crude CalendarBild 2022-10-28 00:28:03 +00:00
2c584cff8b Vue Projekt 2022-10-28 00:14:20 +00:00