Skip to content

Fix freeform {{examples}} as a B-only case field - #23

Merged
MariaHov merged 1 commit into
mainfrom
fix/freeform-examples-case-field
Sep 22, 2026
Merged

MariaHov merged 1 commit into
mainfrom
fix/freeform-examples-case-field

Conversation

@MariaHov

Copy link
Copy Markdown
Collaborator

Summary

  • When allowExamples is off, treat {{examples}} as a normal dynamic case field
  • Stop blank shared-examples rendering from wiping freeform variables.examples
  • Keep shared structured examples reserved only when allowExamples is on

Test plan

  • Use Prompt B with {{examples}} and Prompt A without; no allowExamples
  • Confirm an Examples case field appears with a “B only” note
  • Confirm full-prompt preview for B includes the freeform examples text
  • With allowExamples: true, shared Examples UI still works and case field stays hidden

Made with Cursor

…off.

Previously the reserved name hid the field and blank shared examples wiped case variables, so Prompt-B-only example text never appeared.

Co-authored-by: Cursor <cursoragent@cursor.com>
@MariaHov
MariaHov merged commit cdc2b27 into main Sep 22, 2026
@MariaHov
MariaHov deleted the fix/freeform-examples-case-field branch September 22, 2026 10:29
@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: 1a586d18-d5b0-471e-881d-a977a74ee387


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

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