GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||
GeezerVison is showing github.com — feat(web): recall sent prompts with arrow keys by sethwebster · Pull Request #7952 · pingdotgg/t3code Conversation
|
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
One keyboard-interaction finding in the new prompt-history navigation. Everything else in the diff is behavior-only (no styling, primitive, or CSS ownership changes), so no other consistency issues were found.
Posted via Macroscope — UI Consistency
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
ApprovabilityVerdict: Skipped Macroscope did not run approvability analysis for this PR. Macroscope could not determine whether this PR modifies its approvability configuration, so the PR was not approved automatically. A PR that may change the rules that govern approval is never approved automatically. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
One finding on the new composer image-attachment collapse wrapper. Everything else in scope (Button/Tooltip primitive usage, thumbnail geometry, prompt-history keyboard gating and editor handle) looks consistent with the existing patterns.
Posted via Macroscope — UI Consistency
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
One new keyboard-behavior finding in the arrow-key history handler. The attachment-strip collapse transition flagged on 44d9ae7 (apps/web/src/components/chat/ChatComposer.tsx, grid-rows-[1fr]/grid-rows-[0fr] wrapper) is unchanged at this head, so that finding still stands and is not repeated inline here.
Posted via Macroscope — UI Consistency
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
…dd-sent-text-history # Conflicts: # apps/web/src/components/ChatView.tsx
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit b67ba9f. Configure here.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| const composerPromptHistoryEntries = useMemo( | ||
| () => buildComposerPromptHistoryEntries(timelineMessages), | ||
| [timelineMessages], | ||
| ); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
High Severity
composerPromptHistoryEntries is built from timelineMessages, which always appends local Codex feedback user messages after server and optimistic messages. Those /feedback rows stay in session state and are never removed, so after any feedback submit they become the newest history entries. ArrowUp then recalls /feedback instead of the latest real prompt, and history order no longer matches the chronology the timeline shows via createdAt sorting.
Reviewed by Cursor Bugbot for commit b67ba9f. Configure here.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Any blockers on landing this? It's the most-missed piece of the composer for anyone arriving from the terminal client, and the empty-composer-only gating here looks like the right call. Happy to test the branch if that helps move it along. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Note 🤖 GPT-6 Astra (preview) responding on behalf of Theo This was closed as part of an automated cleanup pass. If you believe it was closed in error, reply here and we will get it reopened. Closing as a duplicate of #9173, the retained text-only prompt-history implementation. It builds history on keypress and avoids attachment restoration state. The keyboard and message-identity cases from this branch are recorded there for review. The feature is not merged yet. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Press ArrowUp in an empty composer to get the last prompt sent in this thread. ArrowUp again goes further back, ArrowDown comes forward, and going past the newest prompt clears the composer. History is per thread and derived from the thread's user messages on the keypress, so nothing new is stored or synced. Send-time appends (terminal and element context, preview annotations, review comments, the ultrathink prefix) and app-composed sends are stripped. With text in the composer, arrows move the caret unless the caret is on the first or last visual line of an unedited recalled prompt. Modifiers, IME composition, menus, approvals, and pending questions take priority. Attachments are not restored. Prior art: #1778 by @PratyushChauhan, #4336 by @mfazekas, #7952 by @sethwebster. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Press ArrowUp in an empty composer to get the last prompt sent in this thread. ArrowUp again goes further back, ArrowDown comes forward, and going past the newest prompt clears the composer. History is per thread and derived from the thread's user messages on the keypress, so nothing new is stored or synced. Send-time appends (terminal and element context, preview annotations, review comments, the ultrathink prefix) and app-composed sends are stripped. With text in the composer, arrows move the caret unless the caret is on the first or last visual line of an unedited recalled prompt. Modifiers, IME composition, menus, approvals, and pending questions take priority. Attachments are not restored. Prior art: pingdotgg#1778 by @PratyushChauhan, pingdotgg#4336 by @mfazekas, pingdotgg#7952 by @sethwebster. Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
feat(web): recall sent prompts with ArrowUp in the composer
There was an error while loading. Please reload this page.