add responsive session sidebar

This commit is contained in:
Shantur Rathore
2025-12-02 23:52:45 +00:00
parent 8c72d279df
commit 78338f33c1
6 changed files with 222 additions and 15 deletions

View File

@@ -19,6 +19,8 @@ interface SessionViewProps {
instanceId: string
instanceFolder: string
escapeInDebounce: boolean
showSidebarToggle?: boolean
onSidebarToggle?: () => void
}
export const SessionView: Component<SessionViewProps> = (props) => {
@@ -150,6 +152,8 @@ export const SessionView: Component<SessionViewProps> = (props) => {
registerScrollToBottom={(fn) => {
scrollToBottomHandle = fn
}}
showSidebarToggle={props.showSidebarToggle}
onSidebarToggle={props.onSidebarToggle}
/>