-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fix: miscellaneous ui fixes #827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -155,14 +155,14 @@ const darkTheme = createTheme({ | |||||||||||||
styleOverrides: { | ||||||||||||||
root: { | ||||||||||||||
color: '#ffffff', | ||||||||||||||
"&:hover": { | ||||||||||||||
backgroundColor: 'rgba(255, 0, 195, 0.08)', | ||||||||||||||
}, | ||||||||||||||
// "&:hover": { | ||||||||||||||
// backgroundColor: 'rgba(255, 0, 195, 0.08)', | ||||||||||||||
// }, | ||||||||||||||
Comment on lines
+158
to
+160
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion | 🟠 Major Remove commented code or document the intention. Commented-out code should typically be removed rather than left in the codebase. If this is intentional for easy rollback or experimentation, add a comment explaining why it's being kept. Apply this diff to remove the commented code: root: {
color: '#ffffff',
- // "&:hover": {
- // backgroundColor: 'rgba(255, 0, 195, 0.08)',
- // },
'&.MuiIconButton-colorError': { Alternatively, if you need to keep it temporarily, add a comment explaining why: root: {
color: '#ffffff',
+ // Temporarily disabled to test default MUI hover behavior - remove after UI review
// "&:hover": {
// backgroundColor: 'rgba(255, 0, 195, 0.08)',
// }, 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
||||||||||||||
'&.MuiIconButton-colorError': { | ||||||||||||||
color: '#f44336', | ||||||||||||||
"&:hover": { | ||||||||||||||
backgroundColor: 'rgba(244, 67, 54, 0.08)', | ||||||||||||||
}, | ||||||||||||||
// "&:hover": { | ||||||||||||||
// backgroundColor: 'rgba(244, 67, 54, 0.08)', | ||||||||||||||
// }, | ||||||||||||||
Comment on lines
+163
to
+165
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion | 🟠 Major Remove commented code or document the intention. Same as above - commented-out code should be removed or explained. Apply this diff to remove the commented code: '&.MuiIconButton-colorError': {
color: '#f44336',
- // "&:hover": {
- // backgroundColor: 'rgba(244, 67, 54, 0.08)',
- // },
}, 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
||||||||||||||
}, | ||||||||||||||
}, | ||||||||||||||
}, | ||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Internationalize the tooltip text for consistency.
The tooltip text "Change Mode" is hardcoded, but the rest of the navbar uses the
t()
function for internationalization. This creates an inconsistency.Apply this diff to internationalize the tooltip:
Then add the corresponding translation key to your locale files (e.g.,
en.json
):And similarly for other locales (Spanish, Japanese, Chinese, German, Turkish).
🤖 Prompt for AI Agents