-
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Description
Currently, named examples in parameters are displayed inline with labels, which can become cluttered when multiple examples are present.
Suggestion
Consider implementing a select/dropdown component to display named examples, allowing users to choose which example to view. This would provide a cleaner UI and better user experience, especially when dealing with multiple named examples.
Context
This enhancement follows the implementation of basic named examples support in PR #299. The current implementation shows all examples inline, but a select component would be more space-efficient and user-friendly.
References
- Original PR: fix(schema): handle named examples #299
- Discussion: fix(schema): handle named examples #299 (comment)
Acceptance Criteria
- Replace inline display with a select/dropdown component for named examples
- Maintain accessibility standards
- Preserve existing functionality for single examples
- Consider showing example summaries/descriptions in the select options
Metadata
Metadata
Assignees
Labels
No labels