feat: Session Scratchpad sidebar for tree navigation #27

Merged
chihlasm merged 8 commits from feat/session-scratchpad into main 2026-02-04 08:13:51 +00:00
2 changed files with 7 additions and 0 deletions
Showing only changes of commit a92671157f - Show all commits

View File

@@ -46,6 +46,11 @@ export const sessionsApi = {
const response = await apiClient.post<string>(`/sessions/${id}/export`, options)
return response.data
},
async updateScratchpad(id: string, content: string): Promise<Session> {
const response = await apiClient.patch<Session>(`/sessions/${id}/scratchpad`, { scratchpad: content })
return response.data
},
}
export default sessionsApi

View File

@@ -40,6 +40,7 @@ export interface Session {
ticket_number: string | null
client_name: string | null
exported: boolean
scratchpad: string
}
export interface SessionCreate {
@@ -54,6 +55,7 @@ export interface SessionUpdate {
custom_steps?: CustomStep[]
ticket_number?: string
client_name?: string
scratchpad?: string
}
export interface SessionExport {