diff --git a/.changeset/web-session-initial-page-size.md b/.changeset/web-session-initial-page-size.md new file mode 100644 index 000000000..0810387ca --- /dev/null +++ b/.changeset/web-session-initial-page-size.md @@ -0,0 +1,5 @@ +--- +"@moonshot-ai/kimi-code": patch +--- + +Show the first five sessions per workspace in the web sidebar instead of ten. diff --git a/apps/kimi-web/src/composables/client/useWorkspaceState.ts b/apps/kimi-web/src/composables/client/useWorkspaceState.ts index e9ea36207..66cf6ae8d 100644 --- a/apps/kimi-web/src/composables/client/useWorkspaceState.ts +++ b/apps/kimi-web/src/composables/client/useWorkspaceState.ts @@ -287,7 +287,7 @@ export function useWorkspaceState(rawState: ExtendedState, deps: UseWorkspaceSta const SESSION_PAGE_SIZE = 100; // Sessions fetched per workspace on first load — keeps the initial request // count at (number of workspaces) and each response small. - const SESSIONS_INITIAL_PAGE_SIZE = 10; + const SESSIONS_INITIAL_PAGE_SIZE = 5; // Sessions fetched per "load more" click within a workspace. const SESSIONS_LOAD_MORE_SIZE = 30;