Skip to content

Fix compare-mode prompt templating preview - #21

Merged
MariaHov merged 1 commit into
mainfrom
fix/compare-mode-templating-preview
Sep 22, 2026
Merged

MariaHov merged 1 commit into
mainfrom
fix/compare-mode-templating-preview

Conversation

@MariaHov

Copy link
Copy Markdown
Collaborator

Summary

  • In compare mode, show full-prompt previews for both Prompt A and Prompt B per case
  • Mark case fields that appear in only one template with small “A only” / “B only” notes
  • Re-render case fields when compare mode is toggled so placeholders stay in sync

Test plan

  • Enable features.promptTemplating and allowCompare
  • Use different {{placeholders}} in Prompt A vs B and confirm union of fields + usage notes
  • Confirm dual full-prompt preview updates when case field values change
  • Toggle compare off and confirm single-preview UI returns

Made with Cursor

Show both Prompt A and B full-prompt previews, and mark case fields that appear in only one template.

Co-authored-by: Cursor <cursoragent@cursor.com>
@MariaHov
MariaHov merged commit 3cfd16e into main Sep 22, 2026
1 check passed
@coderabbitai

coderabbitai Bot commented Sep 22, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 68c8f92c-204d-4a26-85f2-929f2e87cf96


Comment @coderabbitai help to get the list of available commands.

@MariaHov
MariaHov deleted the fix/compare-mode-templating-preview branch September 22, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant