Skip to content

feat(YouTube - Hide layout components): Add Hide ticket shelf #4969

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

Conversation

ILoveOpenSourceApplications
Copy link
Contributor

@ILoveOpenSourceApplications ILoveOpenSourceApplications commented May 16, 2025

Adds an option to hide ticket shelf.

Image:
IMG_20250516_225355

Relevant lines:

05-16 22:33:52.224 17677 17803 D revanced: LithoFilterPatch: Searching ID: null Path: horizontal_shelf.eml|c2c9070512dc41a2|CellType|horizontal_shelf_content.eml|ab52c6f5db53a550|ContainerType|ContainerType|CollectionType| BufferStrings: 73e2a102-0000-2c32-aa22-14223bb596e2❙ticket.eml|599a06a5bf462d27❙73e2a101-0000-2c32-aa22-14223bb596e2❙ticket.eml|599a06a5bf462d27❙73e2a100-0000-2c32-aa22-14223bb596e2❙ticket.eml|599a06a5bf462d27❙73e2a0ff-0000-2c32-aa22-14223bb596e2❙ticket.eml|599a06a5bf462d27❙73e2a0fe-0000-2c32-aa22-14223bb596e2❙ticket.eml|599a06a5bf462d27❙73e2a0fd-0000-2c32-aa22-14223bb596e2❙ticket.eml|599a06a5bf462d27❙horizontal_shelf_content.shelf_header❙shelf_header.eml|14bfacb9a7fef902❙horizontal-video-shelf.view❙
05-16 22:33:52.236 17677 18600 D revanced: LithoFilterPatch: Searching ID: ticket.eml|599a06a5bf462d27 Path: horizontal_shelf.eml|c2c9070512dc41a2|CellType|horizontal_shelf_content.eml|ab52c6f5db53a550|ContainerType|ContainerType|CollectionType|ticket.eml|599a06a5bf462d27|ticket.eml|599a06a5bf462d27|CellType| BufferStrings: 73e2a0fe-0000-2c32-aa22-14223bb596e2❙yt_outline_open_new_black_24❙Bandsintown❙sans-serif-regular❙27 Jun, Fri 19:00❙sans-serif-regular❙Lake Arrowhead, CA, United States❙sans-serif-regular❙id.ticket_engagement_item.view❙Lake Arrowhead, CA, United States, 27 Jun ❙ Find on Bandsintown❙https://www.youtube.com/redirect?event=ticket_shelf&redir_token=QUFFLUhqbGpNR0cwSDVQS1VHbnhOeW8zYnFoeHF0Uk5ZUXxBQ3Jtc0trY3llb1puMWtnbDNzcGVuRk1WTmxDcUVycm1oLXNzcFV3N0k1SG8wM1ZOc0JYM0t2aVl1ZF96alJDaWhfSWNOMU9RUjdwMmhGc0xtUE5OM181R0dYRDZIWl9Ca3hjcllFOFhIc2NjdmlkZ1dDcXE4MA&q=https%3A%2F%2Fwww.bandsintown.com%2Fe%2F106500617%3Fapp_id%3Dyt_feed%26came_from%3D286%26utm_medium%3Dweb%26utm_source%3Dggl_feed%26utm_campaign%3Devent%26utm_source%3Dyoutube%26utm_medium%3Dticket_shelf&html_redirect=1❙1747414816780419438❙ticket.eml|599a06a5bf462d27❙id.ticket_engagement_item.view❙Lake Arrowhead, CA, United States, 27 Jun ❙ Find on Bandsintown❙

@LisoUseInAIKyrios

This comment was marked as resolved.

# Conflicts:
#	extensions/youtube/src/main/java/app/revanced/extension/youtube/patches/components/LayoutComponentsFilter.java
@ILoveOpenSourceApplications
Copy link
Contributor Author

Did you verify this works on a device?

No, It only hides the ticket shelf only. To hide it entirely, horizontal_shelf.eml$ticket needs to be used. So, how to do it since its already there?

@LisoUseInAIKyrios
Copy link
Contributor

This only appears on the player page?

@ILoveOpenSourceApplications
Copy link
Contributor Author

Yes

@ILoveOpenSourceApplications

This comment was marked as off-topic.

@LisoUseInAIKyrios

This comment was marked as off-topic.

@ILoveOpenSourceApplications ILoveOpenSourceApplications force-pushed the feat/hide-ticket-shelf branch 2 times, most recently from 76386ef to c495f0c Compare May 17, 2025 07:50
@ILoveOpenSourceApplications

This comment was marked as resolved.

@LisoUseInAIKyrios

This comment was marked as resolved.

@ILoveOpenSourceApplications

This comment was marked as outdated.

# Conflicts:
#	extensions/youtube/src/main/java/app/revanced/extension/youtube/patches/components/LayoutComponentsFilter.java
@ILoveOpenSourceApplications

This comment was marked as off-topic.

@LisoUseInAIKyrios

This comment was marked as off-topic.

@LisoUseInAIKyrios LisoUseInAIKyrios merged commit 6436af7 into ReVanced:dev May 17, 2025
1 check passed
github-actions bot pushed a commit that referenced this pull request May 17, 2025
# [5.24.0-dev.7](v5.24.0-dev.6...v5.24.0-dev.7) (2025-05-17)

### Features

* **YouTube - Hide layout components:** Add `Hide ticket shelf` ([#4969](#4969)) ([6436af7](6436af7))
@ILoveOpenSourceApplications ILoveOpenSourceApplications deleted the feat/hide-ticket-shelf branch May 17, 2025 11:00
github-actions bot pushed a commit that referenced this pull request May 19, 2025
# [5.24.0](v5.23.0...v5.24.0) (2025-05-19)

### Bug Fixes

* **Spotify - Fix third party launchers widgets:** Add missing compatibility annotation ([0493f80](0493f80))
* **YouTube - Hide layout components:** Fix `Hide video recommendation labels` ([#4956](#4956)) ([ae05ac3](ae05ac3))
* **YouTube - Settings:** Correctly show summary text if search box is closed before searching ([d0ae835](d0ae835))
* **YouTube - SponsorBlock:** Fix segment category summary not showing category description ([06934a6](06934a6))

### Features

* **GmsCore support:** Open vendor specific DontKillMyApp if available ([#4952](#4952)) ([b89927a](b89927a))
* **NU.nl:** Support version `11.3.0` ([#4925](#4925)) ([bedde60](bedde60))
* **Spotify:** Add `Fix third party launchers widgets` patch ([#4893](#4893)) ([23bfdc9](23bfdc9))
* **YouTube - Hide description components:** Add `Hide Ask` ([#4972](#4972)) ([ebc94a5](ebc94a5))
* **YouTube - Hide layout components:** Add `Hide ticket shelf` ([#4969](#4969)) ([6436af7](6436af7))
* **YouTube - Hide player components:** Hide related video overlay in fullscreen ([#4938](#4938)) ([ac9be97](ac9be97))
* **YouTube - Settings:** Add ability to search in settings ([#4881](#4881)) ([aca8b20](aca8b20))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants