Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(site): Remove dead code#7436

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
BrunoQuaresma merged 1 commit intomainfrombq/refactor-dead-code
May 5, 2023
Merged
Show file tree
Hide file tree
Changes fromall 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
22 changes: 0 additions & 22 deletionssite/src/components/AppLink/AppLinkSkeleton.tsx
View file
Open in desktop

This file was deleted.

8 changes: 0 additions & 8 deletionssite/src/components/GlobalSnackbar/utils.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -64,14 +64,6 @@ function dispatchNotificationEvent(
})
}

export const displayMsg = (msg: string, additionalMsg?: string): void => {
dispatchNotificationEvent(
MsgType.Info,
msg,
additionalMsg ? [additionalMsg] : undefined,
)
}

export const displaySuccess = (msg: string, additionalMsg?: string): void => {
dispatchNotificationEvent(
MsgType.Success,
Expand Down
108 changes: 0 additions & 108 deletionssite/src/components/RuntimeErrorState/RuntimeErrorReport.tsx
View file
Open in desktop

This file was deleted.

73 changes: 0 additions & 73 deletionssite/src/components/RuntimeErrorState/createCtas.tsx
View file
Open in desktop

This file was deleted.

53 changes: 0 additions & 53 deletionssite/src/components/TableCellLink/TableCellLink.tsx
View file
Open in desktop

This file was deleted.

View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -26,10 +26,6 @@ interface HelpTooltipProps {
buttonClassName?: string
}

export const Language = {
ariaLabel: "tooltip",
}

export const HelpTooltipContext = createContext<
{ open: boolean; onClose: () => void } | undefined
>(undefined)
Expand DownExpand Up@@ -108,7 +104,7 @@ export const HelpTooltip: FC<PropsWithChildren<HelpTooltipProps>> = ({
onMouseLeave={() => {
setIsOpen(false)
}}
aria-label={Language.ariaLabel}
aria-label="More info"
>
<Icon className={combineClasses([styles.icon, iconClassName])} />
</button>
Expand Down
30 changes: 0 additions & 30 deletionssite/src/components/UsersTable/UsersTable.test.tsx
View file
Open in desktop

This file was deleted.

View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
import { makeStyles } from "@material-ui/core/styles"
import {
Template,
TemplateVersion,
Expand DownExpand Up@@ -55,26 +54,3 @@ export const TemplateSummaryPageView: FC<TemplateSummaryPageViewProps> = ({
</Stack>
)
}

export const useStyles = makeStyles((theme) => {
return {
markdownSection: {
background: theme.palette.background.paper,
border: `1px solid ${theme.palette.divider}`,
borderRadius: theme.shape.borderRadius,
},

readmeLabel: {
color: theme.palette.text.secondary,
fontWeight: 600,
padding: theme.spacing(2, 3),
borderBottom: `1px solid ${theme.palette.divider}`,
},

markdownWrapper: {
padding: theme.spacing(0, 3, 5),
maxWidth: 800,
margin: "auto",
},
}
})
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,8 +20,6 @@ import {
TemplateVariableField,
} from "components/TemplateVariableField/TemplateVariableField"

export const getValidationSchema = (): Yup.AnyObjectSchema => Yup.object()

export interface TemplateVariablesForm {
templateVersion: TemplateVersion
templateVariables: TemplateVersionVariable[]
Expand Down
13 changes: 0 additions & 13 deletionssite/src/utils/duration.ts
View file
Open in desktop

This file was deleted.

4 changes: 0 additions & 4 deletionssite/src/xServices/setup/setupXService.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,10 +2,6 @@ import * as API from "api/api"
import * as TypesGen from "api/typesGenerated"
import { assign, createMachine } from "xstate"

export const Language = {
createFirstUserError: "Failed to create the user.",
}

export interface SetupContext {
error?: unknown
firstUser?: TypesGen.CreateFirstUserRequest
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp