Skip to content

Conversation

@KMDaily
Copy link
Collaborator

@KMDaily KMDaily commented Dec 16, 2025

Initial implementation for 15.0. Fine-tuning is expected later.

Use a stylename convention NotebookAssistant`SideBar`stylename. We
compare the styles available to WorkspaceChat.nb versus those already in
CoreExtensions.nb and only add styles that are missing or whose option
values differ.
* side bar is a RowBox of inline cells
  * docked cell <> scrolling pane <> footer cell (chat input)
  * scrolling: this is its own RowBox of inline cells
  * tag all cells for easier identification

* special styles created in CoreExtensions.nb
* including the "NotebookAssistant`SideBar`..." styles as valid in/out styles
* convert between style names as needed
* add $SideBarChat flag during withChatState
* always allow editability before writing or deleting cells in side bar
* remove the icon before the ChatInput field
* set the side bar to be editable but not selectable
* reduce the focus controls in the side bar to just a checkbox
* reduce the front end traffic when writing inline cells
* more reliably find the ChatOutput of the final write action
* remove negative CellMargin workaround, set CellMargins to 0
* set sidebar FontSize -> 0.5 to workaround newlines getting full line height
* more magnification corrections
* more descriptive CellTags to avoid conflicts with other sidebar tagging
@KMDaily KMDaily requested a review from rhennigan as a code owner December 16, 2025 16:12
@KMDaily KMDaily merged commit 593e824 into main Dec 16, 2025
1 check failed
@KMDaily KMDaily deleted the feature/AssistantSidebar branch December 16, 2025 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants