Skip to content

refactor-warnIfUnsavedChanges #1458 #1488

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 4 commits into from
Jul 9, 2020

Conversation

saijatin28
Copy link
Contributor

@saijatin28 saijatin28 commented Jul 2, 2020

RE: #1458
This pull request aims at refactoring the 'warnIfUnsavedChanges' function. I would request @catarak and @ghalestrilo to please take a look.
I would like to get some tips on how we could split the function further.

I have verified that this pull request:

  • has no linting errors (npm run lint)
  • is from a uniquely-named feature branch and has been rebased on top of the latest master. (If I was asked to make more changes, I have made sure to rebase onto master then too)
  • is descriptively named and links to an issue number, i.e. Fixes #123

@saijatin28 saijatin28 requested a review from catarak July 9, 2020 08:23
catarak added 2 commits July 9, 2020 12:37
- Fix bug in warnIfUnsavedChanges that referred to this.props by
  changing it to props
- Change function name from `warnIfUnsavedChangesCaller` to
  `handleUnsavedChanges`, remove it being called via binding/arrow func
@catarak
Copy link
Member

catarak commented Jul 9, 2020

Thanks for working on this! I added a couple more commits to get this 100% ready to be merged.

@catarak catarak merged commit afe74e9 into processing:develop Jul 9, 2020
@saijatin28
Copy link
Contributor Author

Thanks for working on this! I added a couple more commits to get this 100% ready to be merged.

It's always my pleasure Cassie!
Alright! Thanks Cassie!

@saijatin28 saijatin28 deleted the refactorIDEView branch July 9, 2020 17:32
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.

2 participants