[PR #118] [MERGED] Fix/chapters #148

Closed
opened 2026-03-04 00:04:08 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/YouG-o/YouTube-No-Translation/pull/118
Author: @YouG-o
Created: 10/17/2025
Status: Merged
Merged: 10/17/2025
Merged by: @YouG-o

Base: mainHead: fix/chapters


📝 Commits (5)

  • 77a9df1 renamed pannel to sidePannel (descriptionPannel coming)
  • b3f7f87 feat: check chapters translation even when description is original
  • 0b0d051 removed debug logs
  • c3e6bbe fix: prevent description replacement on wrong video during SPA navigation
  • 336dad3 changelog

📊 Changes

6 files changed (+257 additions, -50 deletions)

View changed files

📝 CHANGELOG.md (+5 -1)
📝 src/content/chapters/chaptersIndex.ts (+143 -4)
📝 src/content/chapters/sidePannel.ts (+0 -0)
📝 src/content/description/MainDescription.ts (+24 -17)
📝 src/content/observers.ts (+80 -28)
📝 src/utils/navigation.ts (+5 -0)

📄 Description

Fix #115

  • Chapters fixes:

    • Check chapters translation even when description is original.
  • Improved video processing to ensure descriptions and chapters are only applied when both DOM and URL video IDs match, preventing race conditions during SPA navigation that could cause content from one video to be applied to another.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/YouG-o/YouTube-No-Translation/pull/118 **Author:** [@YouG-o](https://github.com/YouG-o) **Created:** 10/17/2025 **Status:** ✅ Merged **Merged:** 10/17/2025 **Merged by:** [@YouG-o](https://github.com/YouG-o) **Base:** `main` ← **Head:** `fix/chapters` --- ### 📝 Commits (5) - [`77a9df1`](https://github.com/YouG-o/YouTube-No-Translation/commit/77a9df182711232b958e955c84c00613ddbdfe51) renamed pannel to sidePannel (descriptionPannel coming) - [`b3f7f87`](https://github.com/YouG-o/YouTube-No-Translation/commit/b3f7f87d57e8561a191c07e229957dc878001916) feat: check chapters translation even when description is original - [`0b0d051`](https://github.com/YouG-o/YouTube-No-Translation/commit/0b0d05108c7fbefa94f6a376d89af72fd51f0c6b) removed debug logs - [`c3e6bbe`](https://github.com/YouG-o/YouTube-No-Translation/commit/c3e6bbe87a3eb1437a61bf7c5cedada85cfb43a6) fix: prevent description replacement on wrong video during SPA navigation - [`336dad3`](https://github.com/YouG-o/YouTube-No-Translation/commit/336dad3b0924af22a4f776ef5fdb50e105a62eb1) changelog ### 📊 Changes **6 files changed** (+257 additions, -50 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+5 -1) 📝 `src/content/chapters/chaptersIndex.ts` (+143 -4) 📝 `src/content/chapters/sidePannel.ts` (+0 -0) 📝 `src/content/description/MainDescription.ts` (+24 -17) 📝 `src/content/observers.ts` (+80 -28) 📝 `src/utils/navigation.ts` (+5 -0) </details> ### 📄 Description ### Fix #115 - **Chapters fixes**: - Check chapters translation even when description is original. - Improved video processing to ensure descriptions and chapters are only applied when both DOM and URL video IDs match, preventing race conditions during SPA navigation that could cause content from one video to be applied to another. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 00:04:08 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/YouTube-No-Translation#148
No description provided.