jupyterlab / extension-examples

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

Please add a cell toolbar example #227

Closed MRYingLEE closed 9 months ago

MRYingLEE commented 1 year ago

There is a well-known example, https://github.com/jupyterlab-contrib/jlab-enhanced-cell-toolbar. It is cool, but it seems too complicated. Can you provide a simple example, which may use '@jupyterlab/cell-toolbar'?

  1. Some buttons may be available for Code cell only.
  2. Some buttons may be available for Markdown cell only.
  3. Some buttons may be enabled for some kind of content.
welcome[bot] commented 1 year ago

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:

jtpio commented 1 year ago

Thanks @MRYingLEE for the suggestion :+1:

Yes having such example would be great.

jtpio commented 11 months ago

cc @brichet who I think was looking into this recently.

brichet commented 11 months ago

Thank you for the reminder @jtpio :smile:

brichet commented 11 months ago

@jtpio, any opinion about adding a new example or extending to the current toolbar-button example ?

jtpio commented 11 months ago

Maybe a new one for simplicity, so the example focuses on extending the cell toolbar only? It might also be easier to find from the top-level folder or readme.