-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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: Register Username form showing before homepage #29356
Conversation
|
Codecov Report
@@ Coverage Diff @@
## develop #29356 +/- ##
===========================================
+ Coverage 38.93% 45.66% +6.72%
===========================================
Files 646 693 +47
Lines 12413 12941 +528
Branches 2160 2221 +61
===========================================
+ Hits 4833 5909 +1076
+ Misses 7297 6728 -569
- Partials 283 304 +21
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
LGTM!
…e/system-messages-update * 'develop' of github.com:RocketChat/Rocket.Chat: (26 commits) fix: Importer crashes when sending the "active status" e-mail notification to users (#29401) docs: new README file (#27955) refactor: replace with new `Select` (#29368) fix: Sidebar's sort by name not being checked properly (#29415) fix: Login Terms custom content (#28999) fix: Broken link fixed inside webhook menu (#29048) fix: Apps settings i18n translation (#29394) fix: OTR session closing after 10 seconds without warning (#29245) fix: Register Username form showing before homepage (#29356) regression(ui-client): Toolbox action button badge in the wrong position (#29412) fix: marketplace filters are changing size (#28738) chore: Update highlighted word color (#29407) i18n: Language update from LingoHub 🤖 on 2023-05-22Z (#29317) chore(ddp-sdk): ts-jest -> swc/jest (#29380) chore: `ToolboxAction` pressed state (#29397) chore: add logs to recurring omnichannel cron jobs (#29392) regression: `t` using always sprintf (#29396) fix: fix wrong %s translations (#29395) regression(push): fix error when selecting what to import (#29289) chore: Change ddpsdk.stream to return subscription (#29375) ...
Proposed changes (including videos or screenshots)
Meteor Minimongo Collection was causing delays in populating user data in the front end, causing layout updates with different rules (the username was not being sent to UI the first time sending the user to the username registration form).
To avoid the incomplete stream from Meteor, I used the REST endpoint with the existing hook to get user info to get the full user data and check whether it has a username or not.
Issue(s)
Steps to test or reproduce
Further comments
WM-46