-
Notifications
You must be signed in to change notification settings - Fork 149
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
Put deprecated notes on the Environment tab #3022
Conversation
@@ -76,6 +82,13 @@ export const SettingsIndexPage: FC = memo(function SettingsIndexPage() { | |||
activeClassName={classes.activeNav} | |||
> | |||
<ListItemText primary={text} /> | |||
{link === PAGE_PATH_SETTINGS_ENV && ( |
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.
not sure why do we need this check? 🤔
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.
Because this is only for the Environment tab, but am I correct?
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.
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.
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.
The variable name may be a bit confusing, but it just tells it to show the Icon only if it is a ListItem for Environment.
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.
Ah okay, I get the point 👍 Thank you.
Co-authored-by: Le Van Nghia <nghialv2607@gmail.com>
Nice |
/approve |
What this PR does / why we need it:
Whenever you hover over the Environment tab at the settings page, you will see the notes "deprecated".
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?: