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

extensions_manager: add extension_web_apps interface #1469

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

oliver-sanders
Copy link
Contributor

Add extension_web_apps interface:

  • Add an interface for listing extension applications that provide a default URL (i.e. extensions which provide a web application).
  • Add an endpoint for querying this interface.
  • Partially addresses interface for switching between jupyter apps #1414 by allowing Jupyter web applications to query for the existence of other Jupyter web applications.

The end goal here is to improve the interoperability of Jupyter web applications in cases where more than one is provided by the same Jupyter Server instance . At present, users must manually edit the URL to switch extensions (e.g. edit ".../lab" to ".../myextension").

This endpoint should allow Jupyter web apps to list any other apps that are installed and provide links to open them. E.g, this could be used to populate a menu dropdown.

Questions:

  • /extensions endpoint:
    • Happy with the name /extensions route? Suggest a different name?
    • Happy having a dedicated endpoint for this? Suggest another endpoint to merge this into?
    • Any future plans for extension endpoints? Any way I could leave this more open to future work?

* Add an interface for listing extension applications that provide a
  default URL (i.e. extensions which provide a web application).
* Add an endpoint for querying this interface.
* Partially addresses jupyter-server#1414 by allowing Jupyter web applications to query
  for the existence of other Jupyter web applications.
@Zsailer
Copy link
Member

Zsailer commented Nov 5, 2024

@oliver-sanders thanks! I love this 🚀

I assigned myself to this to review this week when I get a chance.

Reminds me of early work to build "Jupyter Home" 😎. A dashboard that displays all visible Jupyter frontends.

@oliver-sanders
Copy link
Contributor Author

A dashboard that displays all visible Jupyter frontends.

That's an interesting idea. The frontpage of Jupyter Desktop has some similarity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants