Commit graph

687 commits

Author SHA1 Message Date
PalmDevs
5d379b1652
fix(lib/discord/modules/settings): correct filter for SettingListRenderer on 319203+ 2026-02-26 17:11:20 +07:00
PalmDevs
e4cdf652a2
chore(scripts): improve build config 2026-02-26 16:22:33 +07:00
PalmDevs
fc79e9353b
fix: syntax error during compilation 2026-02-25 22:16:44 +07:00
PalmDevs
790f9586de
chore: update dependencies 2026-02-25 22:14:34 +07:00
PalmDevs
8f87048695
fix(lib/discord/common): correct Constants filter 2026-02-25 22:09:31 +07:00
PalmDevs
3da647154f
fix(lib/modules): warn bad withDependencies filters during construction time 2026-02-25 22:05:38 +07:00
PalmDevs
df60eb5272
fix: update generated API types 2026-01-25 11:04:52 +07:00
PalmDevs
8839d43a47
fix(lib/modules/finders/filters): skip already warned bad withDependencies filters 2026-01-24 18:14:56 +07:00
PalmDevs
4f120ea159
chore(lib/modules/metro): alert module init errors in dev builds 2026-01-24 18:14:18 +07:00
PalmDevs
3c657c36b2
fix(lib/assets): cache assets immediately when uncached 2026-01-24 18:13:45 +07:00
PalmDevs
c1a7ddbd44
fix(lib/discord): correct AppStartPerformance filter 2026-01-24 18:01:48 +07:00
PalmDevs
a899199d43
fix(scripts/plugins/hermesc): allow compiling empty code 2026-01-24 17:51:33 +07:00
PalmDevs
9cdf5710d8
fix(lib/modules/finders/filters): correct relative and relative.withDependencies param names 2026-01-17 20:55:12 +07:00
PalmDevs
d8897d8c4d
feat(lib/discord/common): expose and switch filters to use ImportTrackerModuleId 2026-01-17 20:54:14 +07:00
PalmDevs
a87d4ced5c
fix(lib/modules)!: decouple discord-specific helpers to lib/discord 2026-01-17 20:41:14 +07:00
PalmDevs
97a5419f24
chore: fix corrupted lockfile 2026-01-17 20:09:17 +07:00
PalmDevs
fe694bf2bf
chore: update dependencies 2026-01-17 19:45:56 +07:00
tralwdwd
aa07721269
feat(plugins/developer-kit): improve UI for JS eval
Currently the eval is done in a modal which makes it hard to use and means any code written is discarded after pressing evaluate and also it is hard to read output from an alert. This commit improves it by instead having it as a page instead where the code remains after evaluation and outputs the result in a box in the page rather than in an alert.

Eval results are also selectable now, and have display options. And inspecting with zero depth is now possible.

---------

Co-authored-by: PalmDevs <git@palmdevs.me>
2025-12-13 23:16:53 +07:00
PalmDevs
3284300ef1
feat(plugins/developer-kit): make Asset Browser asset names easy to copy 2025-12-13 22:50:27 +07:00
PalmDevs
47084f4f52
chore: update dependencies 2025-12-13 22:43:21 +07:00
PalmDevs
13722b994b
fix(plugins/no-track): crash on 310205+
Discord updated Sentry and now Sentry attempts also to set __SENTRY__ each attempt it tries to get the value, so now we fake the carrier instead.
2025-12-13 22:43:02 +07:00
PalmDevs
11259ee0b7
fix(plugins): update color tokens 2025-12-13 22:41:08 +07:00
PalmDevs
b5b3033171
fix(lib/discord/design): update FormSwitch filter for 307201+ 2025-11-21 14:13:26 +07:00
PalmDevs
6c63ba5a31
fix: settings patches and definitions for 306203+ 2025-11-13 16:55:23 +07:00
PalmDevs
d9968c6e22
fix(plugins/developer-kit): use indirect eval 2025-11-12 15:05:50 +07:00
PalmDevs
68850ff8fb
chore: update dependencies 2025-11-12 15:05:35 +07:00
PalmDevs
b427f46f69
chore: update bunfig 2025-11-12 14:59:11 +07:00
tralwdwd
440c2ab1bd
fix(plugins/developer-kit): eval alert box layout (#8) 2025-11-10 10:27:41 +07:00
PalmDevs
b71cc35156
chore: update dependencies 2025-11-03 19:41:00 +07:00
PalmDevs
1a8704fae6
fix(lib/discord): module filters for 304203+ 2025-11-01 20:09:44 +07:00
PalmDevs
772bd2a283
fix(lib): use new nested withDependencies filters everywhere 2025-10-29 19:34:38 +07:00
PalmDevs
8e2abb9e6f
fix(lib/modules/finders/filters): use runFilter for nested withDependencies filters 2025-10-29 19:33:24 +07:00
PalmDevs
300d506125
feat(lib/modules/finders/filters): allow nested filters in withDependencies 2025-10-28 01:18:12 +07:00
PalmDevs
b6d1cff9f5
feat(lib/modules)!: filter scopes + fixes and improvements
# Features

- Filters now control what types of modules they see.
- Filters can be reinstantiated via `.new()`
- Added the `Not` type in @revenge-mod/utils/types

# Fixes

- Pitfall with `lookupModules` and `withDependencies` without `uninitialize: true` fixed.
- Filter type-metadata is now stored in a single object instead of multiple parameters.
- Incorrect caching behavior for `lookupModules` where cache always reports not found if you finish the iterator.
- Also attempt to report not found when using `lookupModule`.
2025-10-28 01:01:17 +07:00
PalmDevs
dde81af9f6
chore(lib/modules/finders/lookup): warn for bad filters without uninitalized modules 2025-10-27 00:35:40 +07:00
PalmDevs
c8906b442a
feat(lib/plugins)!: bind lifecycle this to plugin 2025-10-26 23:08:36 +07:00
PalmDevs
a843805456
chore: bump tsconfig target to ES2020 2025-10-26 13:55:52 +07:00
PalmDevs
f61661ac27
fix(lib/discord/design): correct types for Design and TableRow 2025-10-26 13:55:22 +07:00
PalmDevs
bdf2b142d7
feat(lib/patcher): hook priority 2025-10-24 21:27:07 +07:00
PalmDevs
96ea57c559
fix(plugins/settings): navigate to Plugins screen correctly in plugin error alert 2025-10-24 14:50:35 +07:00
PalmDevs
2293e288d1
feat(plugins/settings): improve additional plugin options sheet
- Disable Settings icon button with tooltip hint if plugin is not enabled
- Added Status
- Moved Flags to Advanced
- Added Internal Flags

Other changes (to make the above work):
- TooltipProvider now properly uses React Contexts
- Added usePluginStatus (PluginStateProvider now subscribes to plugin statuses)
2025-10-23 17:50:38 +07:00
PalmDevs
2bf7709ba3
fix: use CircleErrorIcon instead of CircleXIcon for errors 2025-10-23 17:37:21 +07:00
PalmDevs
5aca231f2a
fix(plugins/settings): increase spacing for additional plugin options sheet 2025-10-23 17:06:08 +07:00
PalmDevs
da8c535544
fix(plugins/settings): clear storage properly on errored plugins
Previous code did not handle API being undefined after plugin is stopped.
Code has also been abstracted to be inside the storage API provider.
2025-10-23 17:05:25 +07:00
PalmDevs
b2a378a3b2
chore(lib/storage): document default options 2025-10-23 17:04:24 +07:00
PalmDevs
0f7218aa1a
fix(lib/storage): only call get after delete if already loaded 2025-10-23 17:04:14 +07:00
PalmDevs
0f0c5f85eb
fix(lib/plugins): clear Errored flag properly on prepare 2025-10-23 17:02:19 +07:00
PalmDevs
079577922e
feat(plugins/settings): notify user on plugin error 2025-10-23 00:55:24 +07:00
PalmDevs
acac384f8b
feat(plugins/settings): improve styling for additional plugin options sheet 2025-10-23 00:53:35 +07:00
PalmDevs
fa0e480974
feat(plugins/settings): add plugin filtering by error status, derive and set route params directly 2025-10-23 00:52:25 +07:00