-
Notifications
You must be signed in to change notification settings - Fork 32
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
fix: hiding highlights for custom courses #1191
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1191 +/- ##
==========================================
- Coverage 85.47% 85.46% -0.01%
==========================================
Files 508 508
Lines 11060 11074 +14
Branches 2326 2329 +3
==========================================
+ Hits 9453 9464 +11
- Misses 1563 1566 +3
Partials 44 44 ☔ View full report in Codecov by Sentry. |
@@ -201,6 +224,7 @@ Sidebar.propTypes = { | |||
enableAnalyticsScreen: PropTypes.bool, | |||
onWidthChange: PropTypes.func, | |||
isMobile: PropTypes.bool, | |||
enterpriseGroupsV1: PropTypes.bool, |
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.
nit: Would help readability to have a name that's a bit more explicit that it is a feature flag, IMO
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.
I think it follows the same naming pattern as the other features, and you can see thats its being brought in from enterpriseFeatures
When we have groups feature turned on and they have a group that doesn't apply to all contexts, we do not want to show the highlights feature in the sidebar.
Jira ticket