Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Nov 24, 2025

Document examples option for readonly prop in RunnableEndpoint

Summary

Added documentation for the new "examples" value in the readonly prop of the <RunnableEndpoint> component. This option allows users to lock the example selector and prevent switching between multiple examples, similar to how "environment" locks the environment selector.

The change updates the readonly parameter description to include:

  • Explanation that "examples" locks the example selection
  • Behavior when set: hides the example selector dropdown
  • Fallback logic: uses the example prop value, or the first example if not specified

Review & Testing Checklist for Human

  • Verify feature behavior: Test that readonly={["examples"]} actually hides the example selector and works as documented
  • Check documentation clarity: Ensure the wording is clear and follows the existing pattern for the "environment" option
  • Consider adding examples: Evaluate whether a usage example showing readonly={["examples"]} would be helpful for users

Notes

@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@github-actions
Copy link
Contributor

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