Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🤔 [ISSUE] - only show accessible replacement tokens #223

Open
medtaher123 opened this issue Oct 15, 2024 · 0 comments
Open

🤔 [ISSUE] - only show accessible replacement tokens #223

medtaher123 opened this issue Oct 15, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@medtaher123
Copy link
Contributor

Description

Description

In the block form's message section, all possible context variables are currently shown as replacement tokens. However, not all of these variables are accessible from that specific block. The displayed replacement tokens should be limited to the context variables that are accessible within the block.

Accessible context variables include:

  1. Context variables captured in previous blocks within the same conversation flow.
  2. Permanent context variables, which can be accessed from any flow but may be undefined if the conversation flow that sets them hasn't been called.

image

Additional Requirement:

Indicate permanent context variables in the UI since they can potentially be undefined, depending on whether the conversation flow that sets them has been executed.

Reproduction steps

1. Go to visual-editor
2. Click on any Simple text block
3. Go to Messages Tab
4. See Context vars

Logs

No response

Browsers

No response

OS

No response

@medtaher123 medtaher123 added the enhancement New feature or request label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant