[Desktop] "Load more" button on sidebar behaves unpredictably #5716

Closed
opened 2026-02-16 17:56:00 -05:00 by yindo · 0 comments
Owner

Originally created by @shanebishop1 on GitHub (Jan 14, 2026).

Originally assigned to: @adamdotdevin on GitHub.

https://github.com/user-attachments/assets/70eb84be-eb2c-4e0b-be01-665f9932321b

Description

The "Load more" button is very flaky. There are two main issues I've noticed:

  1. It is displayed to the user even if the project has no more sessions to load. It then remains clickable for an arbitrary amount of pagination.
  2. If a project does have more valid pages of sessions to pull, the button sometimes exhibits what feel like no-ops, forcing the user to click multiple times. Then, even when the new sessions are pulled in, it isn't always the correct number (5) of sessions.

I believe this has to do with root session filtering and the /session endpoint returning sessions for directories that are not the same as the given project.

Plugins

No response

OpenCode version

1.1.19

Steps to reproduce

  1. Create a new directory
  2. Open that directory as a project in the desktop client
  3. Observe that the project has a "Load more" button despite not having any more sessions to load
  4. Click the button repeatedly for what initially appears to be a no-op

or

  1. Open a pre-existing project in the desktop client (one that has many sessions/forks/subagents/etc.)
  2. Click the "Load more" button
  3. Observe that the button does not reliably add another 5 (the limit set for each page fetched) sessions to the sidebar view

Screenshot and/or share link

No response

Operating System

Sequoia 15.5

Terminal

No response

Originally created by @shanebishop1 on GitHub (Jan 14, 2026). Originally assigned to: @adamdotdevin on GitHub. https://github.com/user-attachments/assets/70eb84be-eb2c-4e0b-be01-665f9932321b ### Description The "Load more" button is very flaky. There are two main issues I've noticed: 1. It is displayed to the user even if the project has no more sessions to load. It then remains clickable for an arbitrary amount of pagination. 2. If a project does have more valid pages of sessions to pull, the button sometimes exhibits what feel like no-ops, forcing the user to click multiple times. Then, even when the new sessions are pulled in, it isn't always the correct number (5) of sessions. I believe this has to do with root session filtering and the `/session` endpoint returning sessions for directories that are not the same as the given project. ### Plugins _No response_ ### OpenCode version 1.1.19 ### Steps to reproduce 1. Create a new directory 2. Open that directory as a project in the desktop client 3. Observe that the project has a "Load more" button despite not having any more sessions to load 4. Click the button repeatedly for what initially appears to be a no-op or 1. Open a pre-existing project in the desktop client (one that has many sessions/forks/subagents/etc.) 2. Click the "Load more" button 3. Observe that the button does not reliably add another 5 (the limit set for each page fetched) sessions to the sidebar view ### Screenshot and/or share link _No response_ ### Operating System Sequoia 15.5 ### Terminal _No response_
yindo added the bugweb labels 2026-02-16 17:56:00 -05:00
yindo closed this issue 2026-02-16 17:56:00 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#5716