Commit graph

323 commits

Author SHA1 Message Date
PalmDevs
255b4b4655
chore: reduce dependencies 2025-06-17 19:17:34 +07:00
PalmDevs
e5162982ed
feat(plugins/developer-settings/react-devtools): use EventEmitter for events 2025-06-16 22:56:07 +07:00
PalmDevs
6cc63435e2
feat(plugins/developer-settings): make Eval JS work better 2025-06-16 22:46:23 +07:00
PalmDevs
981e9dc080
feat(lib/modules): initial impl of modules caching
- Lookup caches have been fully implemented
- Wait caches will not exist
  - Wait APIs should simply wait until a matching module is initialized. Caching is useless when the API is for this purpose.
- Get APIs will inherit the benefits from using Lookup APIs
2025-06-16 20:25:45 +07:00
PalmDevs
5171e2cfba
fix(lib): revert bf9e723 partially 2025-06-16 20:20:04 +07:00
PalmDevs
e82267d8e6
fix(plugins/developer-settings/react-devtools): make Connect option appear again 2025-06-16 20:00:58 +07:00
PalmDevs
921d997230
fix(lib/assets/caches): remove useless async modifiers 2025-06-16 19:59:02 +07:00
PalmDevs
cf3ded454d
fix(lib/modules/finders/filters): compare relative.withDependencies with root-relative dependencies with proper parent ID 2025-06-16 19:58:42 +07:00
PalmDevs
f1869de92a
fix(plugins/no-track): only cleanup waits 2025-06-16 18:14:32 +07:00
PalmDevs
256191b8a4
fix(lib/plugins): emit events properly when no lifecycles are present 2025-06-16 18:13:48 +07:00
PalmDevs
598728d195
fix(lib/plugins)!: name types more consistently
skip-checks:true
2025-06-16 09:57:25 +07:00
PalmDevs
fb8cc2d897
feat!: allow plugin API extensions to get runtime options, and allow API extensions to pass options, refactor api.storage to API extensions 2025-06-16 09:51:30 +07:00
PalmDevs
bf9e723e73
chore: update rolldown and use defineLazyProperties to set lazy-loaded plugin APIs 2025-06-16 09:01:50 +07:00
PalmDevs
87521ddd5e
feat(lib/utils/objects): add defineLazyProperties 2025-06-16 08:59:33 +07:00
PalmDevs
a93249cdb2
fix(scripts/build): declare variable before calling function 2025-06-15 18:01:34 +07:00
PalmDevs
5a085a46d4
ci: add build 2025-06-15 17:59:53 +07:00
PalmDevs
8851f6867b
fix(scripts/build): turn on DEBUG_MODULE_LOOKUPS build flag if dev build 2025-06-15 17:57:55 +07:00
PalmDevs
42213c89c0
feat(scripts/build): add flag and env to build dev builds 2025-06-15 17:43:27 +07:00
PalmDevs
35df488dd4
chore: update dependencies 2025-06-15 17:33:44 +07:00
PalmDevs
0ad8e79bac
chore(lib/utils): remove generators 2025-06-14 22:09:59 +07:00
PalmDevs
e587c527f8
fix(patches/log-promise-rejections): use falsy check instead of strict equal 2025-06-14 22:06:12 +07:00
PalmDevs
99d7dc0111
fix(lib/plugins): don't catch manually thrown errors, remove useless event 2025-06-14 22:05:26 +07:00
PalmDevs
e181dd2c1c
fix(lib/externals/react-navigation): lookup ReactNavigationStack by shorter prop 2025-06-14 21:49:39 +07:00
PalmDevs
6594fc6fa1
chore(lib/utils): remove logger 2025-06-14 21:48:52 +07:00
PalmDevs
c8567e1a7c
fix(lib/discord/actions): lookup AlertActionCreators with includeUninitialized 2025-06-14 21:47:59 +07:00
PalmDevs
7955693e49
feat(plugins/developer-settings): improve Asset Browser initial render 2025-06-14 18:03:12 +07:00
PalmDevs
33bb878c5c
feat(lib/plugins): switch to event-based system 2025-06-14 18:01:39 +07:00
PalmDevs
b1f87967e6
fix(lib/discord/common)!: decapitalize Flux export 2025-06-14 17:59:03 +07:00
PalmDevs
ad256fd9f3
feat(lib/discord/common): export utils 2025-06-14 17:58:20 +07:00
PalmDevs
23d250d163
feat(plugins/no-track): use noop from lib, add ReloadRequired flag when enabling late, unmark essential 2025-06-14 17:55:08 +07:00
PalmDevs
285e87fe1b
feat(lib/utils/callbacks): add noop 2025-06-14 17:54:04 +07:00
PalmDevs
1272ed9e39
chore: remove blocks from arrow functions where not needed 2025-06-14 17:53:28 +07:00
PalmDevs
5e848a6c40
fix(lib/discord/modules/settings): return success status in registerSettingsItems unpatch fn 2025-06-14 17:48:24 +07:00
PalmDevs
56a09807c7
fix(lib/discord/types)!: export DiscordModules.Logger as class 2025-06-14 17:46:07 +07:00
PalmDevs
d5fa40fabd
feat(lib/modules/finders/filters)!: improve filters
- Filter generators now expose a `keyFor` method to generate filter keys.
- Dependency filtering is now more usable
  - Destructure helpers from `byDependencies` instead:
    - `looseDeps` -> `byDependencies.loose`
    - `relativeDep` -> `byDependencies.relative`
  - Nested dependencies check can now be done with relative checks via `byDependencies.relative.withDependencies`
