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 showing and hiding of variable view #5556

Merged
merged 4 commits into from
May 23, 2024
Merged

Conversation

jpelay
Copy link
Member

@jpelay jpelay commented May 22, 2024

The variable view was acting a little wanky, showing and hiding seemingly at random. After some digging, I found that this area was being hidden and shown by several pieces of code, so I tried to simplify the logic a bit; also instead of just hiding and showing the box, I added a little bit of animation by using JQuery's slideToggle.

Fixes #5553

How to test

Go to the code page, debug a program, and verify that the variable view is updated with each step, and that it can be hidden and shown without issues.

Copy link
Collaborator

@boryanagoncharenko boryanagoncharenko left a comment

Choose a reason for hiding this comment

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

Works smoothly and the animation is a nice touch! I love that this bug is fixed by primarily removing code :)

Copy link
Contributor

mergify bot commented May 23, 2024

Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit a1dbced into main May 23, 2024
12 checks passed
@mergify mergify bot deleted the fix-variable-view branch May 23, 2024 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

🪲 Variable view is wacky
2 participants