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

Fix bugs due to pyflyby cell in v5 #21

Merged
merged 3 commits into from
Oct 30, 2023
Merged

Conversation

divyansshhh
Copy link
Contributor

@divyansshhh divyansshhh commented Sep 6, 2023

This fixes a bug where multiple clicks of the TidyImportButton would modify the notebook in unexpected ways. Some of these were -

  1. Outputs of cells being mismatched when reconstructing the notebook.
  2. Addition of random cells above and below the pyflyby tagged cell.
  3. Mutliple clicks of the TidyImportButton would keep adding extra lines in the pyflyby cell.

@divyansshhh divyansshhh requested a review from mlucool September 6, 2023 10:18
src/cellUtils.ts Outdated Show resolved Hide resolved
src/index.tsx Outdated Show resolved Hide resolved
@divyansshhh divyansshhh merged commit 4ade2fe into main Oct 30, 2023
2 of 3 checks passed
@divyansshhh divyansshhh deleted the chore/fix-tidy-imports-bug-v5 branch October 30, 2023 08:31
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