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

Show the Goal panel if it has lost focus #1081

Merged
merged 3 commits into from
May 7, 2024

Conversation

Alidra
Copy link
Member

@Alidra Alidra commented Apr 17, 2024

In Vscode, if the Goal panel looses focus (typically, because user selected another panel) Goals are updated in this panel when the user navigates them in the lp file but he can't see them unless clicking on this panel to bring it in front again.

This PR, gives back focus to the Goals panel to bring it back as soon as the user navigates goals without having to clicking the panel himself.

TODO:

  • test with emacs

@Alidra
Copy link
Member Author

Alidra commented Apr 17, 2024

Tests with Vscode has been successfully performed. Tests with Emacs still need to be performed to unsure that sending null goals does not break the Emacs client.

@Alidra Alidra requested a review from fblanqui April 17, 2024 11:26
@fblanqui fblanqui marked this pull request as ready for review April 25, 2024 13:35
@Alidra
Copy link
Member Author

Alidra commented May 7, 2024

@fblanqui, the modifications in this PR have been tested with Emacs and don't seem to have any impact on it.
I propose to merge it to master.

@fblanqui fblanqui merged commit 0b91a5d into Deducteam:master May 7, 2024
20 checks passed
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.

User shouldn't have to manually select Goal panel to see navigated goals
2 participants