- Dependency filtering is now more performant
  - Relative dependencies are done by bit manipulation instead
  - Reverted from stack system to recursion
  - Skip relative dependencies resolution (there is no need for it)
- Filter keys for `byDependencies` fixed
2025-06-13 23:35:23 +07:00
PalmDevs
63b7c6c648
fix(src/plugins/staff-settings): use setTimeout for renavigation 2025-06-13 22:50:04 +07:00
PalmDevs
7953056b94
chore(lib/utils/errors): make getCurrentStack a little more performant 2025-06-13 22:47:28 +07:00
PalmDevs
2852211a91
chore: add pkg patch for react-native-click-outside 2025-06-13 07:32:20 +07:00
PalmDevs
fd44d95749
fix(lib/externals/browserify): stricten nodeUtil's filter 2025-06-12 23:53:19 +07:00
PalmDevs
6d51ab8209
chore: document build flags 2025-06-12 23:25:10 +07:00
PalmDevs
e57fd88846
chore: add build flag to debug proxified values 2025-06-12 23:24:55 +07:00
PalmDevs
46d7cda223
chore: add build flag to debug lookups 2025-06-12 23:24:19 +07:00
PalmDevs
b4923296e5
feat(lib/utils/errors): add getCurrentStack 2025-06-12 23:23:16 +07:00
PalmDevs
ba835cdfbc
fix(lib/externals/react-navigation): correct filter for ReactNavigationStack 2025-06-12 23:21:32 +07:00
PalmDevs
a969a64832
feat(plugins/settings): see commit description
- Added ability to filter plugins
- Show tooltip when attempting to disable essential plugins

- Moved tooltip providers to its own file
- Moved PluginCard to its own file
2025-06-12 22:18:52 +07:00
PalmDevs
24331dfaad
fix(plugins/developer-settings): use styles from components lib 2025-06-12 22:16:55 +07:00
PalmDevs
be2abcc555
chore(lib/components): move stylesheet and constants to internal file 2025-06-12 22:16:05 +07:00
PalmDevs
6b5c5a62c3
fix(lib/externals/shopify): correct filter for FlashList 2025-06-12 22:15:16 +07:00
PalmDevs
6e5c4d41a4
fix(lib/assets)!: do not fallback to first type when type is specified 2025-06-12 22:14:41 +07:00
PalmDevs
dfda3afc68
fix(lib/discord/actions): stricten ActionSheetActionCreators's filter 2025-06-11 23:19:25 +07:00