Commit graph

303 commits

Author SHA1 Message Date
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
PalmDevs
000e5f4514
feat(lib/modules/finders/filters): add strict option for moduleStateAware and preferExports, update docs 2025-06-11 23:17:16 +07:00
PalmDevs
0b5ef8d481
chore: correct file pattern in biome config 2025-06-11 21:45:47 +07:00
PalmDevs
48f184d459
chore: update dependencies 2025-06-11 21:44:28 +07:00
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
PalmDevs
af2733ef23
feat(lib/discord/types)!: move DiscordModules.Styles to DiscordModules.Components.Styles 2025-06-11 21:03:06 +07:00
PalmDevs
dba475f072
feat(lib/discord/design): type Design.useTooltip and Design.LayerScope 2025-06-11 21:02:30 +07:00
PalmDevs
726fcd9ba1
feat(lib/discord): fix and improve type definitions 2025-06-11 00:30:36 +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
00547f00d4
chore: add back old include globs in biome 2025-06-10 23:16:39 +07:00
PalmDevs
3daa6575af
feat(plugins/settings): improve header title on plugin settings screens 2025-06-10 23:15:27 +07:00
PalmDevs
524a6892cd
feat(lib/discord): add type definitions for Components.NavigatorHeader 2025-06-10 23:15:26 +07:00
PalmDevs
ca12fac256
feat(lib/plugins): add settings pages for plugins 2025-06-10 22:22:59 +07:00
PalmDevs
88f9000122
chore: update dependencies 2025-06-10 22:17:28 +07:00
PalmDevs
4f31ca9a91
fix(shims/react~jsx-runtime): dedupe unproxy code 2025-06-10 22:15:19 +07:00
PalmDevs
38d5aa3833
feat(lib/utils/react): get type from predicate in findInReactFiber 2025-06-10 22:14:26 +07:00
PalmDevs
5ec7e9bf5c
fix(lib/utils/proxy)!: retain function references by default with optional method binding in options 2025-06-10 22:13:08 +07:00
PalmDevs
d1d6fb49cb
chore(scripts/build): only exit on scripts change, otherwise rebuild 2025-06-10 17:45:38 +07:00
PalmDevs
ebad969eec
feat(lib/modules/finders/get): add options.max to getModule 2025-06-10 11:06:15 +07:00
PalmDevs
64801214e4
fix(lib/patcher): correct types in hookers to fix autocomplete 2025-06-10 11:05:33 +07:00
PalmDevs
b3b41e260b
fix(lib/modules/finders/lookup): correct types for lookup results 2025-06-10 11:04:23 +07:00