jupyterlab / extension-examples

JupyterLab Extensions by Examples
BSD 3-Clause "New" or "Revised" License
453 stars 167 forks source link

Added shout-button-message widget example. #243

Closed ericsnekbytes closed 10 months ago

ericsnekbytes commented 1 year ago

This example shows how to create a dual compatibility extension (for Lab and Notebook) by using optional features, and disabling them when they're not available.

ericsnekbytes commented 1 year ago

@fcollonval This is part of the same effort as the toparea text widget example if you can look this one over as well maybe?

ericsnekbytes commented 1 year ago

@fcollonval Can you re-review/approve? Thanks. EDIT: I need to add tests to this still actually.

ericsnekbytes commented 12 months ago

@fcollonval If you have time to review I'd like to get this approved, the Dual Compatibility document (see top post description) depends on this example so this should be merged first. My plan now is to try to get the document and examples merged first, then do a follow-up PR for the unit tests and repo-referencing for the code snippets.