mirror of
https://github.com/YouG-o/YouTube-No-Translation.git
synced 2026-04-25 01:56:01 +03:00
[PR #72] [MERGED] Refact/main description #135
Labels
No labels
ToDo
bug
enhancement
enhancement
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/YouTube-No-Translation#135
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/YouG-o/YouTube-No-Translation/pull/72
Author: @YouG-o
Created: 7/25/2025
Status: ✅ Merged
Merged: 7/25/2025
Merged by: @YouG-o
Base:
main← Head:refact/mainDescription📝 Commits (6)
928ed65refactor: factorize description DOM insertion logic in updateDescriptionElement936e0b7refactor: centralize strict description comparison logicb5b94c1refactor: removed old cache system for main description, now use the new one (same as search descriptions)3298090refactor:a779d86refactor: extract timestamp parsing logic to createTimestampFragment for SRPfccdfecrefactor: Create createUrlLink utility for URL anchor generation in description parsing.📊 Changes
11 files changed (+417 additions, -493 deletions)
View changed files
📝
manifests/manifest.chromium.json(+1 -1)📝
manifests/manifest.edge.json(+1 -1)📝
manifests/manifest.firefox.json(+1 -1)📝
manifests/manifest.safari.json(+1 -1)📝
scripts/bundle-scripts.js(+1 -1)📝
src/content/channel/channelPlayer.ts(+1 -1)➕
src/content/description/MainDescription.ts(+404 -0)📝
src/content/description/MainDescriptionScript.js(+0 -0)➖
src/content/description/descriptionIndex.ts(+0 -263)📝
src/content/index.ts(+2 -2)📝
src/content/observers.ts(+5 -222)📄 Description
Refact (SPR & DRY)
Now uses new cache system (same as search descriptions)
Removed old cache
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.