Skip to content

feat:interpolate variables in code snippet modal - #62

Open
adwait-bruno wants to merge 1 commit into
usebruno:mainfrom
adwait-bruno:feat/interpolate-variables
Open

feat:interpolate variables in code snippet modal#62
adwait-bruno wants to merge 1 commit into
usebruno:mainfrom
adwait-bruno:feat/interpolate-variables

Conversation

@adwait-bruno

@adwait-bruno adwait-bruno commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Continuation of #57.
REF:BRU-4007
Adds an Interpolate Variables checkbox to the code snippet modal, in both the docs and the playground.

Docs

The modal opens matching the global Show vars toggle, so expanding a snippet never changes what the code says. From that point the checkbox takes over for that modal only,leaving the page toggle untouched. Reopening the modal syncs it to the toggle again.
The inline snippet box on docs pages is unchanged and still follows Show vars.

Playground

The modal does not follow Show vars at all. The toggle belongs to the docs reading experience and can be hidden behind the playground dock, so the checkbox is the only control here.

Secrets

Secrets can also be interpolated only in the playground snippets (parity with app).

Images:
image

Screenshot 2026-08-28 at 6 33 33 PM

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