Commit Graph

702 Commits

Author SHA1 Message Date
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
f81ad352d6 Update issue templates 2022-12-16 10:26:28 +01:00
Luke
9e3cc61c02 Update issue templates 2022-12-16 10:25:07 +01:00
Luke
abff60d4ed fix(web): fix values persisting across input dialogs opened quickly 2022-12-16 09:40:28 +01:00
Scully
41b0850764 feat(web/notifications): add variant support to default notifications (#175)
* Add variant support

* Remove
2022-12-16 00:56:45 +01:00
david
49bb2a00a1 feat(web): notify and context markdown wrapper (#174)
Co-authored-by: davidxd33 <dponce@gmail.com>
2022-12-15 23:43:14 +01:00
Linden
ccad59fcf6 fix(server/logger): validate response on failed http request
One person is receiving a CURL error rather than a response from
datadog, leading to a nil index.
We'll also use the newly supported "warn" function.
2022-12-15 11:24:08 +11:00
Jag
34022ce81e fix(web/menu): combine initial select and first render checks (#172)
* fix(web/menu): Combine initial select and first render

* Combining these checks should fix an issue of having to toggle a checkbox multiple times before it is recognized as being toggled

* Change firstRenderRef current value before first menu movement

* Too many async on change functions are happening let's handle this once the user decides to interact with the menu

* fix(web/menu): remove first render ref check for onSelected

Co-authored-by: Luke <sabolukas03@gmail.com>
2022-12-14 18:59:49 +01:00
iSentrie
944ca2eeee chore(locales): update lt.json (#173) 2022-12-14 16:12:07 +01:00
DokaDoka
61a940a188 refactor(client/zones): redo triangle algorithm 2022-12-13 14:29:23 +11:00
Manifest Bumper
86310d01b8 chore: bump manifest version to v2.18.0 2022-12-12 21:45:19 +00:00
Linden
b50c0b7df8 fix(client/context): reset focus
Should resolve #170 but ceebs testing
2022-12-13 08:37:56 +11:00
Luke
da9b55fa84 refactor(package/callbacks): improve typings 2022-12-13 08:26:43 +11:00
Linden
8abc416dad feat(package): TS callback events 2022-12-13 08:26:43 +11:00
Linden
124a5f15ba refactor(imports/callback): response varargs
Trying to have scrt compatible responses gets weird when using
msgpack.
2022-12-13 08:26:43 +11:00
DokaDoka
c141d011d1 tweak(resource/zoneCreator): specify vec2 2022-12-11 23:46:55 +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
Linden
d9511231b1 refactor(client/progress): move controls outside of function 2022-12-06 13:33:04 +11:00
Linden
ca38dd61ca fix(resource): set cache.game
Property was only set for imported modules.
2022-12-06 13:30:24 +11:00
ItsANoBrainer
a6f47cfe59 feat(web): context and list menu progress bars (#166)
* Initial Commit

Adds support for progress bars to items in both context and and list menus.

* Default Color Scheme & Description Weight

Added default color scheming, and made the description for context menues a lighter font weight for separating the title vs description better.

* iconColor to Menu & Small Syntax Changes

* Update Item.tsx

* fix(web/context): syntax error

also reformat with prettier

* chore(web/menu): reformat with prettier

Co-authored-by: Luke <sabolukas03@gmail.com>
2022-12-04 10:33:25 +01:00
Manifest Bumper
6fb988245a chore: bump manifest version to v2.17.0 2022-12-02 21:29:57 +00:00
Scully
231d1c3c77 feat: improved RedM support (#162)
* Improvements + remove redm keybind system as it's pointless
2022-11-26 13:05:55 +11:00
Linden
ed7c04ac9c refactor(client/raycast): change los flags 2022-11-26 02:02:02 +11:00
Linden
f96cb13ff4 refactor(client/addKeybind): save control hash 2022-11-24 17:31:03 +11:00
Linden
ba635b91e7 fix(client/addKeybind): get control button when indexing currentKey
Changing the key binding for a command invalidates the previous result from
GetControlInstructionalButton. Use an index metamethod for backwards
compatibility and add the getCurrentKey method.
2022-11-24 17:16:57 +11:00
Linden
289fa0ac69 chore(.gitignore): merge files 2022-11-24 17:02:03 +11:00
Demian Vonk
b181c63ef7 chore(locales/nl): translation (#157) 2022-11-23 21:53:53 +11:00
Linden
3d90d91552 Merge pull request #160 from D4isDAVID/update-locales
feat(locales): update Russian & add Hebrew
2022-11-23 21:53:22 +11:00
David Malchin
e620df3e93 feat(locales): add hebrew 2022-11-22 08:50:11 +02:00
David Malchin
e1e7b0a553 fix(locales/ru): cancel string 2022-11-22 08:48:57 +02:00
Linden
00c2086072 refactor(streaming): convert to modules
Import methods rather than call via exports.
2022-11-21 21:39:05 +11:00
Linden
6825103dd5 fix(resource): don't export internally loaded modules
i.e. exports.ox_lib:callback is invalid
2022-11-21 21:39:05 +11:00
Linden
d2799075ad fix: types and nil-checks 2022-11-21 21:39:05 +11:00
Fores
c88c847b18 chore(locales/sv): swedish locales (#155) 2022-11-21 21:31:33 +11:00
Manifest Bumper
ed20d4b780 chore: bump manifest version to v2.16.0 2022-11-19 11:16:55 +00: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
Linden
ce5697f3b2 feat(zones): add basic zone support to the server
Quick and dirty with many features stripped (onEnter/onExit/inside).
2022-11-16 23:07:53 +11:00
Luke
39668aa26a fix(web/menu): fix button tooltip not displaying on side scroll button 2022-11-12 13:58:34 +01:00
Linden
9b7eef2880 fix(client/zones): convert vector4 to vector3
Sometimes people send the incorrect types, and it's apparently on us (???)
to allow them to do the wrong thing and catch their mistakes for them.
2022-11-09 16:04:03 +11:00
Alphatule
c6b0c4cb39 chore(fxmanifest): support rdr3 (#152) 2022-11-09 08:26:09 +11:00