Commit graph

53 commits

Author SHA1 Message Date
amsyarasyiq
6d2eb7a6bf refactor(metro): overall rewrite 2024-05-20 15:36:33 +08:00
amsyarasyiq
926d875de7 feat(plugins): include plugin hash in sourceURL for caching 2024-05-10 02:18:01 +08:00
pylixonly
a0d1808cbc
feat: Custom fonts support (#28)
* [fonts] Working base

* [ui/fonts] Barebones UI

* [ui/fonts] Make remove-able

* [fonts] Use font name as a unique identifier

* fix(fonts): fetch fonts properly

* fix(fonts): optionally remove downloaded files after removing

* feat(fonts): Extract from Revenge themes

* feat(fonts): final touch
2024-05-18 02:55:20 +08:00
amsyarasyiq
1d2577edb2 [themes] hacks
not a good fix but it leads to better experience ig
2024-04-16 01:15:03 +08:00
amsyarasyiq
ccb2a37f0d [themes] Potentially fix themes
(untested)
2024-04-15 22:56:08 +08:00
amsyarasyiq
867831ceec [main] Remove temporary connectToDebugger (whoops) 2024-04-03 07:40:35 +08:00
amsyarasyiq
7d77a34a4f [metro] Polyfill the lost redesign module 2024-04-02 22:24:56 +08:00
amsyarasyiq
b9a29aaddd Typings rework 2024-03-11 15:04:11 +08:00
amsyarasyiq
d158dd69e9 Begin implementing i18n 2024-03-09 07:43:04 +08:00
amsyarasyiq
218d09a5a3 Rewrite settings patch and add to api 2024-03-08 01:06:25 +08:00
amsyarasyiq
186cd79f8b Strips internal functions from api types 2024-03-07 22:14:17 +08:00
amsyarasyiq
4ffebc8671 Introduce shelter inspired api/flux
This shows a good example of adding to the Bunny APIs
2024-03-07 21:46:55 +08:00
amsyarasyiq
7915ae186d More changes 2024-03-07 12:35:07 +08:00
amsyarasyiq
3692cc41c8 ESLint hops in 2024-03-06 01:57:59 +08:00
amsyarasyiq
41ac215477 change some instances of Vendetta 2024-03-01 14:25:43 +08:00
amsyarasyiq
ba8ddf55c2 Get rid of preinit 2024-02-29 20:07:55 +08:00
amsyarasyiq
584fb07a07 Move settings related to core 2024-02-28 18:04:40 +08:00
amsyarasyiq
75192aa1d2 quickInstall as core plugin 2024-02-28 17:59:47 +08:00
amsyarasyiq
a759c4d883 Project restructuring (half-progress, untested) 2024-02-28 14:09:42 +08:00
amsyarasyiq
dea9ecb084 Half independent Vendetta api 2024-02-23 13:29:06 +08:00
amsyarasyiq
89d698d045 ui(plugins): use ContextMenu 2024-02-09 12:33:39 +08:00
amsyarasyiq
d543317bca Rebrand to "Bunny" 2024-02-09 10:37:36 +08:00
amsyarasyiq
a6435ea376 refactor import 2023-12-21 14:02:32 +08:00
amsyarasyiq
3bdf403264 real 2023-12-21 03:30:21 +08:00
Beef
85d0bd263b [Global] Code cleanup pass 2023-04-15 19:54:23 +01:00
Amsyar Rasyiq
20310db733
[Themes] Implement chat background image (#64)
* [Themes] hardcode fuyu chat bg

* [Themes > BG] listen to theme file

* remove .apply()

* some uhh misc changes

* readd

* how

* [Global] Minor changes

---------

Co-authored-by: Beef <beefers@riseup.net>
2023-04-15 17:08:08 +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
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