PalmDevs
b27fd9221a
fix(plugins/no-track): remove immediate discord lib dependency
2025-07-22 19:12:54 +07:00
PalmDevs
b7ed6bb88f
fix(plugins/staff-settings): use API from parameter, show toast instead of attempting refresh
2025-07-22 18:58:49 +07:00
PalmDevs
f250276180
fix(plugins/settings): don't add custom sections twice, cleanup
2025-07-22 18:22:56 +07:00
PalmDevs
44adc6679f
chore(plugins/settings): start plugin at start stage, add as dependency to developer-kit to prevent race condition
2025-07-21 22:42:37 +07:00
PalmDevs
fbe1852e8d
fix(plugins/settings): refresh SettingsNavigator to register plugin setting route on enable
2025-07-21 22:41:17 +07:00
PalmDevs
a586c0cebd
feat(lib/discord/modules/settings): new method to refresh SettingsOverviewScreen and SettingsNavigator
2025-07-21 22:40:28 +07:00
PalmDevs
d2ac578cff
feat(src/plugins/settings): use global state context to reduce rerenders
2025-07-21 22:15:31 +07:00
PalmDevs
57e2fa89da
fix(plugins/settings): NavigatorHeader not having an icon immediately in plugin settings
2025-07-21 14:45:49 +07:00
PalmDevs
f5ed49d4e2
fix: declare unscoped storage API using decorators instead
2025-07-21 14:06:51 +07:00
PalmDevs
2e455cf2c5
feat: add ability to decorate plugin APIs, move private properties to WeakMap stores
2025-07-20 23:06:56 +07:00
PalmDevs
78614c1cc9
chore: move SettingRendererConfig patches to lib, refactor how lifecycles are run
2025-07-19 23:23:32 +07:00
PalmDevs
832a3fc7da
chore(plugins/settings): cleanup
2025-07-19 14:45:16 +07:00
PalmDevs
72f4232a95
feat(plugins/settings): register plugins as own routes instead
2025-07-19 14:01:04 +07:00
PalmDevs
86e02202b6
feat(lib/discord/modules/settings): switch to objects for storage
2025-07-18 23:44:31 +07:00
PalmDevs
d3b754d2cc
feat(lib/plugins): switch to objects for storage
2025-07-18 23:44:08 +07:00
PalmDevs
7b99a59a73
chore(lib/plugins): improve plugin manifest consistencies
2025-07-18 18:29:50 +07:00
PalmDevs
5543030b57
fix(plugins/developer-settings): missing icon in React DevTools error toast
2025-07-18 02:04:54 +07:00
PalmDevs
8ca50309eb
chore(plugins/logging): only register on dev builds
2025-07-18 02:03:26 +07:00
PalmDevs
38b035966b
chore: cleanup
2025-07-18 02:02:34 +07:00
PalmDevs
9c8d55af21
fix(plugins/developer-settings): crash on copy React DevTools version
2025-07-18 01:55:52 +07:00
PalmDevs
2da5549cad
feat(plugins/developer-settings): add "Test ErrorBoundary" option
2025-07-18 01:17:12 +07:00
PalmDevs
0bacc8a2f1
feat(plugins): add error-boundary
2025-07-18 01:16:44 +07:00
PalmDevs
1c2ee844ed
fix(plugins/settings): event emitter leak
2025-07-18 01:16:31 +07:00
PalmDevs
bcb82e1f4f
chore: format
2025-07-17 16:55:23 +07:00
PalmDevs
79ce47c2bc
feat(lib/modules/metro): use Map for storing module dependencies for quicker access, rename file
2025-07-17 16:55:08 +07:00
PalmDevs
63a1111107
fix(plugins/settings): same tooltip not repositioning in Plugins page
2025-07-16 19:12:24 +07:00
PalmDevs
74ef7ae005
chore(plugins/user-badges): refactor
2025-07-15 22:36:45 +07:00
PalmDevs
74ac2f355c
feat(plugins): make some setting items copyable
2025-07-15 22:04:32 +07:00
PalmDevs
8d4581f9c1
fix: register start-only plugins during start stage
...
Previously they were registered on init which may have caused some minor performance issues.
2025-07-14 23:13:52 +07:00
PalmDevs
db472c9cd1
fix(plugins/user-badges): remove getAsset signal
...
It was useless anyways since we imported at the top of the file.
2025-07-13 19:55:21 +07:00
PalmDevs
7f88185d55
chore(plugins/no-track): reset color in warn log
2025-07-13 19:23:01 +07:00
PalmDevs
4522303440
feat(plugins): add user-badges
2025-07-13 18:02:36 +07:00
PalmDevs
8d00748a6a
chore(plugins/no-track): do not implicitly return
2025-07-13 15:59:45 +07:00
PalmDevs
d6be47d9a7
chore(plugins/settings): do not use deprecated types
2025-07-13 15:59:21 +07:00
PalmDevs
6a38136762
fix(lib)!: breaking changes
...
- Remove `noopFalse` from `@revenge-mod/utils/callback`
- Do not return result from unpatch/undo/unsub functions
- `onSettingsModulesLoaded` from `@revenge-mod/discord/modules/settings` now calls the callback immediately if settings modules are already loaded instead of throwing
2025-07-13 15:53:44 +07:00
PalmDevs
37a20160db
fix: do not use emitter to emit error event
...
Discord's EventEmitter handles the `error` event specially for some reason.
2025-07-13 00:26:22 +07:00
PalmDevs
09114af96f
chore(plugins/logging): log start stage in dev builds
2025-07-13 00:26:11 +07:00
PalmDevs
0c5e636cb5
fix(plugins/no-track): wait for discord analytics modules during start stage
2025-07-13 00:16:41 +07:00
PalmDevs
811bd30756
chore: revert 8347e24
2025-07-12 21:05:27 +07:00
PalmDevs
5e06aa831d
feat: move hardcoded values to build constants, display source repo & license + remove github org in settings
2025-07-12 02:51:07 +07:00
PalmDevs
0746db3648
chore(lib/plugins): move utils assignments to own lib
2025-07-11 17:55:54 +07:00
PalmDevs
4b2a612374
chore(lib/utils): do not pluralize submodules
2025-07-11 17:33:06 +07:00
PalmDevs
c66dace21b
chore: cleanup questionable code
2025-07-11 15:53:12 +07:00
PalmDevs
07c3425693
chore(patches/log-promise-rejections): do not implicitly return
2025-07-11 15:20:48 +07:00
PalmDevs
f4c5ea15a2
fix(plugins/logging): remove __BUILD_ENV__ references
2025-07-11 15:19:57 +07:00
PalmDevs
8347e24e54
chore(lib/react)!: remove jsx-runtime
...
This has been made because no developer will likely ever require this API.
The current API assumes you already have an instance of the component, which means you can likely already patch that component instance itself.
The API can be made more powerful by taking any string names, and comparing it to the component's type name, type displayName, name, displayName, etc., but it will introduce performance bottlenecks.
2025-07-11 01:15:20 +07:00
PalmDevs
9e6614a1bd
chore: lint and format
2025-07-10 21:26:27 +07:00
PalmDevs
2a0d91878f
feat(lib/react): add jsx-runtime
2025-07-10 21:25:46 +07:00
PalmDevs
84c6edcfe2
fix: revert using Object.defineProperty instead of delete
...
Apparently it's somewhat faster to `delete` and set, than to use Object.defineProperty
2025-07-10 12:43:05 +07:00
PalmDevs
c63e6cebc8
fix(plugins/no-track): use hooks instead of modifying directly
2025-07-10 12:40:47 +07:00