Commit Graph
46 Commits
Author SHA1 Message Date
Luke 08d2234484 feat(web/context): Allow manually displaying an arrow 2022-04-19 15:08:02 +02:00
Luke f74a16d2c2 fix(web/input): Reset input data state on open
When putting data in the fields, after closing the dialog and opening it again the data wouldn't be visible but if you were to press confirm again then it would send the previous data
2022-04-19 10:44:17 +02:00
Luke 96d1f74f14 feat(client/web): Set clipboard export 2022-04-17 18:22:19 +02:00
Luke e00ef6cbf5 refactor(web/progress): Rewrite progressbar component
Using chakra's built in progress component was causing weird container stretching when the progress bar would become active
2022-04-16 13:04:22 +02:00
Luke e46fa203ca fix(web): Ensure font awesome icons have fixed width 2022-04-16 12:08:55 +02:00
Luke 66f9460729 feat(client/notifications): Add default chakra notification functions 2022-04-16 12:03:50 +02:00
Luke caa0b8284f fix(client/context): Ensure is ordered correctly
Previously the menu items would be randomly ordered, now they are the order you wrote them to be in.
2022-04-16 11:48:24 +02:00
Luke 66694c4ce3 fix(web/context): Properly align text
When there was no description the key for the text wasn't properly centered vertically
2022-04-15 11:41:06 +02:00
Luke 282d81500c fix(client/context): Throw error when context id doesn't exist
Opening a context menu before registering it would previously result in the script completely erroring out and having stuck nui focus
2022-04-15 11:27:08 +02:00
Luke c21054280c fix(client/context): Allow using events to open context menus
There was an issue where if you wanted to open a second context menu using args from the first context menu's item with events, the nui focus would get stuck beacuse it would get set by the event.
2022-04-15 11:26:11 +02:00
Luke 8ef1b876e1 fix(web/context): Don't close menu when clicking item without events 2022-04-15 11:01:17 +02:00
Luke 50b1ddd167 feat(web/context): Get open context menu function 2022-04-15 10:22:31 +02:00
Luke 7996e913dc fix(nui): Update input dialog font 2022-04-12 14:38:01 +02:00
Luke 128fb86954 fix(client): Add missing NUI callbacks 2022-04-11 16:14:32 +02:00
Luke ed75b683d5 feat(client): Text UI functions 2022-04-11 15:59:18 +02:00
Luke ff71a7d033 feat(client): Input dialog function 2022-04-11 15:26:10 +02:00
Luke 3d3a7075d2 fix(nui): Make description optional 2022-04-11 14:51:28 +02:00
Luke 8d375569ab fix(nui): Fix incorrect string typing and remove tsignore 2022-04-11 14:41:07 +02:00
Luke 285f30f8fe feat(nui): TextUI icon support 2022-04-01 22:04:14 +02:00
Luke 993b06e880 refactor(nui): Better organize components 2022-04-01 21:41:53 +02:00
Luke c31fed2c41 chore(nui): Get rid of linting warnings 2022-04-01 21:23:45 +02:00
Luke d6b21a0481 feat(nui): Context menu Lua callbacks 2022-04-01 21:22:14 +02:00
Luke 8156a123f7 fix(nui): Set frame visibility to true by default 2022-04-01 20:25:19 +02:00
Luke a7dd713b6b feat(nui): Context menu sub menus 2022-03-28 16:49:07 +02:00
Luke edce4b4a82 fix(nui): Don't display metadata popover if there is no metadata 2022-03-27 19:10:44 +02:00
Luke ac832d4840 refactor(nui): Move context items into separate files 2022-03-27 18:17:26 +02:00
Luke ccf00a6a9e feat(nui): Add markdown support to text ui
Also changed the font to be a monospaced font, avoids weird alignment issues
2022-03-26 11:02:38 +01:00
Luke a3874965bc feat(nui): Add scale fade transition to context menu 2022-03-26 09:59:26 +01:00
Luke 331fb890c9 feat(nui): Display an arrow if an item goes into a sub menu 2022-03-26 09:55:05 +01:00
Luke f346d2ad99 refactor(nui): Context menu style adjustments 2022-03-25 23:56:50 +01:00
Luke e3ef55b999 feat(nui): Metadata popover 2022-03-24 20:00:09 +01:00
Luke 637d6d8e99 feat(nui): Context menu metadata mapping 2022-03-23 17:52:30 +01:00
Luke 87df1afbe2 feat(nui): WIP Context menu 2022-03-22 21:41:56 +01:00
Luke d716cc7326 feat(nui): Use pnpm instead of Yarn 2022-03-20 22:11:45 +01:00
Luke 3148ef6b1f refactor(nui): Styling and sizing changes 2022-03-20 19:58:52 +01:00
Luke 5a556f3764 refactor(nui): Custom notification layout 2022-03-20 17:38:38 +01:00
Luke 86431b6bef feat(nui): Icon support for custom notifications 2022-03-20 11:14:46 +01:00
Luke 97be95fe35 refactor(nui): Style adjustments 2022-03-19 12:57:49 +01:00
Luke 65056114ba feat(nui): Input dialog 2022-03-19 12:19:01 +01:00
Luke c9ae4a24fa feat(nui): Allow changing position of circle progressbar 2022-03-19 10:32:10 +01:00
Luke a6fe8ae5af feat(nui): Text UI 2022-03-18 16:59:18 +01:00
Luke be1048271a feat(nui): Progress bar cancel 2022-03-15 21:08:08 +01:00
Luke ae073881c3 feat(nui): Progressbar 2022-03-15 20:35:02 +01:00
Luke 44491b92df feat(nui): Circle progressbar 2022-03-15 15:42:54 +01:00
Luke 28ea678b92 feat(nui): Notifications 2022-03-14 15:53:59 +01:00
Luke 5314b59e8b feat(nui): Initial NUI files 2022-03-13 22:30:57 +01:00