-
Notifications
You must be signed in to change notification settings - Fork 18
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
Extension reloaded #16
Conversation
We don't have a process to remove a repo, worth bringing up at the JupyterLab developer's meeting
Done! |
Thanks for sharing! What's totally 🤯 is i had independently started punching on this yesterday (branch, self-pr, binder, but...). As this was looking so dead, I didn't much consider keeping it upstream-compatible, but if other folks want to generally work together to warm it up, I'm game. field report:
This work was a prelude to the near-term thing for me is also multiple backends. Thinking just about quick wins for GitHub for a sec, though:
But more generally:
PullRequests:
providers:
gh:
module: jupyterlab_pullrequests.providers.GitHub
conf:
github_api_url: https://api.github.com
gl:
module: jupyterlab_pullrequests.providers.GitLab
conf:
gitlab_api_url: https://api.gitlab.com |
Thanks for the comment and feedback @bollwyvl I should have a first satisfactory version by the end of the week. Here is the current status: Here are some comments on points you raised earlier.
For now I put the base API url as configurable. But I'm wondering if we should not change completely the logic and show the PRs associated with the Git remote of the current active folder in the browser - and then allow the user to set the URL if the extension can't figure out what it is from the remote URL.
I definitely agree on this one. My dream would be to get a generic credentials provider (like they did in VS Code) that extensions can use to request/store credentials. That could be built on top of keyring to support OS storage as well as other backends through configuration. Extension such as @jupyterlab/git or @jupyterlab/github would benefit of such credentials support too ... the future RTC feature may be need it too.
Agree this would make life easier - but I'm still looking for the best tool for that.
👍
Done thanks for the suggestion
As the JupyterLab renderer is used, from my understanding
For now, I focus on being homogeneous with the git extension. I must admit that I'm biased toward VS Code design. So having the files in the tree view looks natural... Regarding the suggestion of a scrollable view with all files, I'm fearing performance issues when dealing with large files. |
Some I ship with are:
However, json-schema-to-ts's For this kind of thing, I've actually considered moving the whole |
Yeah, well... it's pretty darned hard with a low trust deployment target. I really would love if some of these had fallback methods that allowed you to use standards, but pull requests definitely don't have that. But yeah, we shouldn't all be building our own identity manager
It's important this extension works locally, on the desktop, but it's really important it works in Hubs, docker containers, etc... so keyring kinda falls down. If anything, doing it seriously and properly might require a browser extension (e.g. smart cards used in hospitals, with expensive microscopes, etc). Trying to get creds into vscode things has been... not one of my favorite experiences. |
Looking super rad 🚀 . A few things (you just tell me when to stop! 😊):
|
Thanks for the feedback @bollwyvl As I get pressure to deploy it and that the current state is usable. I propose to merge and release for JLab2. Then I'll update to JLab3 and we can start splitting enhancements in multiple PR. What do you think? |
As I get pressure to deploy it and that the current state is usable. I
propose to merge and release for JLab2.
Cool go for it!
Then I'll update to JLab3 and we can start splitting enhancements in
multiple PR.
Sure!
|
Set remaining points as issues
I'm working on rebooting this extension. Should this extension keep living in the jupyterlab organization? Could I be granted right to publish it on pypi (cc @blink1073 @jaipreet-s)?
TODO