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

🪟 🧹 Improve SidebarDropdownMenu component #17945

Merged
merged 1 commit into from
Oct 13, 2022

Conversation

timroes
Copy link
Collaborator

@timroes timroes commented Oct 13, 2022

What

Cleans up the SidebarDropdownMenu component to extract the rendered items into actual react component instead of having an inline method returning JSX. The previous code would fail with the React 18 upgrade due to more stricter types, and this is anyway the more React-like solution.

@timroes timroes added area/frontend Related to the Airbyte webapp ui/components labels Oct 13, 2022
@timroes timroes requested a review from a team as a code owner October 13, 2022 11:59
@github-actions github-actions bot added the area/platform issues related to the platform label Oct 13, 2022
Copy link
Contributor

@josephkmh josephkmh left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@timroes timroes merged commit 9836c11 into master Oct 13, 2022
@timroes timroes deleted the tim/sidemenu-refactoring branch October 13, 2022 14:15
jhammarstedt pushed a commit to jhammarstedt/airbyte that referenced this pull request Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend Related to the Airbyte webapp area/platform issues related to the platform ui/components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants