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

Move the dont-open-twice logic into the variable-paths component #1

Conversation

philrenaud
Copy link

Hi @ChefAustin — I was trying to figure out why your changes didn't seem to have the desired effect on the variables page, and I realized it's because of my old long-dormant and unused code for goToVariable()!

I've moved the same logic into handleFileClick() and handleFolderClick() in the variable-paths component, which we use from a few places in the UI. My apologies for leaving this in a difficult to update state in the first place!

Copy link
Owner

@ChefAustin ChefAustin left a comment

Choose a reason for hiding this comment

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

Thanks for busting out the shovel and digging in!

LGTM!

@ChefAustin ChefAustin merged commit 86dec91 into ChefAustin:24315-ui-cmdctrl-+-click-wont-correctly-open-new-tabs Oct 29, 2024
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