Commit graph

58 commits

Author SHA1 Message Date
PalmDevs
fc3d80e7ca
feat(plugins/settings): see commit description
- Disable plugin settings button when plugin is disabled
  - Show tooltip on disabled tap
- Retain sort options during renavigation
- Cleanup and refactor
2025-06-11 21:41:29 +07:00
ThePangel
7b49c6863b
feat(plugins/settings): add ability to sort plugins
---------

Co-authored-by: PalmDevs <git@palmdevs.me>
2025-06-11 00:29:03 +07:00
PalmDevs
3daa6575af
feat(plugins/settings): improve header title on plugin settings screens 2025-06-10 23:15:27 +07:00
PalmDevs
ca12fac256
feat(lib/plugins): add settings pages for plugins 2025-06-10 22:22:59 +07:00
PalmDevs
5987473580
chore(plugins)!: shorten setting names 2025-06-09 23:35:23 +07:00
PalmDevs
f1103d7637
chore(assets): update RevengeIcon 2025-06-09 23:29:16 +07:00
PalmDevs
f77a496962
feat(plugins): migrate to use refreshSettingsOverviewScreen 2025-06-09 19:47:00 +07:00
PalmDevs
3947b8f07e
fix(plugins/settings): fix resetSettingsScreen 2025-06-08 21:58:54 +07:00
PalmDevs
240ff9d2cb
fix(plugins/developer-settings): chain then on promise instead (again) 2025-06-08 21:35:47 +07:00
PalmDevs
44a1496452
feat(plugins): reset setting screens for plugins that require it 2025-06-08 21:19:25 +07:00
PalmDevs
5b3a8bc5ab
feat: see commit description
- Shim React and React Native
- Move src/components to lib/components
- Exposed lib/components to `unscoped.components`
- scipts/build: Properly set footer sourceURL
- plugins/developer-settings: Debounce searching in Asset Browser
- plugins/settings: Debounce searching in Plugins
2025-06-08 19:01:33 +07:00
PalmDevs
af3d404c4d
feat(plugins/developer-settings): improve Asset Browser 2025-06-07 15:51:52 +07:00
PalmDevs
e510eea36e
feat(lib/assets)!: set metadata on asset objects, remove redundant APIs, add new APIs and parameters 2025-06-07 15:14:28 +07:00
PalmDevs
3903fe0a4b
fix(plugins/developer-settings): chain then on promise instead
Using await freezes the app on slower devices for some unknown reason...
2025-06-07 10:20:03 +07:00
PalmDevs
406138d38e
fix(plugins/developer-settings): clean up a few things 2025-06-07 10:07:33 +07:00
PalmDevs
2c56aa87c1
fix(lib/plugins): move unscoped.externals to its own pkg 2025-06-06 20:51:07 +07:00
PalmDevs
40bc19dfc8
fix(plugins/developer-settings): use require instead of import 2025-06-06 20:09:38 +07:00
PalmDevs
2b905801c3
chore: format 2025-06-03 16:24:58 +07:00
PalmDevs
a1db2dbb2c
feat(lib/assets)!: modify cache struct, change how overrides work, cleanup APIs 2025-06-02 15:56:07 +07:00
PalmDevs
3cc039ae73
feat(lib/plugins): refactor discord plugin API as API extensions
The aim is to reduce Discord-specific code in core libraries.
2025-06-02 15:50:29 +07:00
PalmDevs
6d19de566f
chore: format 2025-06-01 13:52:06 +07:00
PalmDevs
80c76f907a
fix(plugins): include tsx in import globs 2025-05-22 03:45:10 +07:00
PalmDevs
bd061478e6
fix(plugins/settings): run subscriptions with catch, register items during plugin register 2025-05-22 03:15:40 +07:00
PalmDevs
ce726accca
feat(plugins/developer-settings/react-devtools): add settings 2025-05-22 02:48:54 +07:00
PalmDevs
fe43fd14d4
feat: import plugins using import.meta.glob 2025-05-22 00:06:36 +07:00
PalmDevs
7535e56b84
feat(plugins/staff-settings): apply changes without reload 2025-05-19 02:46:58 +07:00
PalmDevs
37664aaa55
chore: format 2025-05-19 01:43:41 +07:00
PalmDevs
a43cd5d564
feat!: plugins page, tons of API changes, and bug fixes
Plugins
- Settings: Plugins page is now semi-functional
- No Track: Added new plugin
- Developer Settings: Clean up properly
- Logging: Log in preInit stage
- Staff Settings: Add ReloadRequired flags when late-running

