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

Create shared panels component #4006

Merged
merged 1 commit into from
May 30, 2023
Merged

Create shared panels component #4006

merged 1 commit into from
May 30, 2023

Conversation

mattseddon
Copy link
Member

@mattseddon mattseddon commented May 30, 2023

2/4 main <- #4005 <- this <- #4007 <- #4004

This PR creates a shared <Panels /> component that pulls the duplication out of what was previously the <CodeSlider /> and <StorageSlider /> (which have been renamed).

@mattseddon mattseddon force-pushed the add-shared-component branch from 2c22405 to f6c5d69 Compare May 30, 2023 03:23
@mattseddon mattseddon changed the base branch from main to move-code-slider May 30, 2023 03:33
className: string
}

export const Panels: React.FC<PanelProps> = ({ className, panels }) => {
Copy link
Member Author

Choose a reason for hiding this comment

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

[F] The reason that I renamed this from Slider is because we already have a slider => webview/src/shared/components/slider/Slider.tsx

Base automatically changed from move-code-slider to main May 30, 2023 22:31
@mattseddon mattseddon force-pushed the add-shared-component branch from f6c5d69 to e02ed47 Compare May 30, 2023 22:43
@mattseddon mattseddon enabled auto-merge (squash) May 30, 2023 22:44
@codeclimate
Copy link

codeclimate bot commented May 30, 2023

Code Climate has analyzed commit e02ed47 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (85% is the threshold).

This pull request will bring the total coverage in the repository to 95.2%.

View more on Code Climate.

@mattseddon mattseddon merged commit cb44ea1 into main May 30, 2023
@mattseddon mattseddon deleted the add-shared-component branch May 30, 2023 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants