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: Deprecation 'Note' changed to Markdown Renderable #9396

Conversation

kushagra-apptware
Copy link
Contributor

@kushagra-apptware kushagra-apptware commented Dec 6, 2023

Checklist

PRD-847_DeprecationNote.webm

@kushagra-apptware kushagra-apptware marked this pull request as draft December 6, 2023 10:46
@kushagra-apptware kushagra-apptware marked this pull request as ready for review December 6, 2023 10:48
@github-actions github-actions bot added the product PR or Issue related to the DataHub UI/UX label Dec 6, 2023
<DescriptionContainer>
{expanded || !overLimit ? (
<>
{deprecation?.note && deprecation?.note !== '' && <StyledViewer content={deprecation.note} readOnly />}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense logically but it can be simplified I feel. There is too much nesting and multiple conditionals happening.

Is there any way to simplify this condition?

Copy link
Collaborator

@jjoyce0510 jjoyce0510 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM aside from one refactoring comment

@kushagra-apptware kushagra-apptware enabled auto-merge (squash) December 18, 2023 05:19
@kushagra-apptware kushagra-apptware merged commit e58e2bf into datahub-project:master Dec 18, 2023
34 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product PR or Issue related to the DataHub UI/UX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants