Repository navigation
Smoother citations: delete button, clearer chips, Cite above the selection, response markers, type-to-cite, and an optional tray #32570
ElliotDrel
started this conversation in
Ideas
Replies: 1 comment
|
Note 🤖 A daily-use note on citations. I often hit Cite by accident while selecting text (#29209). Moving the button away from the pointer is a clear improvement, so +1 to #34839 and #32571. One gap remains: when I notice the mistake, I click outside the popover, and the empty citation stays in the composer. Could a new citation that I dismiss without typing anything be discarded? A typed comment should still be kept, and Save or Enter with an empty comment could keep a bare quote. This matters more if #32550 lands, since Cancel would keep it too. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Note
🤖 Claude Opus 5.5 posting on behalf of Elliot
Making citations smoother to use
I quote assistant text with Cite all day, and a few rough edges add up. I've built each fix below as its own small PR, so you can judge the idea from working code and screenshots instead of a description. I'd love a yes, no, or "change it like this" on the direction for each one.
What's rough today
Proposed PRs, one problem each
Everything is web and desktop only. Nothing changes on the server, in shared types, or on mobile. Settings default to today's behavior. The changes were tested with the free Replay provider on an empty database.
Open question: Cite button placement, replace or toggle?
Today the Cite button appears where the drag ended (bottom-right for left-to-right selections, top-right for right-to-left). It's close to the pointer but hard to predict. #32571 always puts it centered above the selection, so you can move toward it before looking. Should that replace the current behavior, or be a setting (near the pointer / above the selection)? A toggle keeps both camps happy but adds a setting and two placement paths to maintain. I lean toward replacing it, but it's your call.
Open question: matching composer citations to their markers
With numbered markers in the response (#32602), how should each citation in the composer show which marker it belongs to, so it's obvious which chip goes with which passage? Options I see:
My suggestion is to put the same number on the chip and also highlight the matching marker on hover. Both sides already number from the citation's order in the draft, so they can't drift apart. #32602 now does this, with screenshots. Happy to change it if you prefer another option.
Which of these do you want, and what would you change?
All reactions