Skip to content
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

bug(YouTube/Hide Visit store button): The 'Visit store' button on channel profile isn't hidden #2121

Closed
5 tasks done
ILoveOpenSourceApplications opened this issue Jun 5, 2024 · 25 comments
Labels
A/B test Reproducible only in some users Bug report Something isn't working

Comments

@ILoveOpenSourceApplications
Copy link

ILoveOpenSourceApplications commented Jun 5, 2024

Type

Error at runtime

Tools used

RVX Manager

Application

YouTube v19.19.39

Bug description

Hide 'Visit store' button isn't working.
Screenshot_20240605_192319_YouTube

Error logs

No response

Solution

Adding the litho component: ^channel_profile.eml$header_store_button in custom filter seems to work.

04-21 18:08:29.982 11186 11186 D revanced: LithoFilterPatch: Searching ID: null Path: channel_profile.eml|fe7264abae464c88|channel_profile_phone.eml|4a5e3ed8b99b52ed|ContainerType|channel_action_buttons_phone.eml|93f701b73481db51|ContainerType|button.eml|e4d01425197b9e68|ContainerType| BufferStrings: Visit storeΓ¥Ösans-serifΓ¥Öeml.header_store_buttonΓ¥ÖUCV6mNrW8CrmWtcxWfQXy11gΓ¥Ö8gYEEgIqAA%3D%3D"Γ¥Ö/@DarkViperAUΓ¥Ö
04-21 18:08:29.982 11186 11186 D revanced: LithoFilterPatch: Searching ID: null Path: channel_profile.eml|fe7264abae464c88|channel_profile_phone.eml|4a5e3ed8b99b52ed|ContainerType|channel_action_buttons_phone.eml|93f701b73481db51|ContainerType|button.eml|e4d01425197b9e68|ContainerType|TextType| BufferStrings: Visit storeΓ¥Ösans-serifΓ¥Öeml.header_store_buttonΓ¥ÖUCV6mNrW8CrmWtcxWfQXy11gΓ¥Ö8gYEEgIqAA%3D%3D"Γ¥Ö/@DarkViperAUΓ¥Ö

Additional context

No response

Device Environment

No response

Acknowledgements

  • This issue does not reproduce on unpatched YouTube or YT Music.
  • This issue is not a duplicate of an existing bug report.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
  • I have written the title and contents in English.
@ILoveOpenSourceApplications ILoveOpenSourceApplications added the Bug report Something isn't working label Jun 5, 2024
@ILoveOpenSourceApplications
Copy link
Author

@KobeW50

This comment has been minimized.

@ILoveOpenSourceApplications
Copy link
Author

ILoveOpenSourceApplications commented Jun 5, 2024

I hadn't updated to 4.8.6 since the changelogs didn't have many changes that interested me and this wasn't mentioned either. Looks like it was fixed. Closing this then.

@ILoveOpenSourceApplications
Copy link
Author

ILoveOpenSourceApplications commented Jun 5, 2024

On an unrelated note @inotia00, the method which is used to hide the individual tabs on the channel profile, is it a complex method or is it something simple?

@ILoveOpenSourceApplications
Copy link
Author

Also @KobeW50, shouldn't it be 'Visit store'?

@ILoveOpenSourceApplications
Copy link
Author

The patch was renamed, but the button isn't hidden for me.

@ILoveOpenSourceApplications ILoveOpenSourceApplications changed the title bug(YouTube/Hide browse store button): Hide the 'Visit store' button on channel profile bug(YouTube/Hide Visit store button): Hide the 'Visit store' button on channel profile isn't hidden Jun 5, 2024
@ILoveOpenSourceApplications ILoveOpenSourceApplications changed the title bug(YouTube/Hide Visit store button): Hide the 'Visit store' button on channel profile isn't hidden bug(YouTube/Hide Visit store button): The 'Visit store' button on channel profile isn't hidden Jun 5, 2024
@KobeW50
Copy link
Contributor

KobeW50 commented Jun 5, 2024

Also @KobeW50, shouldn't it be 'Visit store'?

I'm not sure. Based off of this comment and the third commit in this PR I would assume that it shouldn't have single quotes. This is why I made this commit to revert many of the single-quotes that added earlier in the PR.

I'm not sure if the stuff that has single-quotes in Revanced is meant to have them in RVX (eg: Hide 'For you' shelf)

@ILoveOpenSourceApplications
Copy link
Author

Single word components are so far the ones which use a first letter capitalize method. If it's a two word component, I think the quotation is used to indicate that both the word is part of the component.

