[PR #1843] [CLOSED] feat(session modal): introduce session bookmarking #10082

Closed
opened 2026-02-16 18:14:40 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1843
Author: @spoons-and-mirrors
Created: 8/11/2025
Status: Closed

Base: devHead: feat/session-pin


📝 Commits (10+)

  • 000df42 feat: add session rename functionality to TUI modal
  • 29ef84e feat: update modal title to "Rename Session" during rename mode
  • 3990504 fix: ESC key in rename mode returns to session list instead of closing modal
  • dea5232 feat(session): introduce pins
  • fc2f165 fix: pinning does reorder the list. selecting a session puts it at the top. changing the ugly pin for a dot with success color.
  • ee792c2 guidelines: prefer single word variable where possible
  • 0cea057 tui: show only active dot for current session, update shortcut help (warning color, spacing, labels) and bind bookmarks to TAB
  • 3827290 fixes: renaming pin to bookmark for consistency, looking up sessions by id instead of title
  • 440477a fixing background color on hover
  • aa32e79 renaming header in bookmark view

📊 Changes

6 files changed (+244 additions, -74 deletions)

View changed files

📝 packages/opencode/src/server/server.ts (+16 -5)
📝 packages/opencode/src/session/index.ts (+9 -2)
📝 packages/sdk/go/session.go (+9 -4)
📝 packages/tui/internal/app/app.go (+21 -0)
📝 packages/tui/internal/components/dialog/session.go (+176 -62)
📝 packages/tui/internal/tui/tui.go (+13 -1)

📄 Description

Building on https://github.com/sst/opencode/pull/1821

With pins

image

Pinned sessions only

image

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1843 **Author:** [@spoons-and-mirrors](https://github.com/spoons-and-mirrors) **Created:** 8/11/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `feat/session-pin` --- ### 📝 Commits (10+) - [`000df42`](https://github.com/anomalyco/opencode/commit/000df421981d6e5292661596b0b86cb3b5e76701) feat: add session rename functionality to TUI modal - [`29ef84e`](https://github.com/anomalyco/opencode/commit/29ef84ed61d04bf80c637395dcfe9159dace32f1) feat: update modal title to "Rename Session" during rename mode - [`3990504`](https://github.com/anomalyco/opencode/commit/3990504f7b7c8b9ef41a5e7a4b2d9e7653617217) fix: ESC key in rename mode returns to session list instead of closing modal - [`dea5232`](https://github.com/anomalyco/opencode/commit/dea5232990e082da454d2e6d77d47e31d8502274) feat(session): introduce pins - [`fc2f165`](https://github.com/anomalyco/opencode/commit/fc2f16558ea35e945b0dc254da9d6d2916279a3b) fix: pinning does reorder the list. selecting a session puts it at the top. changing the ugly pin for a dot with success color. - [`ee792c2`](https://github.com/anomalyco/opencode/commit/ee792c272efc546fa684023ef92d880db3ad17d9) guidelines: prefer single word variable where possible - [`0cea057`](https://github.com/anomalyco/opencode/commit/0cea0578fd626a51ac63366ea0f3565fc4587732) tui: show only active dot for current session, update shortcut help (warning color, spacing, labels) and bind bookmarks to TAB - [`3827290`](https://github.com/anomalyco/opencode/commit/3827290cfd2540e94d788500571139fc704967cc) fixes: renaming pin to bookmark for consistency, looking up sessions by id instead of title - [`440477a`](https://github.com/anomalyco/opencode/commit/440477ac1c51e169a15b64512619ec0a5eb82ae1) fixing background color on hover - [`aa32e79`](https://github.com/anomalyco/opencode/commit/aa32e79fac6693c82fa74a484254565ab2d9319d) renaming header in bookmark view ### 📊 Changes **6 files changed** (+244 additions, -74 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/server/server.ts` (+16 -5) 📝 `packages/opencode/src/session/index.ts` (+9 -2) 📝 `packages/sdk/go/session.go` (+9 -4) 📝 `packages/tui/internal/app/app.go` (+21 -0) 📝 `packages/tui/internal/components/dialog/session.go` (+176 -62) 📝 `packages/tui/internal/tui/tui.go` (+13 -1) </details> ### 📄 Description Building on https://github.com/sst/opencode/pull/1821 #### With pins <img width="646" height="283" alt="image" src="https://github.com/user-attachments/assets/1f5ac1c4-8f41-4b66-9e59-0a947f5d96e1" /> #### Pinned sessions only <img width="637" height="158" alt="image" src="https://github.com/user-attachments/assets/020c40c2-b70c-4c35-85b9-10e3eff69546" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:40 -05:00
yindo closed this issue 2026-02-16 18:14:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10082