Skip to content

Conversation

@rgoyal1295-debug
Copy link

@rgoyal1295-debug rgoyal1295-debug commented Dec 22, 2025

Hides the main lyrics button if you have any other lyrics extension installed.

Summary by CodeRabbit

  • New Features
    • Added a new snippet that hides the main lyrics button when another lyrics extension is present, helping reduce UI duplication.

✏️ Tip: You can customize this high-level summary in your review settings.

@rgoyal1295-debug rgoyal1295-debug requested a review from a team as a code owner December 22, 2025 20:09
@rgoyal1295-debug rgoyal1295-debug requested review from rxri and removed request for a team December 22, 2025 20:09
@coderabbitai
Copy link

coderabbitai bot commented Dec 22, 2025

Walkthrough

Added a new CSS snippet entry to resources/snippets.json that hides the main lyrics button via attribute selectors and references a preview image asset.

Changes

Cohort / File(s) Summary
New snippet + preview
resources/snippets.json, resources/assets/snippets/hide-main-lyrics-button.png
Inserted a new snippet object titled "Hide Lyrics Button" with fields: title, description, code (button[aria-label*="Lyrics"], button[aria-label*="lyrics"]{display:none!important}), and preview pointing to the image asset.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

  • Single JSON entry addition; review focus:
    • Validate JSON syntax and comma placement in resources/snippets.json
    • Confirm preview path points to the included image file

Suggested reviewers

  • rxri
  • kyrie25

Poem

🐰 I nudge a rule, so tiny and bright,
Button tucked away from plain sight.
With CSS whisper, the clutter is gone,
A hop and a tweak — the UI moves on. 🥕

Pre-merge checks and finishing touches

✅ Passed checks (3 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.
Title check ✅ Passed The title 'feat(snippets): add hide main lyrics button snippet' accurately and specifically describes the main change—adding a new snippet for hiding the main lyrics button.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 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: 1

📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3e330df and 98957d5.

⛔ Files ignored due to path filters (1)
  • resources/assets/snippets/hide-main-lyrics-button.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • resources/snippets.json
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: rxri
Repo: spicetify/marketplace PR: 1064
File: resources/snippets.json:539-539
Timestamp: 2025-12-06T15:28:17.086Z
Learning: In resources/snippets.json, CSS code must be minified and placed in the "code" variable as a single-line string. This is a project requirement, not a code quality issue.
📚 Learning: 2025-12-06T15:28:17.086Z
Learnt from: rxri
Repo: spicetify/marketplace PR: 1064
File: resources/snippets.json:539-539
Timestamp: 2025-12-06T15:28:17.086Z
Learning: In resources/snippets.json, CSS code must be minified and placed in the "code" variable as a single-line string. This is a project requirement, not a code quality issue.

Applied to files:

  • resources/snippets.json

@rgoyal1295-debug
Copy link
Author

Hi! This is my first Marketplace contribution.
Please let me know if anything needs to be adjusted. Thanks!

@rgoyal1295-debug rgoyal1295-debug changed the title Add Hide Main Lyrics Button Snippet feat(snippets): add hide main lyrics button snippet Dec 22, 2025
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.

1 participant