-
-
Notifications
You must be signed in to change notification settings - Fork 639
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: migrate asyncapi3comparison and tabs #2769
feat: migrate asyncapi3comparison and tabs #2769
Conversation
✅ Deploy Preview for asyncapi-website ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
… MigrateAsyncapi3comparison
|
||
/** | ||
* @description Component for comparing AsyncAPI versions based on ID and address. | ||
* @param {AsyncAPI3IdAndAddressComparisonProps} props - Props for the component. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
create separate params like props.className
inside jsDoc comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
define these types in the component file itself, since these types are specific to those components only.
@akshatnema @anshgoyalevil updated the pr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apply these changes in all the files.
components/Asyncapi3Comparison/Asyncapi3IdAndAddressComparison.tsx
Outdated
Show resolved
Hide resolved
components/Asyncapi3Comparison/Asyncapi3IdAndAddressComparison.tsx
Outdated
Show resolved
Hide resolved
components/Asyncapi3Comparison/Asyncapi3IdAndAddressComparison.tsx
Outdated
Show resolved
Hide resolved
components/Asyncapi3Comparison/Asyncapi3IdAndAddressComparison.tsx
Outdated
Show resolved
Hide resolved
components/Asyncapi3Comparison/Asyncapi3SchemaFormatComparison.tsx
Outdated
Show resolved
Hide resolved
components/Asyncapi3Comparison/Asyncapi3SchemaFormatComparison.tsx
Outdated
Show resolved
Hide resolved
components/Asyncapi3Comparison/Asyncapi3SchemaFormatComparison.tsx
Outdated
Show resolved
Hide resolved
components/Asyncapi3Comparison/Asyncapi3SchemaFormatComparison.tsx
Outdated
Show resolved
Hide resolved
components/Asyncapi3Comparison/Asyncapi3ParameterComparison.tsx
Outdated
Show resolved
Hide resolved
</div> | ||
<div className='ml-1 flex-1 border border-black p-2'> | ||
<h3 className='mb-4 ml-2 font-sans text-lg font-medium'>AsyncAPI 3.0</h3> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vishvamsinh28 Kindly avoid these unnecessary blank lines.
</div> | ||
</div> | ||
</div> | ||
</div > |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
</div > | |
</div> |
Specify this closing div tag properly
@akshatnema updated the pr and removed unnecessary line breaks |
types/tabs/tabs.ts
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Include these types in the Tabs
component itself.
components/tabs/Tabs.tsx
Outdated
|
||
/** | ||
* @description Tabs component to display a set of tabs with associated content. | ||
* @param {TabsProps} props - The props for the Tabs component. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explain each object inside the props in the jsDoc.
* @param {string} [props.className=''] - Additional CSS classes for styling. | ||
* @description React component for comparing AsyncAPI schema formats between versions 2.x and 3.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
provide @description
above @param
.
… MigrateAsyncapi3comparison
@akshatnema pr updated |
@vishvamsinh28 resolve the lint errors. |
@akshatnema lint error fixed |
/rtm |
migrated asyncapi3comparison and tabs