@ILoveOpenSourceApplications
Copy link
Author

Examples: 'For you', 'Notify me', and now 'Visit store'.

@KobeW50
Copy link
Contributor

KobeW50 commented Jun 5, 2024

Single word components are so far the ones which use a first letter capitalize method. If it's a two word component, I think the quotation is used to indicate that both the word is part of the component.

Examples: 'For you', 'Notify me', and now 'Visit store'.

It makes sense, but I understand why it isn't desirable to have quotes. It makes the settings look cluttered, and the sentences aren't truly ambiguous without them.

For example, in the title Hide Playback speed menu, it is obvious that "speed" must be connected to "Playback", and that "menu" is separate and not part of the proper noun.

Regardless of the convention, it should always be consistent. So either every multi-word proper noun has quotes, or none should have quotes.

@ILoveOpenSourceApplications
Copy link
Author

Regardless of the convention, it should always be consistent. So either every multi-word proper noun has quotes, or none should have quotes.

Yes. This is a decision that needs to be made by @inotia00.

inotia00 added a commit to inotia00/revanced-integrations that referenced this issue Jun 10, 2024
@inotia00
Copy link
Owner

reflected in revanced-patches-4.9.1-dev.1

@inotia00 inotia00 added the Partially resolved Fixed in certain versions label Jun 10, 2024
@ILoveOpenSourceApplications
Copy link
Author

It's still not hidden.

@inotia00
Copy link
Owner

It works for me

@ILoveOpenSourceApplications
Copy link
Author

Video

Screen_Recording_20240611_101933_YouTube.mp4

@ILoveOpenSourceApplications
Copy link
Author

I'll do a litho check again. Even when adding ^channel_profile.eml$header_store_button to custom filters, the button isn't hidden for me.

@inotia00
Copy link
Owner

If so, the path would have changed

Attach an Extended debug logging, not the debug logging of the revanced

@inotia00 inotia00 added the A/B test Reproducible only in some users label Jun 11, 2024
@ILoveOpenSourceApplications
Copy link
Author

ILoveOpenSourceApplications commented Jun 11, 2024

The path did change. It's now ^page_header.eml$header_store_button and leaves behind a blank space where the button was unlike the previous one.

Screenshot_20240611_114736_YouTube

06-11 11:16:42.181 16748 16748 D Extended: LithoFilterPatch: Path: page_header.eml|29bf20f8b14236d4|ContainerType|ContainerType|ContainerType|flexible_actions.eml|daf1064fca739913|ContainerType|ContainerType|ContainerType|button.eml|ebc698722222cbfe|ContainerType|
06-11 11:16:42.181 16748 16748 D Extended: LithoFilterPatch: BufferStrings: Visit storeΓ¥Ösans-serifΓ¥Öeml.header_store_buttonΓ¥ÖVisit storeΓ¥ÖUCeeFfhMcJa1kjtfZAGskOCAΓ¥ÖEgVzdG9yZfIGBBICKgA%3D"Γ¥Ö/@techlinkedΓ¥Ö

@inotia00
Copy link
Owner

Thanks, I'm sure that this is an A/B tests

@ILoveOpenSourceApplications
Copy link
Author

Should be. I will try and see if it returns to the old one and if so, all is well. But if not, their will be a blank space of nothing when the button is hidden, thanks YouTube.

@ILoveOpenSourceApplications
Copy link
Author

It makes sense, but I understand why it isn't desirable to have quotes. It makes the settings look cluttered, and the sentences aren't truly ambiguous without them.

For example, in the title Hide Playback speed menu, it is obvious that "speed" must be connected to "Playback", and that "menu" is separate and not part of the proper noun.

Regardless of the convention, it should always be consistent. So either every multi-word proper noun has quotes, or none should have quotes.

Also, @inotia00 any comments on this?

@inotia00
Copy link
Owner

It's off-topic
If you need a discussion to improve the patch description or string, a new issue should be opened

@ILoveOpenSourceApplications
Copy link
Author

Okay. Opened a new issue.

inotia00 added a commit to inotia00/revanced-integrations that referenced this issue Jun 12, 2024
@inotia00
Copy link
Owner

reflected in revanced-patches-4.9.1

FYI: Hidden, but still left empty space

@inotia00 inotia00 removed the Partially resolved Fixed in certain versions label Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A/B test Reproducible only in some users Bug report Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants
@KobeW50 @inotia00 @ILoveOpenSourceApplications and others