Skip to content

Conversation

@ssrijaindukuri-sonata
Copy link

@ssrijaindukuri-sonata ssrijaindukuri-sonata commented Jan 16, 2026

https://2u-internal.atlassian.net/browse/ENT-11231

Changes:

  • Added a Learners tab on the People Management page.
  • Used a feature flag to show or hide only the Learners tab, not the learner content.
  • Set the Learners tab as the default active tab when the feature flag is enabled.
  • When the feature flag is turned off, users can still see all learner-related content, just without the tab.
LearnersTab

Copy link
Contributor

@hkumar1-sonata hkumar1-sonata left a comment

Choose a reason for hiding this comment

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

Code changes Looks good to me. Just have a question/concern please address

const mapStateToProps = (state) => ({
enterpriseId: state.portalConfiguration.enterpriseId,
// learnersTabEnabled: state.portalConfiguration.enterpriseFeatures?.enterprise_invite_admins_enabled,
learnersTabEnabled: true,
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is learnersTabEnabled hardcoded to true here? This bypasses the actual feature flag. Should we instead read it from enterpriseFeatures?.enterprise_invite_admins_enabled to reflect real usage?

Choose a reason for hiding this comment

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

This was temporarily set to true for local testing. I’ll update it to read from the actual feature flag(.enterpriseFeatures?.enterprise_invite_admins_enabled)

@ssrijaindukuri-sonata ssrijaindukuri-sonata force-pushed the srija/ENT-11231 branch 3 times, most recently from a46e553 to a293abd Compare January 16, 2026 15:10
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.

2 participants