Commit Graph

703 Commits

Author SHA1 Message Date
Luke
59a495a541 refactor(web/input): improve typings 2023-02-14 11:17:39 +01:00
Luke
7bb2eb2ea7 refactor(web/input): separate date and time fields 2023-02-14 10:54:53 +01:00
Luke
14341a0343 chore(web): remove unused code 2023-02-13 21:24:33 +01:00
Luke
f166c1675e feat(web/skillcheck): random skill check key from inputs table 2023-02-12 19:26:15 +01:00
Jorn
7c2e894b67 chore(web): renamed web to ox_lib and removed unused packages (#221) 2023-02-12 12:23:28 +01:00
Luke
c9ac415f12 feat(web): primary colour and shade convars 2023-02-11 14:40:58 +01:00
Luke
abd63ba2e4 chore(web): update font awesome deps 2023-02-11 13:55:54 +01:00
Luke
d0ffed8592 refactor(web/radial): move center icon into absolute div
fixes annoying issues when trying to rotate the icon
2023-02-11 13:49:10 +01:00
Luke
71885f5831 refactor(web/radial): disable nui focus when closing with x button 2023-02-10 18:17:30 +01:00
masonschafercodes
7acad823b8 Revert "feat(web/context): mouse enter and mouse leave events (#218)"
This reverts commit 7a22da68e6.
2023-02-10 18:11:18 +01:00
Luke
c9c90efaf8 Revert "refactor(client/context): rename lastHoveredContextItem variable"
This reverts commit 61db40c07d.
2023-02-10 18:11:06 +01:00
Luke
407cfd8eb2 refactor(web/radial): radial menu back on rmb 2023-02-10 18:10:43 +01:00
Luke
ec62398e55 Revert "refactor(web/menu): radial menu onHover"
This reverts commit f20e3a288f.
2023-02-10 18:09:26 +01:00
Luke
f20e3a288f refactor(web/menu): radial menu onHover 2023-02-08 10:17:44 +01:00
Luke
61db40c07d refactor(client/context): rename lastHoveredContextItem variable 2023-02-08 10:06:02 +01:00
masonschafercodes
7a22da68e6 feat(web/context): mouse enter and mouse leave events (#218)
* feat(web/context): mouse enter and mouse leave events

* chore(web/context): condense into one function for onHover

* feat(resource/context): cache last hovered option
2023-02-08 10:05:30 +01:00
Linden
6fe8f5257f refactor(client/radial): use lib.addKeybind and tweak exports
Merge lib.hideRadial with closeRadial, trigger onReleased.
Trigger radial submenu after onSelect.
Keep showRadial as a local method.
2023-02-08 00:50:05 +11:00
Linden
62d441ddb1 refactor(fxmanifest): load addKeybind 2023-02-08 00:44:42 +11:00
Linden
560b19c34a refactor(client/radial): clear items on resource stop 2023-02-08 00:26:08 +11:00
Linden
a30c8c1384 refactor(client/radial): minor tweaks and formatting
Increment menuSize during lib.addRadialItem (micro-optimisation).
Don't open radial menu if no items are registered.
2023-02-08 00:19:51 +11:00
Luke
2e74c2d8c9 refactor(web/menu): rename radial menu item key to id 2023-02-07 13:51:58 +01:00
Luke
de7cf1ccef refactor(web/menu): improve radial menu transitions 2023-02-07 13:51:42 +01:00
Luke
fbd9832c9c refactor(web/menu): make context menu metadata progress optional 2023-02-07 12:44:15 +01:00
Marcel
4a9137ad04 feat(web/progress): progress bar in context menu's metadata (#217)
* feature: progress bar in context menu's metadata

* undefined check `metadata.progress`
2023-02-06 15:42:19 +01:00
Luke
be99e16e34 refactor(web/menu): radial sub menu chaining
still some quirks to figure out but it's working well
2023-02-04 22:13:22 +01:00
Luke
d50471052b refactor(web/transitions): adjust scale fade transition timings 2023-02-04 21:09:57 +01:00
Luke
86318d5fe4 refactor(client/radial): ditch canInteract 2023-02-03 13:24:55 +01:00
Luke
a44142333e refactor(web/menu): radial menu item removing and refreshing 2023-02-02 12:23:48 +01:00
masonschafercodes
8c560b5f87 chore(web): migrate to vite v4 (#214)
Updated vite to v4 and update the react-plugin to support the v4 changes. Made sure dev port was stays consistent and manually set it to :3000
2023-02-02 10:33:36 +01:00
masonschafercodes
db4a75dfbc feat(web/alert): new options for alert dialog (#213) 2023-02-01 16:19:08 +01:00
masonschafercodes
8a7e0f89d2 feat(web/input): time input field (#206)
* feat(web/input): time input
2023-01-31 18:41:42 +01:00
Luke
ada2a35c0b refactor(client/interface): initial lua radial menu implementation
linden pls don't kill me
2023-01-31 14:07:52 +01:00
Luke
1b2e287153 refactor(web/menu): always draw full radial menu circle 2023-01-30 19:38:20 +01:00
Luke
054dc2688c refactor(web/menu): remove unused code 2023-01-30 19:23:14 +01:00
Luke
3fb66f30d4 refactor(web/menu): radial menu item onClick 2023-01-30 19:22:45 +01:00
Luke
0c6661714f feat(web): alert dialog and text ui github flavoured markdown support
apparently doka wants to see the tables he makes to feed his never ending addiction of tables
2023-01-29 13:29:06 +01:00
Luke
26a1ecb93d refactor(web/menu): radial menu visibility handling 2023-01-29 13:06:57 +01:00
Luke
ea74e5705f refactor(web/menu): display bg circle when there's less than 3 item 2023-01-28 18:03:51 +01:00
Luke
f5617abbb6 refactor(web/menu): rename planet menu to radial menu 2023-01-27 22:03:00 +01:00
Luke
a8abefa2d0 refactor(web/menu): reduce center circle size 2023-01-27 21:59:03 +01:00
Luke
c7ec1b7307 refactor(web/menu): remove unused radial menu styling 2023-01-27 21:58:04 +01:00
Linden
f9a6d8ca8b refactor(client/progress): allow all progress bars to be cancelled
canCancel should really only apply to user-input.
2023-01-27 21:42:13 +11:00
Luke
5e4d36d1ab refactor(web/menu): radial menu center button 2023-01-25 21:47:04 +01:00
Linden
74628a5167 refactor: remove deprecated code
getCore and player modules were deprecated long ago and only used once.
2023-01-25 15:39:35 +11:00
DokaDoka
b09ca41001 refactor(web/menu): fix alignment
I am web dev now
2023-01-23 00:33:39 +11:00
Luke
819bb60bd3 refactor(web/menu): attempt alignment
doka pls fix
2023-01-22 14:00:44 +01:00
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