Commit graph

123 commits

Author SHA1 Message Date
PalmDevs
f2916d4b79
fix: restore compatibility of plugins that have custom pages 2024-02-09 23:55:36 +07:00
PalmDevs
aa4bd693bd
fix(ui/components/Search): type error with unnecessary property 2024-02-09 02:01:35 +07:00
PalmDevs
d0b9d63d12
chore: remove instances of Vendetta in places
This hopefully shouldn't break things, unless some kind of plugin depend on finding stuff with the string `Vendetta`. That is a very bad practice though
2024-02-09 02:01:21 +07:00
amsyarasyiq
eed535549e [Lib > Storage] Store and throw errors
+ Added some debug infos on Discord's error boundary
2023-12-30 18:33:53 +00:00
pylixonly
0e48cbcb9e
[UI > InputAlert] Revert and fix (#211)
* Revert "[UI > InputAlert] Fix for new UI"

This reverts commit 963ddc50c5.

* real fix

* unrevert some changes
2023-12-19 07:21:07 +00:00
maisy
963ddc50c5 [UI > InputAlert] Fix for new UI 2023-12-17 03:44:41 +00:00
redstonekasi
289ffa49f2 [UI > QuickInstall] Fix forum posts 2023-10-20 22:41:02 +02:00
nexpid
43d351ce4f
[UI > Settings] Fix alert race condition (#162) 2023-10-20 18:06:04 +02:00
omame
f40af91ed9
[UI > QuickInstall] Fix simple action sheet patch on 195.x (#150) 2023-09-04 18:08:43 +01:00
Amsyar Rasyiq
b90cddd3d8
[UI] Fix You tab on recent versions (#142)
* Fix You tab crash

* Fix You tab patch on recent versions

Compatibility with older version is implemented, however, untested
2023-08-28 01:36:19 +01:00
Amsyar Rasyiq
a86b963330
[Global] Fix Vendetta on 193.4 (193204) (#136) 2023-08-18 19:42:34 +01:00
aliernfrog
cf09dbc1ac
[UI] Fix You tab settings on 189.4+ (#118)
* [UI] Fix You tab settings on 189.4+

* [UI > YouTab] Formatting

---------

Co-authored-by: Beef <beefers@riseup.net>
2023-07-23 23:47:11 +01:00
Amsyar Rasyiq
23715fa8a0
[UI > QuickInstall] Fix install sheets (#114)
Issue: They stripped Icon component's name, find would fail
2023-07-17 17:24:41 +01:00
amsyarasyiq
47761371f1 [UI] Fix TabsV2 issues
- Developer settings not appearing at all (still not reactive)
- Use React.memo with custom pages (as they does internally)
2023-07-17 16:35:01 +01:00
Gabe616
5c37b911a3
[UI > Plugins] Add unproxied plugin warning prompt (#101)
* [UI > Plugins] Add unproxied plugin warning prompt

* [UI > Plugins] Show msg if developer not enabled

* [UI > Plugins] Prettier-be-gone!

---------

Co-authored-by: Beef <beefers@riseup.net>
2023-07-09 01:33:54 +01:00
Beef
f2b67ee112 [UI > Toasts] Fix for recent versions 2023-06-03 15:08:04 +01:00
Beef
e99da222ad [UI > YouTab] Fix some of the glaring issues 2023-05-21 23:09:43 +01:00
Beef
fda8e31bb1 [UI > Settings] Complete overhaul, support You tab
You tab support has a few issues, namely:
* Text inputs automatically close the keyboard
* The Developer toggle is not reactive
* Plugins will need to update if they set navigation options in their settings, otherwise an infinite re-render occurs

Co-authored-by: Jack Matthews <jm5112356@gmail.com>
2023-05-21 01:04:53 +01:00
Beef
63fd59e826 [UI > AddonPage] Move back to FlatList 2023-05-13 00:15:11 +01:00
redstonekasi
f66e62d13b
[UI > QuickInstall] Please the Beef (#68) 2023-04-23 01:43:34 +01:00
redstonekasi
ea775736a2
[UI > QuickInstall] Add pop-up when clicking on links (#67) 2023-04-23 00:09:04 +01:00
Beef
85d0bd263b [Global] Code cleanup pass 2023-04-15 19:54:23 +01:00
Amsyar Rasyiq
20310db733
[Themes] Implement chat background image (#64)
* [Themes] hardcode fuyu chat bg

* [Themes > BG] listen to theme file

* remove .apply()

* some uhh misc changes

* readd

* how

* [Global] Minor changes

---------

Co-authored-by: Beef <beefers@riseup.net>
2023-04-15 17:08:08 +01:00
Beef
b271240f76 [TS] Completely remove Indexable from Vendetta 2023-04-15 03:04:48 +01:00
Beef
32b3a0295c [UI] Overall overhaul 2023-04-15 02:57:03 +01:00
Beef
474aad2a47 [UI > Components] Move Search to our styled wrapper 2023-04-15 02:40:35 +01:00
Beef
4d68c112bc [UI > Components] Add Discord's SafeAreaView 2023-04-15 00:49:59 +01:00
Beef
5344f0017a
[SafeMode] Initial implementation (#61)
* [UI > Components] Add Discord's button

* [SafeMode] Initial work, basic ErrorBoundary patch

* [SafeMode] Custom error boundary (#57)

* [SafeMode] Add mostly complete custom error boundary

* [SafeMode] Use Button from @ui/components in error boundary

* [SafeMode] Wrap the error boundary in our own error boundary

* [SafeMode > ErrorBoundary] Code-style changes

---------

Co-authored-by: Beef <beefers@riseup.net>

* [TS] Add basic type for Discord's button

* [UI] Move Codeblock to components, and use it

* [UI > Settings] Allow disabling the ErrorBoundary in CustomPage

* [UI > Settings] Move the ErrorBoundary triggers to Developer

* [TS] Add Codeblock to types

* [TS] Use ButtonColors in Button type

* [SafeMode > ErrorBoundary] Rework

* [UI] Add HelpMessage to components

* [SafeMode] Proper implementation

* [Global] SafeMode is optional (#59)

* [UI > Developer] Restore the balance

* [SafeMode > ErrorBoundary] Optimise for tablet UI

* [SafeMode] Last-minute fixes

---------

Co-authored-by: Jack <30497388+FieryFlames@users.noreply.github.com>
Co-authored-by: Jack Matthews <jm5112356@gmail.com>
2023-04-13 19:42:14 +01:00
Beef
0f912c28e7 [UI > Settings] Do not re-set render in CustomPage 2023-04-09 19:59:15 +01:00
Beef
f89238cfce [UI > Settings] Pass empty dependency array in CustomPage 2023-04-09 19:14:32 +01:00
Beef
361b541ddc [Settings > Developer] Fix Asset Browser icon 2023-04-07 22:43:59 +01:00
Beef
a6cb2d0be3 [UI > (Plugin/Theme)Card] Action sheet upgrades 2023-04-06 00:51:53 +01:00
Beef
cfdee54d8e [TS] Fix alerts API types 2023-04-06 00:09:30 +01:00
Beef
aff1c83e94 [Global] Tidy usage of native modules 2023-04-05 20:40:17 +01:00
Jack Matthews
10618ae217 [Hotfix] Destructure arguments for url quickinstall after checking key 2023-04-05 17:35:38 +01:00
Beef
c8f54c1b0c [Plugins] Delete plugin data on removal 2023-04-04 19:57:49 +01:00
redstonekasi
b7a3580ccf [UI > Settings] Fix for latest Discord releases 2023-04-04 16:59:08 +01:00
Jack
ba20db27d9
[Hotfix] Hide install theme when loader does not support themes (#47) 2023-04-04 02:20:42 +01:00
Jack
5148fdb15f
[UI > QuickInstall] Implement (#45)
* [UI > QuickInstall] Init

* [Constants] Update PROXY_PREFIX

* [TS] Type additional constants

* [Style] Move Metro filter imports to top of imports
2023-04-04 01:35:59 +01:00
Beef
3082c840c8 [???] And just like that, it's gone.
This reverts commit 748640af56.
2023-04-01 23:59:58 +01:00
Beef
21fc6e86a8 [Bugfix] Make themes refetch correctly 2023-04-01 16:21:41 +01:00
Beef
748640af56 [???] Whatever may this do? 2023-04-01 11:49:23 +01:00
Beef
ac4da3032e [Global] Fixes for latest Discord versions 2023-03-30 19:56:32 +01:00
Beef
ebbfe83674 [Metro] Actually use findByName :husk: 2023-03-23 23:14:13 +00:00
Jack
ef702fb5ca [UI > Card] Move most actions into overflow action sheet (#43)
* [Plugin/ThemeCard] Move most actions into overflow action sheet

* [UI > Card] Move overflow menu, add icon to header

---------

Co-authored-by: Beef <beefers@riseup.net>
2023-03-23 23:10:21 +00:00
Jack
13cf5e6872
[Utils] Remove copyText (#39)
[Cleanup] Fix imports
2023-03-20 20:11:27 +00:00
Beef
e1e8012e60 [UI > ThemeCard] Allow manually refetching theme 2023-03-19 18:52:17 +00:00
Beef
85a83e4873
[Themes] Implement (#34)
* [Themes] Initial work

* [Themes] Read from __vendetta_themes and early UI (#36)

* [Themes] Read from `__vendetta_themes`

* [Themes] Save as JSON and native theming

* [Themes] Basic UI

* [Themes] Merge processed theme data

* [Themes] Import ReactNative from `@lib/preinit`, oraganize imports

* [Themes] Some minor cleanup

* [Themes] UI overhaul

* [Themes] Minor adjustments

* [Themes] Implement updates, make UI reactive-ish

* [Themes] Move to new format

* [Themes > UI] Last-minute ThemeCard changes

* [Themes] Properly support AMOLED

---------

Co-authored-by: Amsyar Rasyiq <82711525+amsyarasyiq@users.noreply.github.com>
2023-03-17 21:58:37 +00:00
Beef
2201ff3a1d [Bugfix] Fix forced Hindi timestamps 2023-03-07 23:12:41 +00:00
Jack
dc5ad0ca1f
[UI > Summary] Add animation (#29) 2023-03-04 22:33:00 +00:00