-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: merge patch RVX/anddea #55
Conversation
…` and `Hide live chat header`
Replaces "Shorts outline patch".
Needed for MMT (custom branding icon) animation. Although, it could be integrated inside "Custom branding icon" patch as a booleanPatchOption.
…ranslation / strings.xml
Because there are so many changes, reviewing PRs can take a long time. I will try to review as quickly as possible, but I recommend not adding new changes to the PR branch if possible. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Also, for other localizations, it appears messy, so ordering alphabetically (for English) does not seem like a good idea after all. |
The refactored RVX doesn't adhere to lexicographic arrangement as perfectly as before, but it nonetheless tries to preserve lexicographic arrangement as much as possible The arrangement of settings in RVX follows the official ReVanced settings, and I recommend not altering this order as much as possible to keep track of the official ReVanced source |
I don't think the keys (such as key, title, summary, etc.) are the same as in ReVanced. Are they? If you revert to the original settings order but include settings icons, you'll notice the mess in some places. But of course, it's up to you. You can just revert that one If you include icons, you'll navigate by them once you get used to them. However, if you see a different order than in the UI, it may cause confusion. |
In revanced-patches-4.7.1 I added a number of changes to match ReVanced's keys, titles, and summaries as much as possible.
I think this still needs to be considered. I will think about it for another day and then make a decision. |
It's just a customization option that can be turned off like any other patch, it can be also integrated inside Multiple people already opened issues in your repo asking for it and there are a lot of people coming to my repo for this feature that's why I opened it, so people don't use multiple forks. Of course, all those icons and resources take more space and increase patches size. And with new changes, this patch might need to be updated as well. I created a poll for this feature if it's helpful. Edit: It's not a problem if you remove it, I just let you know about these changes and why they were done
|
I mean, I'm not saying I won't merge this PR I am talking about a change in the arrangement order of settings I reorganized the settings arrangement to match the order of the official ReVanced settings, but PR is reverting this change If possible I would like to keep the arrangement order of the settings current |
he's talking about the |
Ofc, you can revert it back by just copy-pasting your current arrangement. I've fixed some typos in keys, so only those have to be kept. And added key for this preference (used for visual preferences icons)
I think that's it, don't remember if there are other changes for settings icons. Although, for me it seems better when General is on top. Also, there was a request for this before by someone. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strings
src/main/kotlin/app/revanced/patches/music/layout/branding/icon/CustomBrandingIconPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/music/misc/translations/TranslationsPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/music/misc/translations/TranslationsPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/music/misc/translations/TranslationsPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/youtube/general/snackbar/ForceSnackbarTheme.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/youtube/layout/translations/TranslationsPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/youtube/shorts/overlaybuttons/ShortsOverlayButtonsPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/youtube/shorts/overlaybuttons/ShortsOverlayButtonsPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/youtube/utils/settings/SettingsPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/youtube/utils/settings/SettingsPatch.kt
Outdated
Show resolved
Hide resolved
Co-authored-by: KobeW50 <[email protected]>
Co-authored-by: KobeW50 <[email protected]>
Co-authored-by: KobeW50 <[email protected]>
…ome missing strings, fix typo
…ome missing strings, fix typo
src/main/kotlin/app/revanced/patches/youtube/utils/settings/VisualPreferencesIconsPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/youtube/utils/settings/VisualPreferencesIconsPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/youtube/utils/settings/VisualPreferencesIconsPatch.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/app/revanced/patches/youtube/utils/settings/VisualPreferencesIconsPatch.kt
Outdated
Show resolved
Hide resolved
…a more appropriate resource path, Clarify patch option, Excluded by default
src/main/kotlin/app/revanced/patches/youtube/shorts/overlaybuttons/ShortsOverlayButtonsPatch.kt
Outdated
Show resolved
Hide resolved
…esources, add missing dependencies
…on buttons`, change patch option name
…ng is visible on YouTube versions prior to 18.33.40
Thanks |
In Visual Preference icons, as it is known that @inotia00 haven't included the "Extended name" and "extended icon" for options.json. It is good to see this. But the default icon for "Revanced Extended settings" is still set to "extension" which should be replaced with "Revanced" icon, to match it properly. As extension icon doesn't suits to Revanced settings. So, pls change the "ExtendedIcon" from "Extension" to "Revanced" or something like that in the upcoming dev releases or stable. |
"Extension" icon is used because these settings are Extensions for RV Extended, just like in the browser, you have normal settings and you can extend them with extensions, but you have plenty of options there if you want to change the dafault, including custom branding icons. |
No option...for the change, there should be extendedIcon key, which is not there. As I think, he removed it from options file |
You have indeed an option in the options.json under "Visual preferences icons", where you can change the settings icon of the revanced settings ("key": "RVXSettingsMenuIcon"). The name ("key": "RVXSettingsMenuName") and position ("key": "InsertPosition") is changeable with the "Settings" option. |
After this merge, "Revancify Yellow" can't be used with inotia00 patches whereas it was possible in anddea patches. |
"Revancify Yellow" icon was not included in this PR |
@anddea Thank you. |
I'll open more PRs with new fixes and features when I have time and patience. There was no Revancify Yellow or new splash animations for AFN icons at the time when this PR was created. |
I'll take care of the pr about Revancify yellow |
inotia00/revanced-integrations#43
To inform about each feature, you can copy the commit messages. Feel free to change code/resources however you want, as I currently don't have the time.
Some notes:
Force snackbar theme
does not change the snackbar for the player (e.g., quality change, captions, etc.). I couldn't find the responsible resource; it is probably implemented in the code (Jetpack Compose? I'm not sure, as I didn't have time to check).Add splash animation
patch can be integrated into theCustom branding icon
patch and is needed only for the MMT animation.TODO:
dev
branch