@revenge-mod/init
- Moved to the top-level src/index.ts instead

@revenge-mod/modules
- Switch `exports` and `id` parameters in finders APIs
- Lookups now return an array of exports and ID instead of just exports
  - Lookup ID APIs have been removed
- Add `finders.get` helper, a new alternative for `finders.find`
- Corrected documentation for subscription APIs

@revenge-mod/plugins
- Added new APIs for plugins to allow running during pre-init stages
- Added `unscoped.modules.finders.get*`
- Added `unscoped.react.native`

@revenge-mod/react
- native: Added `onRunApplication` and `onRunApplicationFinished`

@revenge-mod/utils
- callbacks: Add `noopFalse`
- promises: Fix `allSettled`
- promises: Add `sleep`
2025-05-18 22:24:48 +07:00
PalmDevs
4f3621ecd4
feat(lib/plugins/apis): include plugin, reduce getters on other apis 2025-05-13 10:34:57 +07:00
PalmDevs
96ff348fd8
feat(lib/discord/design)!: export FormSwitch, rename Components -> Design 2025-05-10 18:17:47 +07:00
PalmDevs
177988dd8e
feat(plugins/developer-settings/devtools): use generated IconComponent for toasts 2025-05-10 02:12:18 +07:00
PalmDevs
c0babbd486
feat(plugins/developer-settings): add Asset Browser 2025-05-10 02:12:16 +07:00
PalmDevs
d40b16e3a2
feat(components): add Page and SearchInput 2025-05-10 02:12:15 +07:00
PalmDevs
65b10524b2
fix(plugins/developer-settings): add correct parent for EvaluateJavaScriptSetting 2025-05-10 02:12:14 +07:00
PalmDevs
bea425a8ca
fix: make things work with refactor 2025-05-09 21:55:05 +07:00
PalmDevs
1e48473b74
fix(plugins/logging): rename imports 2025-05-08 20:23:15 +07:00
PalmDevs
65abd86acb
feat(plugins/settings): register custom page as route 2025-05-08 19:10:45 +07:00
PalmDevs
fbdea3c9da
fix(plugins): refactor plugins to work with new APIs 2025-05-08 19:10:44 +07:00
PalmDevs
c5daae75e6
fix(lib/discord)!: move ui/settings to settings 2025-05-07 01:35:54 +07:00
PalmDevs
26b4c08a24
chore: refactor, auto-gen assets 2025-05-07 01:21:27 +07:00
PalmDevs
7450447c1b
feat(lib/assets)!: store asset IDs separately, prepare for asset override support 2025-05-07 00:13:22 +07:00
PalmDevs
4371b95bd9
fix(plugins/settings/definitions/ReactVersionSetting): switch to use AssetIcon 2025-05-06 23:51:21 +07:00
PalmDevs
cd62a70001
feat(plugins/settings): log when modules loaded, remove useless exports 2025-05-05 21:26:47 +07:00
PalmDevs
3bca2c4691
fix(lib/discord/ui/settings): correct isSettingsModulesLoaded status 2025-05-05 21:22:21 +07:00
PalmDevs
e05cdecbf9
fix(plugins/settings): refactor into two plugins, move components up to src, fix splicing logic 2025-05-05 21:16:44 +07:00
PalmDevs
9c6ad05e2b
feat(plugins/settings/components/AssetIcon): safely access nullable asset 2025-05-05 19:29:50 +07:00
PalmDevs
8f74dfc79c
feat(plugins/settings): add react devtools support 2025-05-05 19:22:53 +07:00
PalmDevs
1d32f75f79
feat(plugins/settings): improve Revenge page 2025-05-05 19:22:52 +07:00
PalmDevs
662d24e7eb
fix(plugins/settings): remove GC option, don't register hidden sections, only register when needed 2025-05-05 02:28:52 +07:00
PalmDevs
51f86d7d6f
feat(plugin/settings): expose plugin APIs during eval 2025-05-04 20:56:50 +07:00