Commit graph

52 commits

Author SHA1 Message Date
Beef
b271240f76 [TS] Completely remove Indexable from Vendetta 2023-04-15 03:04:48 +01:00
Beef
32b3a0295c [UI] Overall overhaul 2023-04-15 02:57:03 +01:00
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
Beef
a6cb2d0be3 [UI > (Plugin/Theme)Card] Action sheet upgrades 2023-04-06 00:51:53 +01:00
Beef
cfdee54d8e [TS] Fix alerts API types 2023-04-06 00:09:30 +01:00
Beef
aff1c83e94 [Global] Tidy usage of native modules 2023-04-05 20:40:17 +01:00
Beef
c8f54c1b0c [Plugins] Delete plugin data on removal 2023-04-04 19:57:49 +01:00
Beef
3082c840c8 [???] And just like that, it's gone.
This reverts commit 748640af56.
2023-04-01 23:59:58 +01:00
Beef
21fc6e86a8 [Bugfix] Make themes refetch correctly 2023-04-01 16:21:41 +01:00
Beef
748640af56 [???] Whatever may this do? 2023-04-01 11:49:23 +01:00
Jack
ef702fb5ca [UI > Card] Move most actions into overflow action sheet (#43)
* [Plugin/ThemeCard] Move most actions into overflow action sheet

* [UI > Card] Move overflow menu, add icon to header

---------

Co-authored-by: Beef <beefers@riseup.net>
2023-03-23 23:10:21 +00:00
Jack
13cf5e6872
[Utils] Remove copyText (#39)
[Cleanup] Fix imports
2023-03-20 20:11:27 +00:00
Beef
e1e8012e60 [UI > ThemeCard] Allow manually refetching theme 2023-03-19 18:52:17 +00:00
Beef
85a83e4873
[Themes] Implement (#34)
* [Themes] Initial work

* [Themes] Read from __vendetta_themes and early UI (#36)

* [Themes] Read from `__vendetta_themes`

* [Themes] Save as JSON and native theming

* [Themes] Basic UI

* [Themes] Merge processed theme data

* [Themes] Import ReactNative from `@lib/preinit`, oraganize imports

* [Themes] Some minor cleanup

* [Themes] UI overhaul

* [Themes] Minor adjustments

* [Themes] Implement updates, make UI reactive-ish

* [Themes] Move to new format

* [Themes > UI] Last-minute ThemeCard changes

* [Themes] Properly support AMOLED

---------

Co-authored-by: Amsyar Rasyiq <82711525+amsyarasyiq@users.noreply.github.com>
2023-03-17 21:58:37 +00:00
Beef
7d36903b2c [Global] Code cleanup pass 2023-02-26 22:56:36 +00:00
Jack
9fb99ced74
[UI] Alerts API (#21)
* [UI] Initial Alerts API

* [UI > Alerts] showCustomAlert and showInputAlert

* [Constants] Add HTTP_REGEX

* [UI > Plugins] Use InputAlert for installing plugins

* [UI > Plugins/PluginCard] Pass plugin index to PluginCard to add top margin

* [UI > Alerts] Fix indentation
2023-02-26 21:26:01 +00:00
Beef
c3f7d60d85 [UI] Implement and use ErrorBoundary 2023-02-26 02:20:01 +00:00
Beef
d6a8dd6710 [UI] Move color variables 2023-02-21 18:15:50 +00:00
Beef
3f3bfcb78c [UI] Export and use color variables 2023-02-20 22:42:11 +00:00
Beef
77dd4503b7 [Plugins] Properly handle errors in UI 2023-02-20 18:43:50 +00:00
Beef
46487d2aee [UI > PluginCard] Some needed fixes 2023-02-16 02:16:51 +00:00
Beef
97176f9d3f [Hotfix] Hopefully get Vendetta working 2023-02-13 23:44:32 +00:00
Beef
a97293673d [UI] Move to Discord's navigation stack 2023-02-04 22:37:28 +00:00
Beef
0ba9ee600c [Global] Major refactors, allow unloading! 2023-02-04 02:30:46 +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
Beef
af936940a0 [UI > PluginCard] Fix crash with icon 2023-01-16 08:11:46 +00:00
Beef
6764b07727 [UI > Subpage] Fix Tabs V2 crash 2023-01-14 16:05:37 +00:00
Beef
dee5ed0172 [UI] Overall cleanup and fixes 2023-01-14 02:41:28 +00:00
Beef
8dd1423440 [UI > PluginCard] Revert using state variables 2023-01-11 22:56:57 +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
304757d374 [Settings] Overhaul 2023-01-10 08:05:56 +00:00
Beef
65d57a0f69 [UI] The great divide 2023-01-07 23:33:52 +00:00
Beef
0aea93ab52 [UI > PluginSettings] Fix non-uniform class names 2023-01-07 23:18:30 +00:00
Beef
4104d637f1 [Plugins] Proper persistence! 2023-01-07 23:05:14 +00:00
Beef
70a60a5b33 [Plugins] Finish plugin settings 2023-01-07 03:13:28 +00:00
Beef
0fe5d30bbc [Plugins] Basic implementation of plugin settings 2023-01-05 23:07:58 +00:00
Beef
62933bc5ba [Plugins] Move to support polymanifest 2023-01-04 22:39:28 +00:00
Beef
57df878f65 [Plugins] Minor but necessary fixes 2023-01-04 08:01:56 +00:00
Beef
5c4026685e [Plugins] Implement proper execution 2023-01-03 08:05:16 +00:00
Beef
7465e42354 [Plugin] Basic, non-functional implementation 2023-01-03 00:18:19 +00:00
Beef
d0f4e87475 [Styles] Switch to createThemedStylesheet 2023-01-03 00:17:58 +00:00
Beef
fee7f345fa [Shims] Properly shim React 2023-01-01 22:05:53 +00:00
Beef
7610a97b78 [Cleanup] Lots of tidying, fill out API object 2022-10-28 18:50:40 +01:00
Beef
c98b2c7e25 [Settings] Seperate pages and components 2022-10-27 18:16:46 +01:00
Beef
91be38564d [UI > Settings] Completely overhaul 2022-10-23 01:39:02 +01:00
Beef
0ec19aaf5c [UI > AssetBrowser] Improve search, add name copying 2022-10-23 01:37:49 +01:00
Beef
111720806c [UI > AssetBrowser] Add 2022-10-23 00:38:04 +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