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

Widget Management and Modularization in Notebooks #42

Open
metaboulie opened this issue Nov 3, 2024 · 0 comments
Open

Widget Management and Modularization in Notebooks #42

metaboulie opened this issue Nov 3, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@metaboulie
Copy link
Collaborator

Widget Management and Modularization in Notebooks

Objective: Explore options for managing widget implementations across multiple notebooks, with an initial focus on the HeaderWidget.

Options:

  1. Current Approach:

    • Keep implementing HeaderWidget directly within each notebook.
    • Works well for now, as it primarily affects the introductory sections of the notebooks.
  2. PyPI Package:

    • Create a separate marimo-widgets package for commonly used widgets (e.g., HeaderWidget).
    • Streamline notebooks by removing repetitive implementations.
    • Simplify dependencies by consolidating anywidget and traitlets into a single package dependency.

Future Considerations:

  • As more common widgets or structures are developed, migrate them into marimo-widgets to avoid redundancy.
  • Each widget class (e.g., HeaderWidget) could become a subset of the main package.

Potential Widgets & Components:

  • HeaderWidget
@metaboulie metaboulie converted this from a draft issue Nov 3, 2024
@metaboulie metaboulie changed the title Custom Widgets Widget Management and Modularization in Notebooks Nov 3, 2024
@metaboulie metaboulie self-assigned this Nov 3, 2024
@metaboulie metaboulie added the enhancement New feature or request label Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Ideation/Brainstorming
Development

No branches or pull requests

1 participant