Skip to content
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

Add a setting to warn about deprecated instructions #5755

Merged
merged 1 commit into from
Oct 12, 2023
Merged

Conversation

D8H
Copy link
Collaborator

@D8H D8H commented Oct 10, 2023

image

@D8H D8H marked this pull request as ready for review October 10, 2023 17:43
@D8H D8H requested a review from 4ian as a code owner October 10, 2023 17:43
}
>
<Warning style={{ color: warningColor }} />
</IconButton>
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think you can avoid using an IconButton (this isn't really a button as you can't interact)
I'd go for wrapping the with a <Tooltip></Tooltip> from material-ui directly (check other parts of the code)

I would also suggest using fontSize="small" for the warning component, so that it stays quite small and doesn't increase the height of the line?

Copy link
Owner

Choose a reason for hiding this comment

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

Yep, definitely go for a smaller size. I'm always a bit afraid of using material ui stuff directly in the events sheet, which is fairly performance sensible. Tooltip is fine though, and just the icon if possible (no IconButton)

@D8H D8H merged commit 645d533 into master Oct 12, 2023
6 checks passed
@D8H D8H deleted the deprecated-warn branch October 12, 2023 14:55
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.

3 participants