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

refactor: Move add and remove role code out of Roles model #34488

Merged
merged 6 commits into from
Dec 23, 2024

Conversation

sampaiodiego
Copy link
Member

@sampaiodiego sampaiodiego commented Dec 23, 2024

Proposed changes (including videos or screenshots)

Moved business logic out of the Roles model to proper functions. This will also remove the dependency of notifyListener from the Roles model.

Issue(s)

Extracted from #34154
ARCH-1356

Steps to test or reproduce

Further comments

Copy link
Contributor

dionisio-bot bot commented Dec 23, 2024

Looks like this PR is not ready to merge, because of the following issues:

  • This PR is targeting the wrong base branch. It should target 7.3.0, but it targets 7.2.0

Please fix the issues and try again

If you have any trouble, please check the PR guidelines

Copy link

codecov bot commented Dec 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.28%. Comparing base (b62b0a6) to head (a61018f).
Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #34488      +/-   ##
===========================================
- Coverage    59.28%   59.28%   -0.01%     
===========================================
  Files         2820     2820              
  Lines        67931    67903      -28     
  Branches     15102    15094       -8     
===========================================
- Hits         40274    40254      -20     
+ Misses       24831    24827       -4     
+ Partials      2826     2822       -4     
Flag Coverage Δ
unit 75.27% <ø> (ø)

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

Copy link
Contributor

github-actions bot commented Dec 23, 2024

PR Preview Action v1.4.8
🚀 Deployed preview to https://RocketChat.github.io/Rocket.Chat/pr-preview/pr-34488/
on branch gh-pages at 2024-12-23 20:02 UTC

Copy link

changeset-bot bot commented Dec 23, 2024

⚠️ No Changeset found

Latest commit: a61018f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@sampaiodiego sampaiodiego added this to the 7.3.0 milestone Dec 23, 2024
@sampaiodiego sampaiodiego marked this pull request as ready for review December 23, 2024 17:14
@sampaiodiego sampaiodiego requested review from a team as code owners December 23, 2024 17:14
@sampaiodiego sampaiodiego added the stat: QA assured Means it has been tested and approved by a company insider label Dec 23, 2024
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label Dec 23, 2024
@ggazzo ggazzo merged commit d37433b into develop Dec 23, 2024
14 of 15 checks passed
@ggazzo ggazzo deleted the move-roles-to-func branch December 23, 2024 20:04
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.

3 participants