-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Closed
Labels
bugSomething isn't workingSomething isn't workingwebRelates to opencode on web / desktopRelates to opencode on web / desktop
Description
load_more_bug.mov
Description
The "Load more" button is very flaky. There are two main issues I've noticed:
- 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.
- 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
- Create a new directory
- Open that directory as a project in the desktop client
- Observe that the project has a "Load more" button despite not having any more sessions to load
- Click the button repeatedly for what initially appears to be a no-op
or
- Open a pre-existing project in the desktop client (one that has many sessions/forks/subagents/etc.)
- Click the "Load more" button
- 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
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingwebRelates to opencode on web / desktopRelates to opencode on web / desktop