Skip to content

Enhance named examples display with select component #300

@coderabbitai

Description

@coderabbitai

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

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
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions