-
Notifications
You must be signed in to change notification settings - Fork 9.1k
feat(session modal): introduce session bookmarking #1843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(session modal): introduce session bookmarking #1843
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This violates the AGENTS.md guideline: "PREFER single word variable names where possible". Consider: Use id instead of sessionID and session instead of updatedSession
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This violates the AGENTS.md guideline: "PREFER single word variable names where possible". Consider: Use id instead of sessionID in function parameters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Multiple variables violate the AGENTS.md guideline: "PREFER single word variable names where possible". Consider shorter names like: selectedSession -> selected, filteredSessions -> filtered, newTitle -> title, deleteConfirmationID -> confirmID, etc.
9aa0700 to
5141fe8
Compare
|
lol ignore these reviews they're garbage |
|
love the idea of pinning sessions, but a few UX/visual nits:
|
Enable users to rename sessions directly from the session modal by pressing 'r' key. - Add PATCH /session/:id API endpoint for updating session title - Extend Go SDK with UpdateSession method and SessionUpdateParams type - Add UpdateSession method to TUI app for API integration - Implement rename mode in session modal with textinput component - Update modal help text to show 'r rename' option - Handle Enter/Esc for confirm/cancel rename operations 🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode <noreply@opencode.ai>
Change the session modal title from "Switch Session" to "Rename Session" when user enters rename mode, providing clearer context for the current operation. 🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode <noreply@opencode.ai>
…g modal When in session rename mode, pressing ESC now exits rename mode and returns to the session list view instead of closing the modal entirely. This provides a more intuitive user experience. - Add ReopenSessionModalMsg to handle rename mode ESC behavior - Modify sessionDialog.Close() to detect rename mode and reopen modal - Add TUI handler for ReopenSessionModalMsg to recreate session modal - Remove explicit ESC handling from rename mode (now handled by Close method) 🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode <noreply@opencode.ai>
- `p` to pin session in the session modal - `shift+p` to see pinned session only
…e top. changing the ugly pin for a dot with success color.
…warning color, spacing, labels) and bind bookmarks to TAB
00630f0 to
0cea057
Compare
|
Hey @adamdotdevin, here's how the suggestions look like
or |
f16de3d to
cc0d460
Compare
772b621 to
eb855e1
Compare
f1dc981 to
3e15a39
Compare
f8ee907 to
6a9856d
Compare




Building on #1821
With pins
Pinned sessions only