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

emit FileBrowserModel.pathChanged signal #50

Merged
merged 4 commits into from
May 28, 2024

Conversation

michaelchia
Copy link
Contributor

This is for compatibility with other extensions (like jupyterlab-git) that register listeners on FileBrowserModel.pathChanged.

Tested locally with jupyterlab-git. Before change, the plugin is unable to detect that you are in a git repo when clicking on directory containing a git repo. After change, plugin is able to detect presence of git repo based on last clicked path.

Copy link

Binder 👈 Launch a Binder on branch michaelchia/jupyterlab-unfold/pathchanged-signal

@martinRenou martinRenou added the enhancement New feature or request label May 28, 2024
@martinRenou
Copy link
Member

martinRenou commented May 28, 2024

Bot please update playwright snapshots 👌🏽

@martinRenou
Copy link
Member

@martinRenou
Copy link
Member

Arf don't mind the UI tests, they seem to fail in an unrelated way. Let's merge your PR, thanks!

@martinRenou martinRenou merged commit 144376f into jupyterlab-contrib:master May 28, 2024
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants