Add option to delete a stage, corrected syntax of node-sass #51
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR solves the issue #26 and #34 .
**#30 was the PR mistakenly merged into the codebase, which disrupted the commit history locally for me. Now this PR solves the problem of #41 **
Explanation About What Code Achieves:
in PipelineEditor I made a button element, attached it to all stages of the pipeline, then with
onClick
event handler, I dispatched an action to remove node/stage, (withnode.code
andactive document
helping me to find out which stage needs to be removed). Reducer copies the previous state, then remove the desired one, and returns the updated state.Screenshots/GIFs:
Steps To Test:
Clone the changes, then run
python -m candis
from the root of the directory.TODOs:
Now one can delete a stage from the pipeline successfully, get it saved to read the pipeline next time with modified content.