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

Add clearAllSteps method to sequencer object #1615

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rishabhshuklax
Copy link
Member

@rishabhshuklax rishabhshuklax commented Feb 5, 2020

Fixes #1613

clear-steps

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 Feb 5, 2020

Codecov Report

Merging #1615 into main will decrease coverage by 1.34%.
The diff coverage is 13.43%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1615      +/-   ##
==========================================
- Coverage   66.67%   65.33%   -1.35%     
==========================================
  Files         130      132       +2     
  Lines        2686     2746      +60     
  Branches      433      439       +6     
==========================================
+ Hits         1791     1794       +3     
- Misses        895      952      +57     
Impacted Files Coverage Δ
src/Modules.js 100.00% <ø> (ø)
src/modules/EdgeDetect/Module.js 100.00% <ø> (ø)
src/modules/WebglDistort/Module.js 2.29% <0.00%> (ø)
src/modules/ColorHalftone/Module.js 3.63% <3.63%> (ø)
src/ImageSequencer.js 49.40% <20.00%> (-0.91%) ⬇️
src/modules/ColorHalftone/index.js 100.00% <100.00%> (ø)
src/modules/EdgeDetect/EdgeUtils.js 86.81% <100.00%> (-0.15%) ⬇️

@rishabhshuklax
Copy link
Member Author

@publiclab/is-reviewers please review this

@gitpod-io
Copy link

gitpod-io bot commented Jul 12, 2020

@@ -376,6 +376,16 @@ ImageSequencer = function ImageSequencer(options) {
}


function removeAllSteps() {
Copy link
Member

Choose a reason for hiding this comment

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

This looks great -- can we add a unit test for it? Thank you!

@jywarren jywarren added this to the v3.7.0 milestone Oct 28, 2020
@jywarren jywarren added this to In Progress in v3.7.0 via automation Nov 1, 2020
@harshkhandeparkar harshkhandeparkar removed this from the v3.7.0 milestone Nov 2, 2020
@harshkhandeparkar harshkhandeparkar added the almost-complete PRs that are almost done but little more work. label Jul 27, 2021
@jywarren jywarren added this to In progress in v3.7.x via automation Jan 25, 2022
@jywarren jywarren removed this from In Progress in v3.7.0 Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
almost-complete PRs that are almost done but little more work.
Projects
v3.7.x
In progress
Development

Successfully merging this pull request may close these issues.

Clear all steps button reloads the page
3 participants