mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-09-06 08:11:12 +00:00
* feat(sidebar): unify workspace session expand into one control
Replace the two separate controls at the bottom of each workspace group
("Load N more" fetching the next page, and a local expand/collapse
toggle for already-loaded rows) with a single expand/collapse pair:
- "Show more" steps a per-group display cap up by one batch of 5; the
next page is fetched only when the locally loaded rows can't cover
the step, so users can't tell whether a reveal came from memory or
the server. While fetching, the button shows "Loading…" disabled.
- "Show less" resets the cap to the first page without losing the
already-loaded data (re-expanding never refetches).
- Both controls share one row as compact content-width pills with
chevron icons (down/up) aligned to the session-title x, separated by
a faint middot; labels no longer show counts (the workspace
session_count is only a possibly-stale label).
Applied to the desktop sidebar, the mobile switcher sheet, and synced
to apps/web; design-system docs and i18n updated accordingly.
* chore: simplify changeset wording
* fix(sidebar): unstick adjacent template attrs, truncate show-more pills at min width
Two template attributes ended up concatenated without whitespace after
an edit (harmless to the Vue parser, but a typo); separate them. Give
.show-more min-width: 0 so at the narrowest sidebar (170px) the pill
labels truncate with the existing ellipsis instead of the row
overflowing the workspace group.
|
||
|---|---|---|
| .. | ||
| permission-icon-candidates.html | ||
| permission-yolo-question-shield.html | ||
| session-emoji-slot.html | ||
| sidebar-expand-collapse.html | ||
| task-notification-ui.html | ||