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

feat: add functionality to remove username from header #298

Closed
wants to merge 1 commit into from

Conversation

zainab-amir
Copy link

In the spirit of making registration experience quick and easy (more details on MVP scope doc), we want to be able to remove username from the registration form. This creates the need to remove it everywhere on the UX too. As part of this initiative, we will be removing username from the headers and making the dropdown consistent with edx.org site.

We have kept this change behind the HIDE_USERNAME_FROM_HEADER environment variable. By default, this feature is turned off.

Before After
Screenshot 2024-02-10 at 3 21 28 PM Screenshot 2024-02-10 at 4 08 22 PM

VAN-1805

* Added a new environment variable that controls whether we want
to remove username from header
* Updated header component to hide username

VAN-1805
Copy link

codecov bot commented Feb 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5389058) 68.07% compared to head (033419c) 68.23%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #298      +/-   ##
==========================================
+ Coverage   68.07%   68.23%   +0.16%     
==========================================
  Files          43       43              
  Lines         783      787       +4     
  Branches      154      158       +4     
==========================================
+ Hits          533      537       +4     
  Misses        242      242              
  Partials        8        8              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zainab-amir
Copy link
Author

We have decided not to make changes to custom header and instead wait for this MFE to use frontend-component-header.

@zainab-amir zainab-amir deleted the zamir/VAN-1805/remove_username branch February 21, 2024 06:46
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.

1 participant