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

feat: render metadata images and description in choices #209

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

elboletaire
Copy link
Member

@elboletaire elboletaire commented Feb 19, 2025

This standardizes* what @selankon did in PR #205. Such PR has not been accepted because it's into another PR that never got approved for not being really required.

From the original PR, some changes have been done:

  • The modal will only render if both default and thumbnail images are defined.
  • When only default is defined, no modal will be rendered
  • Anatomy keys have been renamed for simplicity
  • A cast to any was required in choice.meta since the required SDK changes never got an official version
  • TODO: description should be renderable directly in the choices, not just in the modal

* standardized so it can be merged to main, rather than to a specific branch with more changes

This standardizes what @selankon did in PR #205. Such PR has not been
accepted because it's into another PR that never got approved for not
being really required.

From the original PR, some changes have been done:
- The modal will only render if both default and thumbnail images are
  defined.
- When only default is defined, no modal will be rendered
- Anatomy keys have been renamed for simplicity
- A cast to any was required in choice.meta since the required SDK
  changes never got an official version
- TODO: description should be renderable directly in the choices, not
  just in the modal
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