mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-21 07:04:22 +00:00
chore(web): show five sessions per workspace (#1161)
This commit is contained in:
parent
23a553bb91
commit
d968642384
2 changed files with 6 additions and 1 deletions
5
.changeset/web-session-initial-page-size.md
Normal file
5
.changeset/web-session-initial-page-size.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@moonshot-ai/kimi-code": patch
|
||||
---
|
||||
|
||||
Show the first five sessions per workspace in the web sidebar instead of ten.
|
||||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue