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

Disable favorite removal if path is unavailable #3

Merged

Conversation

mlhenderson
Copy link
Collaborator

I wasn't able to create an issue, so I'll describe it here in the PR.

The current behavior of favorites is to remove a favorite link if the path can't be reached. I think this was meant to be a way to clean dead links, however, it has an unintended effect that if a given path is temporarily unavailable, clicking on the link will remove it.

This PR is simply to comment out the line responsible for removing the link automatically.

@github-actions
Copy link

Binder 👈 Launch a binder notebook on branch mlhenderson/jupyterlab-favorites/disable_auto_removal

@mlhenderson
Copy link
Collaborator Author

@fcollonval when you get a chance, can you review this?

src/index.ts Outdated Show resolved Hide resolved
Co-authored-by: Frédéric Collonval <fcollonval@users.noreply.github.com>
@mlhenderson
Copy link
Collaborator Author

@fcollonval No problem, line removed.

Copy link
Member

@fcollonval fcollonval left a comment

Choose a reason for hiding this comment

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

LGTM thanks @mlhenderson

@fcollonval fcollonval added the bug Something isn't working label Dec 7, 2021
@fcollonval fcollonval merged commit 993b1d2 into jupyterlab-contrib:master Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants