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

Closed
wants to merge 2 commits 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 1 56 51 PM Screenshot 2024-02-10 at 1 56 25 PM

VAN-1805

Copy link

codecov bot commented Feb 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b70c6d2) 88.10% compared to head (7486c8c) 92.30%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #375      +/-   ##
==========================================
+ Coverage   88.10%   92.30%   +4.19%     
==========================================
  Files         162      161       -1     
  Lines        3380     3365      -15     
  Branches      836      833       -3     
==========================================
+ Hits         2978     3106     +128     
+ Misses        398      253     -145     
- Partials        4        6       +2     

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

@zainab-amir zainab-amir force-pushed the zamir/VAN-1805/remove_username branch 2 times, most recently from cb1d98f to 8136e74 Compare February 10, 2024 11:13
* Added a new environment variable that controls whether we want
to remove username from header
* Updated header component to hide username

VAN-1805
@zainab-amir zainab-amir force-pushed the zamir/VAN-1805/remove_username branch from 8136e74 to c075a5c Compare February 12, 2024 11:03
@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 05:59
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