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

revert on_trait_change to observe changes in shell editor #1622

Merged
merged 1 commit into from
May 3, 2021

Conversation

aaronayres35
Copy link
Contributor

closes #1612 and closes #1620

This PR simply takes the easy way out of reverting the on_trait_change to observe changes made to ShellEditor in #1523

I aim to open a separate PR that fixes the use of observe. This PR should be seen as a back up plan to avoid the issues in case there is trouble coming to the real solution and we don't want to hold up the release.
Note the migration from on_trait_change is not yet complete and won't be by the upcoming release, so it is not as though this will be the only use of on_trait_change in the codebase if this PR does get merged.

In any case I plan to try to actually fix the issue in a separate PR in which case this can simply be closed.

Copy link
Contributor

@rahulporuri rahulporuri left a comment

Choose a reason for hiding this comment

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

LGTM. This works for us for now. We've wanted to make the on trait change ->observe changes progressively so we can defer this one to a later time when we're not trying to push out a release.

@aaronayres35 aaronayres35 merged commit e01ebf6 into master May 3, 2021
@aaronayres35 aaronayres35 deleted the revert-observe-change branch May 3, 2021 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants