8000 feat: vite reduce reliance on copied Meteor code by Julusian · Pull Request #1239 · Sofie-Automation/sofie-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: vite reduce reliance on copied Meteor code #1239

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

Merged
merged 18 commits into from
Aug 26, 2024

Conversation

Julusian
Copy link
Contributor
@Julusian Julusian commented Aug 12, 2024

About the Contributor

This pull request is posted on behalf of the NRK.

Type of Contribution

This is a:

Bug fix / Feature / Code improvement / Documentation improvement / Other (please specify)

New Behavior

Continuation of #1230
Builds on #1235

During #1230, a bunch of code was copied from the meteor github repository, as a replacement of what meteor used to provide/inject.
This PR goes through the copied code to strip out large chunks of dead code, and consider whether it is all necessary.

Quite a bit remains, which consists of:

  • minimongo - needed until we work through the ui code to replace the state library
  • ddp client - this is quite sprawling, but doesn't feel worth the effort to reimplement or port our backend implementation. Eventually this will be replaced when we continue with looking into replacing ddp
  • a few bits of util needed by the above
  • a mongo wrapper - this bridges ddp to minimongo and could potentially be absorbed into our mongo wrapper to simplify things. whether this is worth the effort is questionable.

Testing

  • I have added one or more unit tests for this PR
  • I have updated the relevant unit tests
  • No unit test changes are needed for this PR

Affected areas

Time Frame

Other Information

Status

  • PR is ready to be reviewed.
  • The functionality has been tested by the author.
  • Relevant unit tests has been added / updated.
  • Relevant documentation (code comments, system documentation) has been added / updated.
    …ive versions…ive versions…ive versions

Copy link
codecov bot commented Aug 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.48%. Comparing base (96972d6) to head (7c27c3e).

Additional details and impacted files
@@                          Coverage Diff                          @@
##           feat/vite-deduplicate-meteor-lib    #1239       +/-   ##
=====================================================================
+ Coverage                             61.08%   83.48%   +22.40%     
=====================================================================
  Files                                   400      173      -227     
  Lines                                 70215    30650    -39565     
  Branches                               4150     2572     -1578     
=====================================================================
- Hits                                  42888    25589    -17299     
+ Misses                                27222     5058    -22164     
+ Partials                                105        3      -102     

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

@Julusian Julusian marked this pull request as ready for review August 13, 2024 14:43
@Julusian Julusian requested a review from a team as a code owner August 13, 2024 14:43
@Julusian Julusian force-pushed the feat/vite-tidy-copied-meteor branch from 31db979 to 7c27c3e Compare August 13, 2024 14:53
Base automatically changed from feat/vite-deduplicate-meteor-lib to feat/vite-ui-bundler2 August 26, 2024 10:06
An error occurred while trying to automatically change base from feat/vite-deduplicate-meteor-lib to feat/vite-ui-bundler2 August 26, 2024 10:06
@Julusian Julusian force-pushed the feat/vite-tidy-copied-meteor branch from df478be to 88743b5 Compare August 26, 2024 13:38
@Julusian Julusian merged commit 3bbeb56 into feat/vite-ui-bundler2 Aug 26, 2024
29 of 30 checks passed
@Julusian Julusian deleted the feat/vite-tidy-copied-meteor branch August 26, 2024 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0