fix(web): preserve composer draft during planning prompts #809
Closedthomasbrugman(GitHub profile, opens in a new tab)wants to merge 1 commit into
main fromrefs/pull/809/headopened View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched
- apps/web/src/components/ChatView.tsx lines 4311 to 4313Resolvedby thomasbrugman(GitHub profile, opens in a new tab)@@ -4634,3 +4586,9 @@46344586 </div>46354587 </div>46364588 <p className="mt-1.5 text-sm text-foreground/90">{activeQuestion.question}</p>4589+ <div className="mt-3 rounded-xl border border-border/60 bg-background/65 px-3 py-2.5">4590+ <ComposerPromptEditor4591+ ref={pendingAnswerEditorRef}4592+ value={progress.customAnswer}4593+ cursor={progress.customAnswer.length}4594+ disabled={isResponding}
- apps/web/src/components/ChatView.tsx lines 4308 to 4312OutdatedResolvedby thomasbrugman(GitHub profile, opens in a new tab)@@ -4634,3 +4586,8 @@46344586 </div>46354587 </div>46364588 <p className="mt-1.5 text-sm text-foreground/90">{activeQuestion.question}</p>4589+ <div className="mt-3 rounded-xl border border-border/60 bg-background/65 px-3 py-2.5">4590+ <ComposerPromptEditor4591+ ref={pendingAnswerEditorRef}4592+ value={progress.customAnswer}4593+ cursor={progress.customAnswer.length}
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:XXL
Sign in to join this conversation.
Important
Review skipped#
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID:
5316bdfa-c970-4b16-a5f1-452aeb173d25You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
✨ Finishing Touches
🧪 Generate unit tests (beta)
📝 Coding Plan
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.
❤️ Share
Tip
CodeRabbit can use your project's `biome` configuration to improve the quality of JS/TS/CSS/JSON code reviews.
Add a configuration file to your project to customize how CodeRabbit runs
biome.