feat(session modal): introduce session bookmarking#1843
Closed
spoons-and-mirrors wants to merge 11 commits intoanomalyco:devfrom
Closed
feat(session modal): introduce session bookmarking#1843spoons-and-mirrors wants to merge 11 commits intoanomalyco:devfrom
spoons-and-mirrors wants to merge 11 commits intoanomalyco:devfrom
Conversation
Contributor
There was a problem hiding this comment.
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
Contributor
|
lol ignore these reviews they're garbage |
Contributor
|
love the idea of pinning sessions, but a few UX/visual nits:
|
Contributor
Author
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
Contributor
Author
|
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Building on #1821
With pins
Pinned sessions only