Commit graph

97 commits

Author SHA1 Message Date
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
PalmDevs
82c593e9bb
chore(scripts/build): replace __BUILD_ENV__ with __DEV__ 2025-07-10 12:39:25 +07:00
PalmDevs
705225f05a
fix(plugins/no-track): patch SentryUtils 2025-07-09 23:29:14 +07:00
PalmDevs
dd0ee59f94
feat(plugins/no-track): improve sentry blocking, noop AnalyticsTrackActionCreators 2025-07-09 20:15:46 +07:00
PalmDevs
796f1cf392
feat(lib/modules/metro): patch all primitives to improve perf 2025-07-09 19:08:28 +07:00
PalmDevs
9560a8320b
feat(lib/modules/metro)!: more performance wins 2025-07-09 01:28:44 +07:00
PalmDevs
7645bfdf61
chore: new DEBUG_WAITS build flag, improve DBEUG_LOOKUPS build flag logs, other dev env fixes 2025-07-08 11:24:48 +07:00
PalmDevs
e9fedc8db4
feat: small performance wins
- Delay initializing unimportant parts until index module (ID 0) is required
- Lower memory usage by interacting with Metro's internal module list directly
2025-07-07 20:00:20 +07:00
PalmDevs
075f33f6c6
chore: cleanup 2025-07-05 13:56:52 +07:00
PalmDevs
2f21be2c52
fix: don't wrap functions twice in entrypoint 2025-07-03 21:07:00 +07:00
PalmDevs
8f0755c4e7
fix: get turbo modules from turbo module proxy 2025-07-02 21:46:13 +07:00
PalmDevs
77f8d62720
fix: improve perf by not returning implicitly 2025-06-17 19:53:58 +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
e82267d8e6
fix(plugins/developer-settings/react-devtools): make Connect option appear again 2025-06-16 20:00:58 +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
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
e587c527f8
fix(patches/log-promise-rejections): use falsy check instead of strict equal 2025-06-14 22:06:12 +07:00
PalmDevs
6594fc6fa1
chore(lib/utils): remove logger 2025-06-14 21:48:52 +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
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
1272ed9e39
chore: remove blocks from arrow functions where not needed 2025-06-14 17:53:28 +07:00
PalmDevs
63b7c6c648
fix(src/plugins/staff-settings): use setTimeout for renavigation 2025-06-13 22:50:04 +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
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