100 Commits
Author SHA1 Message Date
Luke 1be71ea6ba refactor(web/menu): properly align circle menu labels 2023-01-21 22:01:22 +01:00
Luke 6c9d3d21cc refactor(web/menu): wip radial menu
i hate circles
2023-01-21 15:06:25 +01:00
Luke aac17fd4af refactor(web/menu): move planet menu styling 2023-01-20 12:26:50 +01:00
Luke 6485ede5f8 refactor(web/menu): planet menu data passing 2023-01-20 12:08:46 +01:00
Luke fcf33dbdfe refactor(web/input): add missing icon prop to color type 2023-01-20 10:30:42 +01:00
Luke e298b13607 refactor(web/progress): improve progress circle alignment
apparently the circle progress wasn't properly aligned this whole time
2023-01-17 22:12:47 +01:00
Luke b3c84d94c4 feat(web/menu): initial planet menu design 2023-01-16 15:07:17 +01:00
Luke 779ed8dd07 feat(web/input): multi-select row 2023-01-15 11:54:15 +01:00
Luke 8c4d770e46 feat(web/input): textarea row 2023-01-15 11:44:14 +01:00
Luke b671181402 refactor(web/input): use date timestamp instead of object 2023-01-14 19:02:25 +01:00
Luke f21b79786a feat(web/input): date range picker 2023-01-14 14:15:38 +01:00
Luke a23b94ceb1 refactor(web/input): add icon to date picker 2023-01-14 13:56:05 +01:00
Luke ec57d03791 refactor(web/input): set date to current if default is set to true 2023-01-14 13:55:43 +01:00
Luke 5245e27a75 feat(web/input): min and max date 2023-01-14 13:36:30 +01:00
Luke d621aca29f feat(web/input): date input 2023-01-13 19:09:07 +01:00
Luke 2a1429848c refactor(web/notifications): adjust line height and icon size 2023-01-13 17:21:01 +01:00
Luke b8e96026cc refactor(web/notifications): increase description font size if no title 2023-01-11 21:06:05 +01:00
Luke 9a92729a30 feat(web/input): allowCancel option 2023-01-11 20:54:29 +01:00
Luke 9a3cff864e refactor(client/interface): default notify backwards compat 2023-01-11 20:38:58 +01:00
Luke e68d8d311c refactor(web/menu): cap tooltip width 2023-01-10 21:44:36 +01:00
Luke d7cadfb030 refactor(web/context): strict undefined check for progress 2023-01-10 21:36:10 +01:00
Luke d337bc096d feat(web/input): select row icon 2023-01-09 14:39:49 +01:00
Luke 8936191f2e feat(web/input): allow select to be cleared 2023-01-09 14:34:41 +01:00
Luke c88ed6b299 refactor(web/input): default select to first option 2023-01-09 14:32:11 +01:00
Luke a51d3a05e3 refactor(manifest): kkomrade 2023-01-09 14:24:29 +01:00
Luke f6e2d54bdb refactor(web/input): select backwards compat with no label 2023-01-08 11:50:44 +01:00
Luke d5a9a3fb90 feat(web/input): required fields 2023-01-08 11:40:35 +01:00
Luke 6c4485b570 feat(web/input): color input field 2023-01-08 11:23:50 +01:00
Luke a73d3e63da refactor(web): remove all borders from buttons 2023-01-08 10:56:49 +01:00
Luke 9e7bf72f3a refactor(web/menu): adjust header icon color ternary 2023-01-04 20:00:29 +01:00
Luke 0d442a5b8d refactor(web/menu): remove borders from context menu buttons 2023-01-04 19:57:08 +01:00
Luke 47047045c4 refactor(web/progress): hide overflow on progress bar 2023-01-04 19:50:41 +01:00
Luke 44c91f1cf4 refactor(web/input): reset input form on close 2023-01-04 13:52:39 +01:00
Luke 855405da77 refactor(web/input): use mantine password field component 2023-01-04 13:51:24 +01:00
Luke 4f2eaeae15 refactor(web/input): remove input state 2023-01-04 13:28:40 +01:00
Luke d0811be0ce refactor(web/input): use form control instead of controlled state 2023-01-03 18:55:02 +01:00
Luke 440a7564a3 refactor(web/notifications): improve notification transitions 2023-01-02 21:50:49 +01:00
Luke 59f513ef01 refactor(web/transitions): speed up initial scale fade transition 2023-01-02 21:50:21 +01:00
Luke 7d9e76b043 refactor(web/transitions): improve scale fade transition 2023-01-02 19:33:50 +01:00
Luke 9f1ae6184a chore(web): remove chakra packages 2023-01-02 14:02:07 +01:00
Luke d48b5e199b refactor(web/menu): list menu mantine rewrite 2023-01-02 13:45:19 +01:00
Luke d5cdfe58f2 feat(web/notifications): center left and center right positions 2023-01-01 19:25:12 +01:00
Luke ae8e588c67 refactor(web/notifications): notifications rewrite 2023-01-01 14:31:11 +01:00
Luke f18fec5130 refactor(web/progress): use solid colour for progress bar background 2022-12-31 15:59:14 +01:00
Luke 88dac57ca6 refactor(web/progress): change circle progress track colour 2022-12-31 15:58:26 +01:00
Luke 97dc0cabdd refactor(web/progress): use scale fade transition for progress 2022-12-31 15:52:39 +01:00
Luke f9ff2fe6d4 refactor(web/dialog): use fade transition 2022-12-31 15:05:01 +01:00
Luke 2a1e7ff632 refactor(web): scale fade transition 2022-12-31 15:03:16 +01:00
Luke 8722d25171 refactor(web/textui): textui mantine rewrite 2022-12-30 14:50:15 +01:00
Luke 763997f2a1 refactor(web/skillcheck): darker track colour 2022-12-30 13:01:41 +01:00
Luke fa04332def refactor(web/skillcheck): skillcheck mantine rewrite 2022-12-23 10:29:22 +01:00
Luke d1187eda43 refactor(web/progress): circle progress to Mantine 2022-12-22 20:14:09 +01:00
Luke f8f81db3eb refactor(web/progress): hide progress bar if not visible 2022-12-21 15:00:22 +01:00
Luke 102d58cbb1 refactor(web): context button description class 2022-12-21 14:53:25 +01:00
Luke 4f6fc6abaf refactor(web/progress): progress bar mantine rewrite 2022-12-18 13:17:42 +01:00
Luke 50aab9987c refactor(web/alert): use primary color theme for the button color 2022-12-18 12:07:37 +01:00
Luke e7d86af637 refactor(web/context): context menu mantine rewrite 2022-12-17 14:27:55 +01:00
Luke c419474969 refactor(web/input): input dialog mantine rewrite 2022-12-16 15:00:01 +01:00
Luke f24e43a1a4 refactor(web/alert): alert dialog mantine rewrite 2022-12-16 12:27:15 +01:00
Luke 1893b66014 refactor(web/dev): mantine rewrite 2022-12-16 12:03:31 +01:00
Luke 5206f8b81b refactor(web): initial mantine setup 2022-12-16 11:55:12 +01:00
Luke abff60d4ed fix(web): fix values persisting across input dialogs opened quickly 2022-12-16 09:40:28 +01:00
Luke da9b55fa84 refactor(package/callbacks): improve typings 2022-12-13 08:26:43 +11:00
Luke d92c1d7e23 feat(web/alert): allow defining alert dialog button labels 2022-12-08 11:46:21 +01:00
Luke 4aad28a2e5 chore(web): remove unused settings component 2022-12-08 11:37:24 +01:00
Luke e806781dde fix(web/menu): fix onSideScroll getting called on open
Potentially fixes an issue where if your first item in the menu was a side scroll the onSideScroll would get instantly called when opening
2022-12-08 11:23:49 +01:00
Luke 7cde7e0581 fix(web/input): ensure select rerender between dialogs
If opening another input dialog with select in the same row it would cause the value to be the same as the previous one as there was no rerender being forced because their keys were the same
2022-11-19 12:11:02 +01:00
Luke d5e0305df9 fix(web/input): ensure number type input is max length 2022-11-19 11:04:34 +01:00
Luke 59051d505b fix(web/skillcheck): fix not being able to hit skill check with capslock
apparently the return key for event can differentiate lower and uppercase keys
2022-11-16 23:16:17 +01:00
Luke 39668aa26a fix(web/menu): fix button tooltip not displaying on side scroll button 2022-11-12 13:58:34 +01:00
Luke 306b7b3670 feat(web/context): disabled buttons 2022-11-06 11:01:39 +01:00
Luke 33b70b6f1c refactor(web/context): cache context option into a variable 2022-11-05 11:20:59 +01:00
Luke bee78ccdfc chore(client/menu): remove debug code 2022-11-03 17:56:41 +01:00
Luke 765fff3598 fix(web/menu): show values description without requiring button desc 2022-10-30 10:16:28 +01:00
Luke 00465d2e7a perf(web/menu): memoize button and header components
Drops the render times for a 9 button menu down from 12ms to 1.6ms
2022-10-29 16:15:58 +02:00
Luke 6b8cfa990f fix(web/menu): fix vertical icon alignment 2022-10-29 16:00:35 +02:00
Luke 9cc7b9270e refactor(web/menu)!: pass scrollIndex or checked in the same value
If the button is a scroll button then `isScroll` is passed into args, if a button is a checkbox then `isCheck` is passed into args.

