diff --git a/.Jules/palette.md b/.Jules/palette.md index 5c1c16989..d09ffc315 100644 --- a/.Jules/palette.md +++ b/.Jules/palette.md @@ -37,3 +37,4 @@ ## 2026-07-02 - Inline clear buttons preserve focus **Learning:** Inline clear buttons often unmount immediately after clearing state, which can drop keyboard focus to the document body. **Action:** Move focus back to the owning input before clearing state, and cover the behavior with a DOM focus test. +## 2026-08-01 - Disabled icon-only buttons wrapping rule\n**Learning:** When using custom components (e.g., Base UI ` + {(!projectId) && {t("scoreNavDisabledHint")}} + + {!projectId && ( @@ -184,24 +192,33 @@ export function ScoreView({ song, projectId, onSongUpdate }: ScoreViewProps) { - + {(!projectId) && {t("scoreNavDisabledHint")}} + + ))}