Skip to content

feat(YouTube): Show community posts on channel page, but hide everywhere else #5235

Open
@0xrxL

Description

@0xrxL

Feature description

Community posts cannot be selectively hidden. This implies that if they are hidden inside homepage or video search, they will also be hidden in the Posts tab in the creator's channel.

Solution

The solution is to create a Boolean field named CommunityPostsVisible, with value assigned by the following methods in the class DefaultTabBar:

  • onLayout method, set Boolean the field to true.
  • An obfuscated method that contains the object of type id named tabs_bar_text_tab_separator, set the Boolean field to false.
  • Another obfuscated method that contains the string "community-tab-chip-posts-section", set the Boolean field to true (useful to show the community posts once you click on the button Show Communty, under Subscribe).

Acknowledgements

  • I have checked all open and closed bug reports and this is not a duplicate.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature requestRequesting a new feature that's not implemented yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions