@@ -69,12 +69,12 @@ makeSidebarChatDockedCell[ ] := With[ { nbo = EvaluationNotebook[ ], sidebarCell
6969 BoxData @ ToBoxes @ workspaceChatInitializer @ Framed [
7070 Grid [
7171 { {
72- LogChatTiming @ sidebarNewChatButton [ Dynamic @ nbo , Dynamic @ sidebarCell ], (* FIXME: these calling signatures no longer need the Dynamic heads *)
72+ LogChatTiming @ sidebarNewChatButton [ nbo , sidebarCell ],
7373 Item [ Spacer [ 0 ], ItemSize -> Fit ],
74- LogChatTiming @ sidebarSourcesButton [ Dynamic @ nbo , Dynamic @ sidebarCell ],
75- LogChatTiming @ sidebarHistoryButton [ Dynamic @ nbo , Dynamic @ sidebarCell ],
76- LogChatTiming @ sidebarOpenAsAssistantWindowButton [ Dynamic @ nbo , Dynamic @ sidebarCell ],
77- sidebarHideButton [ Dynamic @ nbo ]
74+ LogChatTiming @ sidebarSourcesButton [ nbo , sidebarCell ],
75+ LogChatTiming @ sidebarHistoryButton [ nbo , sidebarCell ],
76+ LogChatTiming @ sidebarOpenAsAssistantWindowButton [ nbo , sidebarCell ],
77+ LogChatTiming @ sidebarHideButton @ nbo
7878 } },
7979 Alignment -> { Automatic , Center },
8080 Spacings -> 0.2
@@ -272,7 +272,7 @@ removeSidebarScrollingCellContent // endDefinition;
272272(*sidebarHistoryButton*)
273273sidebarHistoryButton // beginDefinition ;
274274
275- sidebarHistoryButton [ Dynamic [ nbo_ ], Dynamic [ sidebarCell_ ] ] := Button [
275+ sidebarHistoryButton [ nbo_ NotebookObject , sidebarCell_ CellObject ] := Button [
276276 toolbarButtonLabel [ "WorkspaceToolbarIconHistory" , "WorkspaceToolbarButtonLabelHistory" , "WorkspaceToolbarButtonTooltipHistory" , False , True ],
277277 toggleOverlayMenu [ nbo , sidebarCell , "History" ],
278278 Appearance -> "Suppressed"
@@ -285,7 +285,7 @@ sidebarHistoryButton // endDefinition;
285285(*sidebarSourcesButton*)
286286sidebarSourcesButton // beginDefinition ;
287287
288- sidebarSourcesButton [ Dynamic [ nbo_ ], Dynamic [ sidebarCell_ ] ] := Button [
288+ sidebarSourcesButton [ nbo_ NotebookObject , sidebarCell_ CellObject ] := Button [
289289 toolbarButtonLabel [ "WorkspaceToolbarIconSources" , "WorkspaceToolbarButtonLabelSources" , "WorkspaceToolbarButtonTooltipSources" , False , True ],
290290 toggleOverlayMenu [ nbo , sidebarCell , "Sources" ],
291291 Appearance -> "Suppressed"
@@ -298,7 +298,7 @@ sidebarSourcesButton // endDefinition;
298298(*sidebarNewChatButton*)
299299sidebarNewChatButton // beginDefinition ;
300300
301- sidebarNewChatButton [ Dynamic [ nbo_ ], Dynamic [ sidebarCell_ ] ] :=
301+ sidebarNewChatButton [ nbo_ NotebookObject , sidebarCell_ CellObject ] :=
302302 Button [
303303 toolbarButtonLabel [ "WorkspaceToolbarIconNew" , "WorkspaceToolbarButtonLabelNew" , "WorkspaceToolbarButtonTooltipNew" , False , True ]
304304 ,
@@ -319,7 +319,7 @@ sidebarNewChatButton // endDefinition;
319319(*sidebarOpenAsAssistantWindowButton*)
320320sidebarOpenAsAssistantWindowButton // beginDefinition ;
321321
322- sidebarOpenAsAssistantWindowButton [ Dynamic [ nbo_ ], Dynamic [ sidebarCell_ ] ] := Button [
322+ sidebarOpenAsAssistantWindowButton [ nbo_ NotebookObject , sidebarCell_ CellObject ] := Button [
323323 toolbarButtonLabel [ "WorkspaceToolbarIconOpenAsChatbook" , None , "SidebarToolbarButtonTooltipOpenAsWindowedAssistant" , False , True ],
324324 With [
325325 {
@@ -359,11 +359,11 @@ sidebarOpenAsAssistantWindowButton // endDefinition;
359359
360360(* ::**************************************************************************************************************:: *)
361361(* ::Subsubsection::Closed:: *)
362- (*sidebarOpenAsAssistantWindowButton *)
362+ (*sidebarHideButton *)
363363
364364sidebarHideButton // beginDefinition ;
365365
366- sidebarHideButton [ Dynamic [ nbo_ ] ] := Button [
366+ sidebarHideButton [ nbo_ NotebookObject ] := Button [
367367 Tooltip [
368368 mouseDown [
369369 Framed [
0 commit comments