Commit graph

153 commits

Author SHA1 Message Date
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
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
388b306e88 [CI] Restrict builds to rewrite branch 2023-03-10 23:44:31 +00:00
Beef
abe307ee57 [Bugfix] Fix AMOLED state on 170.2+ 2023-03-08 20:50:15 +00:00
redstonekasi
c54f9fe426
[Utils] Fix findInTree (#32) 2023-03-08 00:39:11 +00:00
Beef
2201ff3a1d [Bugfix] Fix forced Hindi timestamps 2023-03-07 23:12:41 +00:00
redstonekasi
293c256dc9 [Build] Fix __vendettaVersion 2023-03-07 08:11:34 +00:00
redstonekasi
3531132c38
[Build] Fix ErrorBoundary exporting (#30) 2023-03-07 00:23:16 +00:00
Jack
dc5ad0ca1f
[UI > Summary] Add animation (#29) 2023-03-04 22:33:00 +00:00
Jack
6dff7f7119
[UI] Open invite in modal (#28)
* [Metro > Common] Have url find openDeeplink

* [Constants] Make invite a URL

* [UI > General] Open invite modal
2023-03-04 21:32:30 +00:00
Beef
7d36903b2c [Global] Code cleanup pass 2023-02-26 22:56:36 +00:00
Beef
69c2544b99 [TS] Use correct types for components 2023-02-26 22:24:38 +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
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
6ef8c97b86 [Build] Legal comments! Explode! 2023-02-25 01:29:36 +00:00
Beef
bd7926b423 [UI > Color] What are Discord doing? 2023-02-25 01:28:55 +00:00
redstonekasi
891a06a72b [TS] Add find and findAll types 2023-02-22 07:48:00 +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
7755f97ab2 [Plugins] Update disabled plugins 2023-02-20 18:58:07 +00:00
Beef
605fd3d73f [Plugins] Give plugins their ID on VendettaPluginObject 2023-02-20 18:47:30 +00:00
Beef
77dd4503b7 [Plugins] Properly handle errors in UI 2023-02-20 18:43:50 +00:00
Beef
a039d183b7 [Plugins] Tidy import code 2023-02-19 22:35:53 +00:00
Beef
6e75d64c05 [Plugins] Move plugin-specific logger 2023-02-19 22:29:25 +00:00
Jack Matthews
a13b6e210c [Plugins] Give plugins their own logger 2023-02-17 19:33:04 +00:00
Beef
c9aeefe419 [Plugins] Remove hash-updating TODO, as it is done 2023-02-16 02:17:38 +00:00
Beef
46487d2aee [UI > PluginCard] Some needed fixes 2023-02-16 02:16:51 +00:00
Beef
1071ae9d13 [UI > Plugins] PROPERLY fix plugin install icon 2023-02-15 17:40:15 +00:00
Beef
42d3362b06 [Meta > README] Be more specific 2023-02-15 16:16:55 +00:00
Beef
180d60041e [Meta] Update README 2023-02-15 16:12:58 +00:00
Beef
307cf453f5 [TS] Some cleanup 2023-02-14 18:51:45 +00:00
Beef
1ede4e088e [Metro > Common] Properly type moment 2023-02-14 18:35:48 +00:00
Beef
9080769a0c [Metro > Common] Add moment to common modules 2023-02-14 18:33:42 +00:00
Beef
eb90b0a21d [Metro] Fixups and tidying 2023-02-14 18:28:51 +00:00
Beef
97176f9d3f [Hotfix] Hopefully get Vendetta working 2023-02-13 23:44:32 +00:00
Beef
9989dfbf0d [TS] Type Summary component properly 2023-02-13 20:34:58 +00:00
Beef
67b501b974 [UI > Settings] Use Summary component 2023-02-13 20:20:24 +00:00
Beef
23e00b6237 [UI > Components] Add Summary, reorganise 2023-02-13 20:19:55 +00:00
Beef
371688c805 [Debug > getDebugInfo] Return loader version 2023-02-13 20:14:09 +00:00
Beef
2d6bf75871 [TS] Add missing definitions 2023-02-09 21:48:43 +00:00
redstonekasi
c2ebff3e93 [Plugins] Properly await plugin start in initialization 2023-02-08 21:06:57 +00:00
Jack
fec4c68f70
[UI] iOS UI fixes (#19)
* [UI > Developer] Move React DevTools FormDivider inside conditional inclusion

* [UI > Developer] Add FormDividers to Loader config

* [UI > General] Remove trailing FormDividers for versions and platform info

* [UI > Developer] Remove extraneous FormDivider
2023-02-06 08:34:22 +00:00
redstonekasi
1ae2da84fe [Backends] Create if file does not exist 2023-02-06 08:33:23 +00:00
redstonekasi
1840577fb5
[Global] Loader config and identity (#17)
* [TS] Add definition for DCDFileManager

* [Storage] Introduce backends

* [Settings] Add loader config

* [TS] Update storage definitions

* [TS] Update loader config and identity types

* [Loader] Expose loader config and identity

* [UI] Actually update UI for the new loader config fields
2023-02-06 07:48:55 +00:00
redstonekasi
cfccd5f5b2 [Plugins] Normalize ID in anything that uses them 2023-02-06 00:05:12 +00:00
Beef
6ed08a0ac9 [Plugins] Fix updating, and make it hash-based 2023-02-05 23:30:51 +00:00
redstonekasi
b0df91db7a [TS] Add definition for findByStoreName 2023-02-05 12:45:50 +00:00
Beef
421f7603cf [Plugins] I can be a little silly 2023-02-05 00:10:34 +00:00
Beef
a97293673d [UI] Move to Discord's navigation stack 2023-02-04 22:37:28 +00:00