Skip to content

Extension mandarin, pinyin, english 3 in 1 synchronised #3694

Closed
persopourytb-wq wants to merge 1 commit intospicetify:mainfrom
persopourytb-wq:main
Closed

Extension mandarin, pinyin, english 3 in 1 synchronised #3694
persopourytb-wq wants to merge 1 commit intospicetify:mainfrom
persopourytb-wq:main

Conversation

@persopourytb-wq
Copy link

@persopourytb-wq persopourytb-wq commented Feb 7, 2026

discord v2vymlkn for any inquiries

Summary by CodeRabbit

  • New Features
    • Added Mandarin Lyrics extension to expand the suite of available functionality for users.

@coderabbitai
Copy link

coderabbitai bot commented Feb 7, 2026

📝 Walkthrough

Walkthrough

The pull request adds a new extension entry "Mandarin Lyrics" to manifest.json, including metadata fields such as name, description, preview URL, and main script URL alongside existing extensions.

Changes

Cohort / File(s) Summary
New Extension Entry
manifest.json
Added "Mandarin Lyrics" extension object with name, description, preview URL, and main script URL to the extensions array.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A lyric extension hops into view,
Mandarin melodies, fresh and new!
The manifest grows, one entry more,
Opening musical doors we explore! 🎵✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Title check ❓ Inconclusive The PR title 'Extension mandarin, pinyin, english 3 in 1 synchronised' is vague and does not clearly describe the actual change of adding a 'Mandarin Lyrics' extension to manifest.json. Use a clearer, more specific title like 'Add Mandarin Lyrics extension to manifest' that accurately reflects the actual change being made.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Fix all issues with AI agents
In `@manifest.json`:
- Line 47: The manifest's "preview" value currently points to a personal test
repo image which is unstable; update the "preview" field in manifest.json (the
"preview" key) to either null or a stable, trusted image URL (e.g., an approved
Imgur/CID-hosted asset) so the extension uses a consistent external preview
source.
- Around line 44-49: The manifest entry for the extension named "Mandarin
Lyrics" currently points its "main" field to an external URL, which bypasses
review — download or copy the extension bundle from
https://raw.githubusercontent.com/persopourytb-wq/test/main/dist/index.js into
the repository under the Extensions/ directory (e.g.,
Extensions/mandarin-lyrics.js), update the "main" value in the manifest from the
external URL to the new relative path ("Extensions/mandarin-lyrics.js"), remove
any remaining externally hosted references (and optionally vendor the preview
image under Extensions or assets and update "preview"), and include the vendored
files in this PR so the code is reviewable and auditable.
🧹 Nitpick comments (1)
manifest.json (1)

46-46: Description is missing a trailing period for consistency.

Minor nit: most other extension descriptions end with a period/full sentence. This one does not. Not blocking, but worth aligning.

Comment on lines +44 to 49
{
"name": "Mandarin Lyrics",
"description": "Display Mandarin Chinese lyrics with synchronized pinyin romanization and English translation",
"preview": "https://raw.githubusercontent.com/persopourytb-wq/test/main/preview.png",
"main": "https://raw.githubusercontent.com/persopourytb-wq/test/main/dist/index.js"
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🚨 Critical security risk: externally hosted extension code bypasses all review controls.

Every other extension in this manifest uses a local relative path (e.g., "Extensions/trashbin.js"), meaning the code is vendored in-repo and subject to PR review. This entry points main to https://raw.githubusercontent.com/persopourytb-wq/test/main/dist/index.js — a personal GitHub repo named "test".

This means:

  1. No code review is possible — the actual extension source is not part of this PR or this repository.
  2. Arbitrary code injection — the repo owner can push any changes to their main branch at any time, and those changes would be served to all users automatically, with zero oversight.
  3. No stability guarantee — the repo can be deleted, renamed, or made private at any time, breaking the extension for all users.

The extension JS should be vendored locally under Extensions/ like all other entries, so it goes through the normal review process.

-		"main": "https://raw.githubusercontent.com/persopourytb-wq/test/main/dist/index.js"
+		"main": "Extensions/mandarinLyrics.js"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
{
"name": "Mandarin Lyrics",
"description": "Display Mandarin Chinese lyrics with synchronized pinyin romanization and English translation",
"preview": "https://raw.githubusercontent.com/persopourytb-wq/test/main/preview.png",
"main": "https://raw.githubusercontent.com/persopourytb-wq/test/main/dist/index.js"
}
{
"name": "Mandarin Lyrics",
"description": "Display Mandarin Chinese lyrics with synchronized pinyin romanization and English translation",
"preview": "https://raw.githubusercontent.com/persopourytb-wq/test/main/preview.png",
"main": "Extensions/mandarinLyrics.js"
}
🤖 Prompt for AI Agents
In `@manifest.json` around lines 44 - 49, The manifest entry for the extension
named "Mandarin Lyrics" currently points its "main" field to an external URL,
which bypasses review — download or copy the extension bundle from
https://raw.githubusercontent.com/persopourytb-wq/test/main/dist/index.js into
the repository under the Extensions/ directory (e.g.,
Extensions/mandarin-lyrics.js), update the "main" value in the manifest from the
external URL to the new relative path ("Extensions/mandarin-lyrics.js"), remove
any remaining externally hosted references (and optionally vendor the preview
image under Extensions or assets and update "preview"), and include the vendored
files in this PR so the code is reviewable and auditable.

{
"name": "Mandarin Lyrics",
"description": "Display Mandarin Chinese lyrics with synchronized pinyin romanization and English translation",
"preview": "https://raw.githubusercontent.com/persopourytb-wq/test/main/preview.png",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

External preview image should be hosted consistently with other extensions.

The preview URL points to the same personal "test" repo. Other extensions either use null or stable Imgur links. If this extension is accepted, the preview image should be hosted on a stable, trusted location rather than a repo the author could delete or modify at any time.

🤖 Prompt for AI Agents
In `@manifest.json` at line 47, The manifest's "preview" value currently points to
a personal test repo image which is unstable; update the "preview" field in
manifest.json (the "preview" key) to either null or a stable, trusted image URL
(e.g., an approved Imgur/CID-hosted asset) so the extension uses a consistent
external preview source.

@rxri
Copy link
Member

rxri commented Feb 7, 2026

Use your own repo to get it on marketplace. There is a wiki with how to publish it there

@rxri rxri closed this Feb 7, 2026
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