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(settings): remove Tracker.Dependency and trackers #20294

Merged

Conversation

JoVictorNunes
Copy link
Collaborator

@JoVictorNunes JoVictorNunes commented May 17, 2024

What does this PR do?

  • Removes Tracker.Dependency from the Settings singleton and starts to use Apollo's makeVar.
  • Creates a useSettings hook for reactivity. You must pass which setting group you want as a parameter. For example, useSettings('application').
  • Removes withTracker's which exclusively depended on the settings or minimongo collections.

Closes Issue(s)

None

Motivation

One more step towards removing Meteor completely.

@JoVictorNunes JoVictorNunes marked this pull request as ready for review May 20, 2024 12:51
@JoVictorNunes JoVictorNunes changed the title refactor(settings): remove both Meteor's Tracker.Dependency and trackers refactor(settings): remove Tracker.Dependency and trackers May 20, 2024
@antobinary antobinary added this to the Release 3.0 milestone May 21, 2024
@ramonlsouza ramonlsouza requested a review from antonbsa May 21, 2024 16:09
Copy link

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

Copy link
Member

@antonbsa antonbsa left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

Copy link

sonarcloud bot commented May 24, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

Copy link

Automated tests Summary

All the CI tests have passed!

@ramonlsouza ramonlsouza merged commit 3ef0be6 into bigbluebutton:v3.0.x-release May 27, 2024
26 of 27 checks passed
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.

None yet

4 participants