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 #1169

Closed
wants to merge 2 commits into from

Conversation

zainab-amir
Copy link

@zainab-amir zainab-amir commented Feb 12, 2024

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-12 at 5 33 58 PM Screenshot 2024-02-12 at 5 48 17 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 (8e75c47) 85.43% compared to head (47fbf39) 85.60%.
Report is 18 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1169      +/-   ##
==========================================
+ Coverage   85.43%   85.60%   +0.16%     
==========================================
  Files         496      497       +1     
  Lines       10724    10829     +105     
  Branches     2256     2262       +6     
==========================================
+ Hits         9162     9270     +108     
+ Misses       1520     1515       -5     
- Partials       42       44       +2     

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

@zainab-amir zainab-amir marked this pull request as ready for review February 12, 2024 14:38
@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