Commit graph

27 commits

Author SHA1 Message Date
Beef
5344f0017a
[SafeMode] Initial implementation (#61)
* [UI > Components] Add Discord's button

* [SafeMode] Initial work, basic ErrorBoundary patch

* [SafeMode] Custom error boundary (#57)

* [SafeMode] Add mostly complete custom error boundary

* [SafeMode] Use Button from @ui/components in error boundary

* [SafeMode] Wrap the error boundary in our own error boundary

* [SafeMode > ErrorBoundary] Code-style changes

---------

Co-authored-by: Beef <beefers@riseup.net>

* [TS] Add basic type for Discord's button

* [UI] Move Codeblock to components, and use it

* [UI > Settings] Allow disabling the ErrorBoundary in CustomPage

* [UI > Settings] Move the ErrorBoundary triggers to Developer

* [TS] Add Codeblock to types

* [TS] Use ButtonColors in Button type

* [SafeMode > ErrorBoundary] Rework

* [UI] Add HelpMessage to components

* [SafeMode] Proper implementation

* [Global] SafeMode is optional (#59)

* [UI > Developer] Restore the balance

* [SafeMode > ErrorBoundary] Optimise for tablet UI

* [SafeMode] Last-minute fixes

---------

Co-authored-by: Jack <30497388+FieryFlames@users.noreply.github.com>
Co-authored-by: Jack Matthews <jm5112356@gmail.com>
2023-04-13 19:42:14 +01:00
Jack
5148fdb15f
[UI > QuickInstall] Implement (#45)
* [UI > QuickInstall] Init

* [Constants] Update PROXY_PREFIX

* [TS] Type additional constants

* [Style] Move Metro filter imports to top of imports
2023-04-04 01:35:59 +01:00
Beef
3082c840c8 [???] And just like that, it's gone.
This reverts commit 748640af56.
2023-04-01 23:59:58 +01:00
Beef
748640af56 [???] Whatever may this do? 2023-04-01 11:49:23 +01:00
Amsyar Rasyiq
7dc0b1286a
[Init] Implement error dialog for failed mod loading (#37)
* [Main] Implement error dialog for failed mod loading

* [Main] Initialize Vendetta from entry.js
2023-03-15 16:36:12 +00:00
Beef
2201ff3a1d [Bugfix] Fix forced Hindi timestamps 2023-03-07 23:12:41 +00:00
redstonekasi
8354b3806c
[Build] SWC-ify, allow classes and async arrow functions (#24)
* [Build] SWC-ify, allow classes and async arrow functions

* [Build] The SWC-ening is upon us.

* [Build] Tidy

* [Global] Make use of our newfound powers

* [Build] Call bundle.close when done

---------

Co-authored-by: Beef <beefers@riseup.net>
2023-02-26 00:34:16 +00:00
Beef
0ba9ee600c [Global] Major refactors, allow unloading! 2023-02-04 02:30:46 +00:00
redstonekasi
25b90e22d3 [Plugins] Fix plugin loading 2023-01-30 19:08:58 +00:00
redstonekasi
4c9fe8fcaf
[Storage] Rework everything (#10)
* [storage] rework everything

* [storage] expose createProxy

* [storage] add useProxy hook

* [storage] fix settings.ts

* [Storage] Implement wrapSync, fix UI

* [storage] fix storage

* [plugins] re-add plugin loading

* [storage] fix fix storage

* [storage] make wrapSync more magical

* [storage] save deletes

* [ui] hack around plugin removal... again

* [plugins] make plugin storage work

* [storage] expose api

---------

Co-authored-by: Beef <beefers@riseup.net>
2023-01-29 21:05:47 +00:00
Jack
7282d45d39
[Global] Basic commands api implementation (#9)
* [Global] Basic commands api implementation

* [Commands] Return unregister method when registering command

* [Commands] Code cleanup pass

Co-authored-by: Beef <beefers@riseup.net>
2023-01-25 08:28:48 +00:00
Beef
93c4eef678 [Global] Refactors all around 2023-01-10 23:30:46 +00:00
Beef
01a05a8b9d [Storage] Expose settings on window, plugin storages 2023-01-10 22:05:40 +00:00
Beef
a46c9c8828 [Storage] Proper persist implementation 2023-01-10 08:05:03 +00:00
Beef
9d06aab19a [Bugfix] Fix breaking light and AMOLED theme 2023-01-08 23:24:24 +00:00
Beef
ad2c3573ed [API] Cleanup 2023-01-08 23:24:00 +00:00
Beef
4104d637f1 [Plugins] Proper persistence! 2023-01-07 23:05:14 +00:00
Beef
715e6f9bc4 [Cleanup] Small tidying 2023-01-07 03:13:16 +00:00
Beef
48138c5b7c [Init] Assign window object before everything else 2023-01-01 21:10:09 +00:00
Beef
7610a97b78 [Cleanup] Lots of tidying, fill out API object 2022-10-28 18:50:40 +01:00
Beef
88e4f357a4 [Init] Async-ify, for future use 2022-10-25 23:50:18 +01:00
Beef
62b843f9f6 [Assets] Implement 2022-10-22 23:26:06 +01:00
Beef
08865685df [Cleanup] Tidy up last night's rushed commit 2022-10-20 07:58:17 +01:00
Beef
daf0357d60 [Global] Preliminary debug ws implementation 2022-10-19 23:11:44 +01:00
Beef
b4f5bdc996 [Cleanup] Small tidying 2022-10-19 07:58:32 +01:00
Beef
10ccca3e40 [UI] Preliminary UI, ported somewhat from pre-rewrite 2022-10-18 23:59:45 +01:00
Beef
7ec0c3c82d [Global] Initial progress 2022-10-18 23:04:55 +01:00