Add Disable Lyrics Not Found Notice option - #316
Conversation
Greptile SummaryThis PR adds a "Disable Lyrics Not Found Notice" toggle to the settings menu, storing the preference and applying a CSS class (
Confidence Score: 4/5Not safe to merge — the single CSS bug makes the core feature completely non-functional on page load. One P1 finding remains: the SCSS nesting error renders the hiding rule dead CSS, so the feature never works after a page reload. The fix is a one-line brace placement change. src/css/default.scss — the new rule must be moved outside the Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[app.tsx startup] --> B{storage has disableLyricsNotFoundNotice?}
B -- No --> C[Set to 'false']
C --> D[Read value]
B -- Yes --> D
D --> E{value === 'true'?}
E -- Yes --> F[Defaults.DisableLyricsNotFoundNotice = true]
E -- No --> G[Defaults.DisableLyricsNotFoundNotice = false]
F --> H[body.classList.add sl_hide_lyrics_not_found_notice]
G --> I[body.classList.remove sl_hide_lyrics_not_found_notice]
H --> J[CSS applies? ❌ Broken selector - nested inside body.sl_settings_top]
I --> K[Notice visible ✓]
L[User toggles setting] --> M[getFieldValue as boolean]
M --> N[storage.set 'true' or 'false']
N --> O[classList.toggle sl_hide_lyrics_not_found_notice]
O --> J
Reviews (2): Last reviewed commit: "Update src/css/default.scss" | Re-trigger Greptile |
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
|
Tip: Greploop — Automatically fix all review issues by running Use the Greptile plugin for Claude Code to query reviews, search comments, and manage custom context directly from your terminal. |
|
On god i need this |
|
Marketplace → Snippets → Add CSS
Should be an option... |
|
@Spikerko I join servers I'm interested in, but this thing only adds frustration, makes me skip songs unwittingly, and takes away any desire to join. A button in the settings with a Discord link would be sufficient and even more effective. |
Add an option to disable a Discord ad notice that makes me skip songs without lyrics more often which is a bad UX.