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

[Platform]: Add DisplayVariantId component #441

Merged
merged 2 commits into from
Aug 28, 2024
Merged

Conversation

gjmcn
Copy link
Contributor

@gjmcn gjmcn commented Aug 19, 2024

Description

Add DisplayVariantId component and use it where show variant id - currently in variant page header and section descriptions.

The PR includes small changes to packages/ui/src/components/Section/SectionItem.jsx:

  • Bug fix: check if have data before passing it to renderDescription function - and show a skeleton if not.
  • Use a <div> rather than <p> for the description subheader to avoid DOM nesting warnings from MUI.

Issue: 3390
Preview: https://deploy-preview-441--ot-platform.netlify.app/variant/OTVAR_1_109607656_cc1bda57abafe82ac6cb5ec620a02a19

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Checked on dev.

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have made corresponding changes to the documentation

@carcruz carcruz merged commit f3b44cd into genetics Aug 28, 2024
11 checks passed
@carcruz carcruz deleted the gm-variant-name branch August 28, 2024 19:04
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.

2 participants