Luke
fe1820e07f
ci(release): publish new npm package version on release
2022-09-15 14:01:18 +02:00
Luke
cc80d53dfd
fix(package): include tsconfig files in server and shared
2022-09-15 13:29:21 +02:00
Luke
f573ba259c
fix(package): remember to actually save the file
2022-09-15 10:36:50 +02:00
Luke
3dcad0fc98
feat(web): version wreapper
2022-09-15 10:34:52 +02:00
Luke
f298bb6eb9
feat(package): vehicle properties wrapper
2022-09-15 10:24:04 +02:00
Luke
5054030948
feat(package): streaming wrapper
2022-09-15 00:22:25 +02:00
Luke
8cbef2580c
feat(package): locale wrapper
2022-09-15 00:10:04 +02:00
Luke
1373ff21d4
feat(package): acl wrapper
2022-09-14 23:46:00 +02:00
Luke
4f0cc4c7c5
feat(package): interface definitions
2022-09-14 13:50:32 +02:00
Luke
5d4eff8cd3
fix(web/menu): fix misalignment on the list buttons in the menu
2022-09-09 13:04:31 +02:00
Luke
b638e435ea
feat(web/input): allow defining icon for number row field
2022-09-08 12:00:41 +02:00
Luke
473a0f480d
feat(web/context): allow hiding arrow by setting it to false
2022-09-08 11:11:27 +02:00
Luke
336a16baed
feat(web): add ability to not be able to close menu
2022-09-08 10:26:35 +02:00
Luke
adf0994b3f
feat(web): ability to not be able to close the context menu
2022-09-08 10:05:44 +02:00
Luke
d494b70506
feat(interface/menu): improve error handling for invalid option override
2022-08-30 21:26:23 +02:00
Luke
4a5251b60b
chore(web): add prettier and format
2022-08-27 15:58:36 +02:00
Luke
cc76d23419
chore(web): fix incorrect notification props spelling
2022-08-27 15:55:05 +02:00
Luke
52ce1c53ae
feat(web): support min and max value for number input type
2022-08-27 15:54:43 +02:00
Luke
0bc185ef38
feat(web): developer drawer
...
Move all debug functions into a single developer drawer,
Not the best implementation as there is focus fighting going on between some elements and the drawer but will do for now without state management
2022-08-27 15:40:41 +02:00
Luke
9bd0b52749
refactor(web): prettier format for input dialog
2022-08-26 18:50:08 +02:00
Luke
ae25d109fc
fix(web): move input dialog enter handler
...
it was causing issues where when confirming a selection in the list menu it would instantly close the input dialog
2022-08-26 18:49:49 +02:00
Luke
8defbaf78f
Revert "chore(manifest): update version"
...
This reverts commit d63ee24fdb .
2022-08-22 00:39:31 +02:00
Luke
d63ee24fdb
chore(manifest): update version
2022-08-22 00:28:24 +02:00
Luke
6cf29ac0eb
fix(client/interface): cache alert promise
...
Same as input
2022-08-17 23:47:31 +02:00
Luke
82d052a1bb
fix(client/interface): cache input promise
...
Caching the promise into a variable allows us to set input to nil and resolve the promise after, which fixes an issue with opening 2 input dialogs back to back
2022-08-17 23:42:36 +02:00
Luke
0e7bd1a177
feat(web): onSelect function for options
2022-08-17 21:41:05 +02:00
Luke
953673690c
fix(web): clear nui focus from input before resolving the promise
2022-08-15 14:50:00 +02:00
Luke
c3687d6874
chore(manifest): bump version
2022-08-06 21:12:42 +02:00
Luke
14a04c4b68
fix(web/menu): fix border radius not applying when there is 6 options
2022-08-05 14:00:44 +02:00
Luke
ff81bbb434
chore(client/interface): remove debug command
2022-08-04 15:04:49 +02:00
Luke
4490b4476c
fix(web/menu): offset default index
...
Linden's amazin' index fix
2022-08-04 15:04:49 +02:00
Luke
32a698c043
feat(menu): lib.hideMenu
2022-08-04 15:04:49 +02:00
Luke
cf2c45687a
refactor(menu): split side and vertical scroll change handlers
...
Resolves an issue where changing to the next button while scrolling a horizontal list would not trigger the onChange function for the previous button
2022-08-04 15:04:49 +02:00
Luke
37c10f570b
feat(client/interface): menu close arg on button
2022-08-04 15:04:49 +02:00
Luke
853cec6049
feat(client/interface): allow replacing specific index in menu options
2022-08-04 15:04:49 +02:00
Luke
a4b25bddf0
feat(web/menu): allow passing default index for horizontal lists
2022-08-04 15:04:49 +02:00
Luke
873b531da7
fix(client/interface): fix indexing registered menu options with table
2022-08-04 15:04:49 +02:00
Luke
ee6baafc0c
feat(client/interface): allow separately setting list menu options
2022-08-04 15:04:49 +02:00
Luke
ac7a87cc5b
feat(client/interface): list menu error catching
2022-08-04 15:04:49 +02:00
Luke
dde7daddb7
fix(client/interface): allow reregistering list menus
2022-08-04 15:04:49 +02:00
Luke
33bd3ebc77
feat(web/menu): send args in callback function
2022-08-04 15:04:49 +02:00
Luke
34fe33000f
feat(web/menu): display arrow when menu is scrollable
2022-08-04 15:04:49 +02:00
Luke
dcce65d472
feat(web/menu): reset indexes on next last item
2022-08-04 15:04:49 +02:00
Luke
95201aba1d
fix(web/menu): use same font for tooltip
2022-08-04 15:04:49 +02:00
Luke
2def3ba7b3
fix(web/menu): don't render no label buttons
2022-08-04 15:04:49 +02:00
Luke
fd8b3c9862
fix(web/menu): fix scrolling clipping menu items
2022-08-04 15:04:49 +02:00
Luke
ed3e7ac733
feat(web/menu): include backspace in close keys
2022-08-04 15:04:49 +02:00
Luke
ce0bea3259
fix(web/menu): set selected index to 0 on menu open
2022-08-04 15:04:49 +02:00
Luke
7b147b04fc
feat(web/menu): tooltip description support
2022-08-04 15:04:49 +02:00
Luke
4236dd2bfd
feat(web/menu): exit listener and onClose function
2022-08-04 15:04:49 +02:00
Luke
6ef17e83f5
feat(web/menu): visibility handling
2022-08-04 15:04:49 +02:00
Luke
e97bd98726
fix(web/menu): fix selected value focus getting stuck on another menu
2022-08-04 15:04:49 +02:00
Luke
31d582df9c
fix(web/menu): fix not being able to press enter on first button index
2022-08-04 15:04:49 +02:00
Luke
bde843f803
feat(web/menu): enter callback function
2022-08-04 15:04:49 +02:00
Luke
d48ca25c7b
feat(web/menu): initial list menu Lua api
2022-08-04 15:04:49 +02:00
Luke
aa9b1334f2
fix(web/menu): debounce menu item selected callback
2022-08-04 15:04:49 +02:00
Luke
a2b5ccb354
feat(web/menu): confirm on enter callback
2022-08-04 15:04:49 +02:00
Luke
6d52ecf985
feat(web/menu): fetchnui on item change
2022-08-04 15:04:49 +02:00
Luke
4744df337f
feat(web/menu): add current and max option count into the list button
2022-08-04 15:04:49 +02:00
Luke
fd45418a5d
style(web/menu): change menu header font and weight
2022-08-04 15:04:49 +02:00
Luke
e81a05aa2d
fix(web/menu): set pointer events to none on body div
...
Fixes and issue where you could click the menu to take away focus and make it non interactable
2022-08-04 15:04:49 +02:00
Luke
700fdbc3fe
refactor(web/menu): separate header and body divs
...
This allows for the header to be visible even when scrolling through the menu items
2022-08-04 15:04:49 +02:00
Luke
a43b5eee04
feat(web/menu): list menu icon support
2022-08-04 15:04:49 +02:00
Luke
43ffa86387
refactor(web/menu): improve list menu text alignment
2022-08-04 15:04:49 +02:00
Luke
3f33b690e1
feat(web/menu): array side scrolling
2022-08-04 15:04:49 +02:00
Luke
3b9c8c5534
fix(web/menu): focus on first menu item on load
2022-08-04 15:04:49 +02:00
Luke
196d400c56
feat(web/menu): menu list focus trapping
2022-08-04 15:04:49 +02:00
Luke
98b9e224ef
refactor(web/menu): list menu component split
2022-08-04 15:04:49 +02:00
Luke
933acd2852
refactor(web/menu): improve menu focus handling
2022-08-04 15:04:49 +02:00
Luke
303d81c196
feat(web/menu): initial list menu design
...
Highly subject to change
2022-08-04 15:04:49 +02:00
Luke
c76147ecae
feat(web/context): context menu exit button
2022-07-25 21:32:11 +02:00
Luke
26f20adf58
chore(manifest): bump version
2022-07-12 19:35:49 +02:00
Luke
4fc6366801
feat(web/context): allow displaying icons in context menu items
2022-07-07 14:53:36 +02:00
Luke
92023227cd
fix(web/context): allow displaying image without any metadata defined
2022-07-07 14:36:20 +02:00
Luke
77652c8173
fix(web/context): stretch back arrow to height of the title
2022-07-07 14:33:55 +02:00
Luke
6fdbca0cb3
chore(manifest): bump version
2022-07-03 23:32:12 +02:00
Luke
0a1b465f52
Merge remote-tracking branch 'origin/master'
2022-06-30 11:11:32 +02:00
Luke
e34fb2855d
feat(web): vite
2022-06-30 11:10:02 +02:00
Luke
c4617f1f57
fix(web/settings): run the close function when exiting with ESC
...
Apparently no one notices the focus was being trapped if you were to exit with ESC
2022-06-29 15:39:12 +02:00
Luke
a3b8154b3e
feat(web/input): submit on enter press
2022-06-19 15:13:43 +02:00
Luke
5183607279
feat(web/input): number input type
2022-06-19 14:57:03 +02:00
Luke
038d27089c
chore(manifest): bump version
2022-06-17 20:48:07 +02:00
Luke
3034a32955
refactor(dialog/alert): allow defining cancel button
...
Using the same promise type of API that the input dialog is using, if the user closes the dialog via esc or the cancel button the promise will resolve `cancel` otherwise the promise will resolve `confirm`
2022-06-17 20:30:33 +02:00
Luke
4a20a0c3ff
chore(locales): add cancel string
2022-06-17 20:27:38 +02:00
Luke
de03da1204
chore(manifest): version bump
2022-06-16 16:31:23 +02:00
Luke
923a76896b
fix(web/progress): remove cancelled timeout animation
...
This is not a fix, it's a workaround, removes the red animation when cancelling due to it causing the progress bar/circle to be permanently stuck
2022-06-14 19:18:28 +02:00
Luke
835151162f
refactor(web/dialog): use locale for alert confirm button
2022-06-12 12:29:48 +02:00
Luke
7b6cf6682f
feat(web/input): display value when no label is provided for select
2022-06-11 11:59:00 +02:00
Luke
a7e2dc0067
feat(web/context): images in metadata
2022-06-11 11:49:25 +02:00
Luke
186014f95e
feat(web/dialog): alert dialog
2022-06-11 11:33:15 +02:00
Luke
780371f644
feat(interface/context): onExit function
...
Allows defining a function in the menu that must be called onExit which is going to execute every time the user exits the context menu with ESC
2022-06-04 14:42:35 +02:00
Luke
6108016796
feat(interface/context): ability to forcefully hide the context menu
2022-05-30 16:39:02 +02:00
Luke
f6c1871e54
fix(interface/context): set openContextMenu to nil when closing a menu
2022-05-30 16:34:13 +02:00
Luke
d872f5fa5f
fix(interface/context): don't hide menu when there is no event
2022-05-29 15:32:38 +02:00
Luke
df0750759f
fix(web/circleprogress): remove transition
...
Same as the progress bar, it was causing issues with rerendering when triggering fast
2022-05-29 15:26:25 +02:00
Luke
6194b2cc2c
fix(interface/context): increment received option id by one
2022-05-29 15:13:29 +02:00
Luke
d3ab996204
chore(web/dialog): remove leftover print
2022-05-21 20:55:52 +02:00
Luke
9c7d9c44b7
fix(web/progressbar): fix progressbar getting stuck on screen
...
Chakra's ScaleFade transition was causing the progress bar not to rerender properly
2022-05-10 16:39:05 +02:00
Luke
a784726267
feat(web/context): allow custom metadata order
2022-05-08 13:18:09 +02:00
Luke
62d4812f24
feat(web/context): allow manually sorting the options
...
In order to have the options in the same order as defined, you need to not use keys, instead a normal index table and define the title for the option
2022-05-08 13:00:23 +02:00