fix(desktop): "load more" button behavior in desktop sidebar (#8430)

This commit is contained in:
Shane Bishop
2026-01-14 05:36:08 -08:00
committed by GitHub
parent 05cbb11709
commit 077ca4454f
6 changed files with 62 additions and 4 deletions

View File

@@ -781,6 +781,7 @@ export class Session extends HeyApiClient {
public list<ThrowOnError extends boolean = false>(
parameters?: {
directory?: string
roots?: boolean
start?: number
search?: string
limit?: number
@@ -793,6 +794,7 @@ export class Session extends HeyApiClient {
{
args: [
{ in: "query", key: "directory" },
{ in: "query", key: "roots" },
{ in: "query", key: "start" },
{ in: "query", key: "search" },
{ in: "query", key: "limit" },

View File

@@ -2589,7 +2589,14 @@ export type SessionListData = {
body?: never
path?: never
query?: {
/**
* Filter sessions by project directory
*/
directory?: string
/**
* Only return root sessions (no parentID)
*/
roots?: boolean
/**
* Filter sessions updated on or after this timestamp (milliseconds since epoch)
*/