Skip to content

Conversation

@yash-rajpal
Copy link
Member

@yash-rajpal yash-rajpal commented Feb 6, 2025

Proposed changes (including videos or screenshots)

When a user enables/disables their email two factor, we were not sending this info on the streams, due to which the client side's Meteor.user() wasn't reactive to this change.

This PR propagates this change in user, making the client reactive to this change.

Issue(s)

The email 2FA buttons on user's security page are not reactive.

Steps to test or reproduce

  • Go to Security page in user's account
  • Enable/Disable user's email two factor auth
  • The UI doesn't reflect the changes

Further comments

CORE-977

@dionisio-bot
Copy link
Contributor

dionisio-bot bot commented Feb 6, 2025

Looks like this PR is ready to merge! 🎉
If you have any trouble, please check the PR guidelines

@changeset-bot
Copy link

changeset-bot bot commented Feb 6, 2025

🦋 Changeset detected

Latest commit: ceca6df

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 35 packages
Name Type
@rocket.chat/meteor Patch
@rocket.chat/core-typings Patch
@rocket.chat/rest-typings Patch
@rocket.chat/uikit-playground Patch
@rocket.chat/api-client Patch
@rocket.chat/apps Patch
@rocket.chat/core-services Patch
@rocket.chat/cron Patch
@rocket.chat/ddp-client Patch
@rocket.chat/freeswitch Patch
@rocket.chat/fuselage-ui-kit Patch
@rocket.chat/gazzodown Patch
@rocket.chat/livechat Patch
@rocket.chat/model-typings Patch
@rocket.chat/ui-contexts Patch
@rocket.chat/account-service Patch
@rocket.chat/authorization-service Patch
@rocket.chat/ddp-streamer Patch
@rocket.chat/omnichannel-transcript Patch
@rocket.chat/presence-service Patch
@rocket.chat/queue-worker Patch
@rocket.chat/stream-hub-service Patch
@rocket.chat/license Patch
@rocket.chat/omnichannel-services Patch
@rocket.chat/pdf-worker Patch
@rocket.chat/presence Patch
rocketchat-services Patch
@rocket.chat/models Patch
@rocket.chat/network-broker Patch
@rocket.chat/ui-avatar Patch
@rocket.chat/ui-client Patch
@rocket.chat/ui-video-conf Patch
@rocket.chat/ui-voip Patch
@rocket.chat/web-ui-registration Patch
@rocket.chat/instance-status Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@yash-rajpal yash-rajpal marked this pull request as ready for review February 6, 2025 15:33
@yash-rajpal yash-rajpal added this to the 7.4.0 milestone Feb 6, 2025
@yash-rajpal yash-rajpal requested a review from a team February 6, 2025 15:42
@codecov
Copy link

codecov bot commented Feb 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.43%. Comparing base (ae135d6) to head (ceca6df).
Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop   #35140   +/-   ##
========================================
  Coverage    59.43%   59.43%           
========================================
  Files         2825     2825           
  Lines        68155    68155           
  Branches     15123    15123           
========================================
  Hits         40505    40505           
  Misses       24992    24992           
  Partials      2658     2658           
Flag Coverage Δ
unit 75.68% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Copy link
Contributor

@MarcosSpessatto MarcosSpessatto left a comment

Choose a reason for hiding this comment

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

What about adding a test to cover this?

@yash-rajpal yash-rajpal requested a review from a team as a code owner February 12, 2025 15:04
Copy link
Member

@dougfabris dougfabris left a comment

Choose a reason for hiding this comment

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

Approving on behalf of frontend team

@jessicaschelly jessicaschelly added the stat: QA assured Means it has been tested and approved by a company insider label Feb 13, 2025
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label Feb 13, 2025
@kodiakhq kodiakhq bot merged commit 9e84ebc into develop Feb 13, 2025
47 of 48 checks passed
@kodiakhq kodiakhq bot deleted the fix/email2fa-reactivity branch February 13, 2025 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stat: QA assured Means it has been tested and approved by a company insider stat: ready to merge PR tested and approved waiting for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants