Commit Graph

64 Commits

Author SHA1 Message Date
Luke
5183607279 feat(web/input): number input type 2022-06-19 14:57:03 +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
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
Sam Shanks
4cd53eeb1b feat(web/circleprogress): add optional label (#33)
* feat(circle progress label)

* refactor(circleprogress): wrap in flex
2022-05-31 19:30:54 +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
JsSusenka
a5026ed8e9 feat(context): prevent event triggering (#34) 2022-05-28 19:15:35 +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
Linden
5f80c55c31 tweak(web/textui): change box style 2022-05-06 15:33:11 +10:00
Luke
48dae99cc0 refactor(web/dialog): Separate fields into individual components 2022-05-03 15:08:28 +02:00
Luke
64a1ad9343 feat(web/dialog): Add option for left icon on input field 2022-05-03 14:36:33 +02:00
ANTOND
6b7d24c71b refactor(web/dialog): Use conventional naming 2022-05-03 01:03:02 +02:00
ANTOND
5c6b08445a fix(web/dialog): Handle multiple password states 2022-05-03 00:19:02 +02:00
ANTOND
1cb407903f feat(web/dialog): Add password option to input 2022-05-02 23:14:27 +02:00
Luke
56f178af79 feat(web/dialog): Add Select input type 2022-05-02 20:18:16 +02:00
Luke
adafbce79f fix(web/dialog): Use locales for buttons 2022-05-02 14:45:06 +02:00
Luke
0259de8dfe feat(web/dialog): Add checkbox type 2022-05-02 13:51:08 +02:00
Luke
40a1c15339 chore(web): Fix eslint warnings 2022-05-01 11:09:25 +02:00
Luke
4db4c79d8a feat(web): Settings modal, locale state provider 2022-04-30 14:49:49 +02:00
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
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
8ef1b876e1 fix(web/context): Don't close menu when clicking item without events 2022-04-15 11:01:17 +02:00
Luke
7996e913dc fix(nui): Update input dialog font 2022-04-12 14:38:01 +02:00
Luke
ed75b683d5 feat(client): Text UI functions 2022-04-11 15:59:18 +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
Linden
e842185382 feat(resource/interface): export notify 2022-04-11 03:52:25 +00: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