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

fix: display title instead of any for combiners #224

Merged
merged 2 commits into from May 30, 2023

Conversation

BelfordZ
Copy link
Contributor

@BelfordZ BelfordZ commented May 24, 2023

Motivation and Context

#InsertIssueNumberHere

fixes #223

Description

When rendering a combiner's children, we want to show the title if there is one.

How Has This Been Tested?

with the provided schema fixture inside of storybook

Screenshot(s)/recordings(s)

see linked issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

@marbemac
Copy link
Contributor

@P0lip @mnaumanali94 any chance ya'll could take a look at this in the near future? Thank you!

src/components/SchemaRow/useChoices.ts Outdated Show resolved Hide resolved
Co-authored-by: Jakub Rożek <jakub@rozek.tech>
@P0lip P0lip merged commit 971f8fa into stoplightio:master May 30, 2023
P0lip added a commit that referenced this pull request May 30, 2023
* fix: display title instead of any for combiners

* fix: remove as string in favor of string construction

Co-authored-by: Jakub Rożek <jakub@rozek.tech>

---------

Co-authored-by: Jakub Rożek <jakub@rozek.tech>
@BelfordZ
Copy link
Contributor Author

Thank you <3

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.

Show title instead of any for combiners
3 participants