Commit graph

647 commits

Author SHA1 Message Date
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
PalmDevs
22674a5363
chore: update dependencies 2025-10-22 22:27:17 +07:00
PalmDevs
a2f330e7e2
chore: remove #lib syntax
Autocomplete is annoying.
2025-10-22 22:24:26 +07:00
PalmDevs
776e61ad47
fix(lib/storage): unintended behaviors
- Fixed Storage#delete() always returning false regardless of success
- Clone deep default option to prevent unintended behavior after deleting storage
2025-10-22 22:23:48 +07:00
PalmDevs
de063fe260
feat(plugins/settings): add sheet for additional plugin options 2025-10-22 22:20:58 +07:00
PalmDevs
2bc2a9fd08
fix(lib/plugins): expose internal metadata via function instead 2025-10-22 22:19:42 +07:00
PalmDevs
d44ec8fd6d
feat(lib/utils/object): add cloneDeep 2025-10-22 22:18:33 +07:00
PalmDevs
b4003a1587
fix(scripts/plugins/import-defer): do not process localName on strings 2025-10-22 22:17:01 +07:00
PalmDevs
0583c97ae2
fix(plugins/user-badges): remove dummy badge correctly 2025-10-22 22:16:15 +07:00
PalmDevs
86cf81ca56
fix(lib/discord/types): add missing justify and align prop for Stack 2025-10-22 22:13:47 +07:00
PalmDevs
c4f4d0b7fb
feat(scripts/dev): add ETag matching 2025-10-18 19:18:52 +07:00
PalmDevs
e6e3acb818
chore: update devtools dependencies 2025-10-18 19:08:09 +07:00
PalmDevs
de3134f1f3
fix(plugins/developer-kit): make address fields no longer sticky 2025-10-18 19:07:09 +07:00
PalmDevs
38becc38a1
fix(lib/discord/types): add missing props for SettingsListRenderer.SettingsList 2025-10-18 19:05:52 +07:00
PalmDevs
853ba1b7be
chore: update dependencies 2025-10-18 12:20:56 +07:00
PalmDevs
65ce48c216
chore: update dependencies 2025-10-18 12:09:14 +07:00
PalmDevs
d3effda5a9
fix: reinstall devtools packages from npm 2025-10-18 11:54:15 +07:00
PalmDevs
0bdf191fc9
fix(plugins/developer-kit): listen for correct setting, send log in correct level 2025-10-18 11:35:35 +07:00
PalmDevs
cb3b12f2ee
fix(plugins/no-track): correctly block AnalyticsTrackingActionCreators 2025-10-17 17:47:43 +07:00
PalmDevs
fbf2396d94
feat: catch and report fatal initialization errors 2025-10-17 15:49:50 +07:00
PalmDevs
e9f611e325
feat(lib/modules/native/fs): add additional methods 2025-10-14 21:49:55 +07:00
PalmDevs
7775e25e4c
chore: update dependencies 2025-10-14 21:47:53 +07:00
PalmDevs
ad962c4b15
chore: remove devtools server as dependency 2025-10-14 17:30:19 +07:00
PalmDevs
1d91389de1
fix: include workspace dependencies during build 2025-10-14 16:36:17 +07:00
PalmDevs
d29fed5175
fix: include devtools dependencies 2025-10-14 16:35:35 +07:00
PalmDevs
67c3d9ec8d
chore(lib/plugins): update internal names with correct terminology 2025-10-14 00:37:24 +07:00
PalmDevs
fc679a4d15
fix(lib/plugins): do not incorrectly mark plugin status + do not race on rejected promises, if errored 2025-10-14 00:35:45 +07:00
PalmDevs
0df3530788
feat(plugins/developer-kit): devtools integration + some fixes 2025-10-14 00:16:49 +07:00
PalmDevs
a0b69698c2
chore: add node types 2025-10-13 00:45:22 +07:00
PalmDevs
17fd1ec0bd
fix(plugins/settings): correct path for SettingsNavigator patch 2025-10-13 00:45:07 +07:00
PalmDevs
d0ee081ac5
fix(lib): update filters 2025-10-12 01:27:53 +07:00
PalmDevs
210ea160ce
chore: update dependencies 2025-10-12 01:27:08 +07:00
PalmDevs
6dfeccb26a
fix(plugins/developer-kit): access property from globalThis
Prevents "Property '__REACT_DEVTOOLS__' does not exist" on builds without React DevTools.
2025-09-17 18:00:26 +07:00
PalmDevs
6df0716ec5
fix(plugins/settings): show Reload Required dialog before settings modules load 2025-09-17 17:14:25 +07:00
PalmDevs
d54623aa20
fix(plugins/developer-kit): refresh SettingsNavigator on state change 2025-09-17 17:14:23 +07:00
PalmDevs
349c23eced
fix: correct misleading terms 2025-09-17 17:14:22 +07:00
PalmDevs
4f612edda4
fix(lib/plugins): do not emit flagUpdate if new flag is same 2025-09-17 17:14:21 +07:00
PalmDevs
82153eb512
feat(lib/storage): allow set-replacing, add update mode to subscriptions 2025-09-17 17:14:20 +07:00
Palm
f89d523c0d
feat: native bridge (#4)
* feat(lib/modules/native): types for calls

* feat(lib): proper caching for `assets` and `modules` lib

* fix(lib/modules/metro/runtime): add flag once `importedAll` or `importedDefault` exports cached

* feat(lib/modules/native): add `fs`

* feat(plugins/settings): add Loader info in Revenge page

* feat: use native bridge for alerting errors

* chore(lib/modules/native): remove useless `String()` call on error

* feat(lib/modules/native/fs): rename `deleteFile` to `rm`

* feat(lib/plugins): save plugin states

* chore(preinit): correct arg name for native method
2025-09-16 01:06:04 +07:00
PalmDevs
56cb524aeb
chore(preinit): correct arg name for native method 2025-09-16 01:02:44 +07:00
PalmDevs
e4cb41fa2b
feat(lib/plugins): save plugin states 2025-09-16 01:02:29 +07:00