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

Refactored resize #1562

Merged
merged 11 commits into from Oct 16, 2020
Merged

Refactored resize #1562

merged 11 commits into from Oct 16, 2020

Conversation

rishabhshuklax
Copy link
Member

@rishabhshuklax rishabhshuklax commented Jan 22, 2020

Concerns #1560

Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!

  • tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR -- or run tests locally with npm run test-all
  • code is in uniquely-named feature branch and has no merge conflicts
  • PR is descriptively titled
  • ask @publiclab/is-reviewers for help, in a comment below
  • Insert-step functionality is working correct as expected.

We're happy to help you get this ready -- don't be afraid to ask for help, and don't be discouraged if your tests fail at first!

If tests do fail, click on the red X to learn why by reading the logs.

Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Please make sure to get at least two reviews before asking for merging the PR as that would make the PR more reliable on our part
Thanks!

@codecov
Copy link

codecov bot commented Jan 22, 2020

Codecov Report

Merging #1562 into main will increase coverage by 10.31%.
The diff coverage is 64.01%.

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #1562       +/-   ##
===========================================
+ Coverage   55.11%   65.43%   +10.31%     
===========================================
  Files         117      133       +16     
  Lines        2344     2743      +399     
  Branches      360      438       +78     
===========================================
+ Hits         1292     1795      +503     
+ Misses       1052      948      -104     
Impacted Files Coverage Δ
examples/lib/scopeQuery.js 18.51% <ø> (ø)
src/Modules.js 100.00% <ø> (ø)
src/modules/WebglDistort/Module.js 2.29% <0.00%> (ø)
src/ui/SetInputStep.js 12.90% <0.00%> (-1.39%) ⬇️
src/modules/ColorHalftone/Module.js 3.63% <3.63%> (ø)
examples/lib/defaultHtmlStepUi.js 11.35% <4.08%> (-0.85%) ⬇️
examples/lib/intermediateHtmlStepUi.js 11.11% <5.55%> (+0.94%) ⬆️
examples/lib/insertPreview.js 13.15% <20.00%> (-0.36%) ⬇️
src/util/getImageDimensions.js 20.00% <20.00%> (ø)
src/util/isGif.js 20.00% <20.00%> (ø)
... and 102 more

@rishabhshuklax
Copy link
Member Author

@publiclab/is-reviewers

@gitpod-io
Copy link

gitpod-io bot commented Jul 8, 2020

Copy link
Member

@jywarren jywarren left a comment

Choose a reason for hiding this comment

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

Just needs a quick test in gitpod or a module test to confirm! Thanks and apologies for the delay!

@harshkhandeparkar harshkhandeparkar requested a review from a team as a code owner October 15, 2020 19:43
@harshkhandeparkar
Copy link
Member

The refactor is fine but I did find an issue in the resize module itself...

@harshkhandeparkar harshkhandeparkar merged commit d33afe0 into publiclab:main Oct 16, 2020
@jywarren
Copy link
Member

Hi harsh, I had requested a module test for this, just FYI... Can you be careful to check the comments before merging? Thanks!!

@harshkhandeparkar
Copy link
Member

harshkhandeparkar commented Oct 16, 2020

Isn't there a test for it already 👀? The review was an approval so I thought... 😅
Sorry.

@harshkhandeparkar
Copy link
Member

And I did check everything in gitpod, now and also sometime back when I had reviewed it :)
Also, the resize module has a test.

@jywarren
Copy link
Member

OK, thanks, good to hear! no problem. I'll be more careful of approve vs. comment now we are co-maintainers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants