Skip to content

Conversation

brichet
Copy link
Collaborator

@brichet brichet commented Sep 23, 2025

This PR refactors the code to simplify development:

  • use a react context in the chat component, to avoid passing all the properties to child components
    Fixes Use a JupyterlabContext React context #172
  • avoid duplicating future new properties of options:
    • use the Chat.IOptions in the multichat panel
    • use the Chat.IOptions and ChatModel.IOptions in the widget and model factories

Copy link
Contributor

Binder 👈 Launch a Binder on branch brichet/jupyter-chat/react_context

@brichet brichet added the maintenance Packaging, tests label Sep 23, 2025
@brichet brichet marked this pull request as ready for review September 24, 2025 20:08
@brichet brichet changed the title React context and refactoring React context Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Packaging, tests

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Use a JupyterlabContext React context

1 participant