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

Move CodeSlider into Setup folder #4005

Merged
merged 2 commits into from
May 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
} from '@vscode/webview-ui-toolkit/react'
import React from 'react'
import styles from './styles.module.scss'
import { CodeBlock, CodeBlockProps } from '../codeBlock/CodeBlock'
import { CodeBlock, CodeBlockProps } from '../shared/CodeBlock'

interface CodeBlockWithTitle extends CodeBlockProps {
title: string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/no-unsafe-call */
import React from 'react'
import { CodeSlider } from '../../../shared/components/codeSlider/CodeSlider'
import { CodeSlider } from './CodeSlider'
import pyTorch from '../../snippets/pyTorch.py'
import huggingFace from '../../snippets/huggingFace.py'
import keras from '../../snippets/keras.py'
Expand Down
2 changes: 1 addition & 1 deletion webview/src/setup/components/experiments/NoData.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import { DvcLiveExamples } from './DvcLiveExamples'
import { CodeBlock } from '../../../shared/components/codeBlock/CodeBlock'
import { CodeBlock } from '../shared/CodeBlock'
import { EmptyState } from '../../../shared/components/emptyState/EmptyState'

export const NoData: React.FC = () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '../../variables';
@import '../../../shared/variables';

.codeSlider {
margin-top: 40px;
Expand Down
2 changes: 1 addition & 1 deletion webview/src/setup/components/remotes/CloudVersioning.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { PropsWithChildren } from 'react'
import { CloudVersioningLink } from './CloudVersioningLink'
import { InfoText } from './InfoText'
import { CodeBlock } from '../../../shared/components/codeBlock/CodeBlock'
import { CodeBlock } from '../shared/CodeBlock'

export const CloudVersioning: React.FC<PropsWithChildren> = ({ children }) => (
<>
Expand Down