Requires `args` to always be of type `table`
2022-10-29 15:55:08 +02:00
Luke c227282ce0 refactor(web/menu): update checkbox styling 2022-10-29 15:55:08 +02:00
Luke a8fc5caaae fix(web): set color-scheme to normal
fixes an issue with a black screen in game
2022-10-27 23:24:38 +02:00
Luke a1d2607286 chore(web): update react and chakra versions
hopefully nothing broke that I didn't notice prayge
2022-10-27 16:44:47 +02:00
Luke 8ad04de0bc refactor(web/input): move field components into fields folder 2022-10-27 14:22:15 +02:00
Luke d4dc68f21e fix(web/input): remove unused isReadOnly property 2022-10-27 13:46:45 +02:00
Luke a6a0e4905f feat(web/input): description tooltip on fields 2022-10-27 13:45:27 +02:00
Luke 1127108fcd feat(web/menu): add description support on list items 2022-10-27 10:09:48 +02:00
Luke b354e0836c chore(web): move skill check into dev draw tools 2022-10-27 09:27:54 +02:00
LukeandDokaDoka e40331009b fix(web/skillcheck): use proper skill check calculations
Changed the areaSize to use degrees rather than the length of the arch which was causing issues

Co-authored-by: DokaDoka <31368547+DokaDoka@users.noreply.github.com>
2022-10-20 13:31:30 +02:00
Luke 3fcb9941f7 refactor(web/skillcheck): remove unused code and comments 2022-10-18 20:03:00 +02:00
Luke 6264bbcbc9 refactor(skillcheck): move array handling into ui 2022-10-18 20:03:00 +02:00
Luke 61092d7c3c refactor(web/skillcheck): move visibility into it's own state 2022-10-18 20:03:00 +02:00
Luke 5c4853798e feat(package): skillcheck typings 2022-10-18 20:03:00 +02:00
Luke d4b331c104 style(web/skillcheck): update appearance 2022-10-18 20:03:00 +02:00
Luke 4a2866613e feat(client/skillcheck): skillcheck array chaining 2022-10-18 20:03:00 +02:00
Luke ed8e804c09 feat(web/skillcheck): add support for custom game difficulty 2022-10-18 20:03:00 +02:00
Luke a358f1ccad tweak(web/skillcheck): adjust game difficulty
Don't spawn the skillcheck zone in the 1/3rd of the circle and adjust hard difficulty
2022-10-18 20:03:00 +02:00
Luke e4b3e0186d feat(client/skillcheck): winning/losing promise resolving 2022-10-18 20:03:00 +02:00
Luke 66c16b5843 feat(web): skillcheck minigame 2022-10-18 20:03:00 +02:00
Luke 39f7b6d78a fix(web/dialog): set slider value to min if default is not defined 2022-10-05 16:16:39 +02:00
Luke 6a8eb35a0a feat(client/interface): close functions for input and alert dialogs 2022-09-29 11:39:30 +02:00
Luke 158ec03a2a chore(package): add readme 2022-09-18 12:37:03 +02:00
Luke 230948862f ci(release): fix incorrect path name 2022-09-18 12:25:00 +02:00