-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Rename "Chat" to "Build" in interaction mode toggle #1769
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1476,7 +1476,7 @@ export default function ChatView({ threadId }: ChatViewProps) { | |
| type: "slash-command", | ||
| command: "default", | ||
| label: "/default", | ||
| description: "Switch this thread back to normal chat mode", | ||
| description: "Switch this thread back to normal build mode", | ||
| }, | ||
| ] satisfies ReadonlyArray<Extract<ComposerCommandItem, { type: "slash-command" }>>; | ||
| const query = composerTrigger.query.trim().toLowerCase(); | ||
|
|
@@ -4029,7 +4029,7 @@ export default function ChatView({ threadId }: ChatViewProps) { | |
| <form | ||
| ref={composerFormRef} | ||
| onSubmit={onSend} | ||
| className="mx-auto w-full min-w-0 max-w-[52rem]" | ||
| className="mx-auto w-full min-w-0 max-w-208" | ||
| data-chat-composer-form="true" | ||
| > | ||
| <div | ||
|
|
@@ -4284,13 +4284,13 @@ export default function ChatView({ threadId }: ChatViewProps) { | |
| onClick={toggleInteractionMode} | ||
| title={ | ||
| interactionMode === "plan" | ||
| ? "Plan mode — click to return to normal chat mode" | ||
| ? "Plan mode — click to return to normal build mode" | ||
| : "Default mode — click to enter plan mode" | ||
| } | ||
| > | ||
| <BotIcon /> | ||
| <span className="sr-only sm:not-sr-only"> | ||
| {interactionMode === "plan" ? "Plan" : "Chat"} | ||
| {interactionMode === "plan" ? "Plan" : "Build"} | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Label says "Build" but PR specifies "Code"Medium Severity The PR title and description both state the rename is from "Chat" to "Code", but the implementation uses Additional Locations (2)Reviewed by Cursor Bugbot for commit 2bddd7d. Configure here. |
||
| </span> | ||
| </Button> | ||
|
|
||
|
|
||


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.
Unrelated CSS class change included in PR
Low Severity
The
max-w-[52rem]→max-w-208class change is unrelated to renaming the interaction mode label. While functionally equivalent in Tailwind v4, this appears to be an accidentally included change that doesn't match the PR's scope.Reviewed by Cursor Bugbot for commit 2bddd7d. Configure here.