Skip to content

feat(prompts): add interactive variable playground and live rendered output in PromptsDetails - #1573

Closed
sabhi128 wants to merge 2 commits into
OpenCSGs:mainfrom
sabhi128:feat-prompt-variable-playground
Closed

sabhi128 wants to merge 2 commits into
OpenCSGs:mainfrom
sabhi128:feat-prompt-variable-playground

Conversation

@sabhi128

Copy link
Copy Markdown
Contributor

Summary of Changes

  • Added interactive Variable Inputs form for testing prompt templates with dynamic values in PromptsDetails.vue.
  • Added a "Live Rendered Output" preview panel showing real-time variable substitution.
  • Included "Render Prompt", "Copy Output", and variable substitution status indicator.

Visual Evidence (Before vs After)

Before:

pr6 bef

After:

pr6 after

Verification

  • Verified dynamic input generation for detected variables and instantaneous output rendering.

Copilot AI balanced review requested due to automatic review settings October 19, 2026 14:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@zhendi

zhendi commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

I'm going ahead and closing this PR. The images provided are still composited mockups using the SaaS UI, which does not prove that the code in this PR functions in the open-source environment.

We need genuine proof of the code running locally. Feel free to reopen this PR only if you can provide actual, unedited screenshots or a video of the feature working locally. Thanks for your understanding.

@zhendi zhendi closed this Oct 28, 2026
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.

3 participants