Commit graph

129 commits

Author SHA1 Message Date
Beef
44652c4002 [Plugins] Rework and refactor 2023-01-30 00:40:56 +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
bff883ec30 [Storage] Remove TODO for typing 2023-01-17 08:02:50 +00:00
Beef
19359529e9 [Utils > unfreeze] Add 2023-01-17 08:02:27 +00:00
Beef
a9cc702956 [Metro] Hoist Discord's constants 2023-01-17 08:01:53 +00:00
Jack
da83d4756a [Settings > General] Accept discord server invite in-app (#4)
* [Settings > General] Make Discord Server button accept invite in-app

* [Settings > General] My changes

Co-authored-by: Beef <beefers@riseup.net>
2023-01-17 07:36:31 +00:00
redstonekasi
71f687e345 [Types] Type MMKVManager 2023-01-17 00:07:11 +00:00
Jack Matthews
3c95bb1024 [Metro > Common] Switch clipboard to @react-native-clipboard/clipboard
This library has added functionality, and the included clipboard is deprecated.
2023-01-17 00:07:03 +00:00
Beef
818573a228 [Storage] Move to MMKVManager 2023-01-16 23:08:09 +00:00
Beef
af936940a0 [UI > PluginCard] Fix crash with icon 2023-01-16 08:11:46 +00:00
Beef
66e84ecd8d [TS] Don't use specific PlatformConstants import 2023-01-14 16:24:14 +00:00
Beef
6764b07727 [UI > Subpage] Fix Tabs V2 crash 2023-01-14 16:05:37 +00:00
Beef
82e41a5c27 [TS] Properly type RN.Platform.constants 2023-01-14 16:05:08 +00:00
Beef
5560a136e6 [Meta] Fix dependency resolution issues 2023-01-14 16:04:24 +00:00
Beef
dee5ed0172 [UI] Overall cleanup and fixes 2023-01-14 02:41:28 +00:00
Beef
a8b5beff6e [Cleanup] Several small cleanups 2023-01-14 02:39:10 +00:00
Beef
985115cd9b [Meta] Clean and use Discord's dep versions 2023-01-14 02:35:30 +00:00
Beef
8dd1423440 [UI > PluginCard] Revert using state variables 2023-01-11 22:56:57 +00:00
Jack Matthews
8a0f384c76 [Settings > General] Fix conditional inclusion of SDK info 2023-01-11 08:24:47 +00:00
Beef
2c013e5d63 [Settings > General] Tidy, change icons 2023-01-11 07:49:24 +00:00
Jack Matthews
5a0506ea4b [Settings > General] Switch brand info icon to higher quality icon 2023-01-11 07:49:24 +00:00
Jack Matthews
d0020c5561 [Settings > General] Expose codename in platform info 2023-01-11 07:49:24 +00:00
Jack Matthews
8b480b92e2 [Settings > General] Expose information about the device 2023-01-11 07:49:24 +00:00
Beef
0ee50404a9
[Hotfix] Fix iOS crash with RDT setting 2023-01-10 23:44:39 +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
a46c9c8828 [Storage] Proper persist implementation 2023-01-10 08:05:03 +00:00
Jack
564a427971
[Settings > General] Expose Discord's build number (#1) 2023-01-09 23:20:27 +00:00
Beef
0abff6f421 [TS] Forgot to save 2023-01-08 23:27:10 +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
488cc76dda [Metro > Filters] Add findByStoreName 2023-01-08 23:22:10 +00:00
Beef
4ccd758f4a [Metro > Common] Add Flux to common modules 2023-01-08 23:21:44 +00:00
Beef
a462b8e81e [UI > Settings] Fix removing billing settings and potential memory leak 2023-01-08 22:33:41 +00:00
Beef
65d57a0f69 [UI] The great divide 2023-01-07 23:33:52 +00:00
Beef
e51ae60aef [Hotfix] Check if plugin is enabled when removing 2023-01-07 23:21:29 +00:00
Beef
0aea93ab52 [UI > PluginSettings] Fix non-uniform class names 2023-01-07 23:18:30 +00:00
Beef
de3d422754 [Assets] Move to use Indexable type 2023-01-07 23:06:36 +00:00
Beef
4104d637f1 [Plugins] Proper persistence! 2023-01-07 23:05:14 +00:00
Beef
6de4183647 [Metro] Remove duplicated code 2023-01-07 23:04:35 +00:00
Beef
aabb478f9c [Settings > General] Fix Hermes icon 2023-01-07 17:34:50 +00:00
Beef
f02b1d842e [Settings] Fix navigation being invalidated 2023-01-07 17:07:45 +00:00
Beef
70a60a5b33 [Plugins] Finish plugin settings 2023-01-07 03:13:28 +00:00
Beef
715e6f9bc4 [Cleanup] Small tidying 2023-01-07 03:13:16 +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