-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui-debug): add export button for json and text files
- Loading branch information
Showing
7 changed files
with
130 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 1 addition & 6 deletions
7
webapp/src/components/App/Singlestudy/explore/Debug/Data/Image.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
import { useTranslation } from "react-i18next"; | ||
import EmptyView from "../../../../../common/page/SimpleContent"; | ||
import ViewWrapper from "../../../../../common/page/ViewWrapper"; | ||
import ImageIcon from "@mui/icons-material/Image"; | ||
|
||
function Image() { | ||
const { t } = useTranslation(); | ||
|
||
return ( | ||
<ViewWrapper> | ||
<EmptyView icon={ImageIcon} title={t("study.debug.file.image")} /> | ||
</ViewWrapper> | ||
); | ||
return <EmptyView icon={ImageIcon} title={t("study.debug.file.image")} />; | ||
} | ||
|
||
export default Image; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 7 additions & 10 deletions
17
webapp/src/components/App/Singlestudy/explore/Debug/Data/Matrix.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
webapp/src/components/App/Singlestudy/explore/Debug/Data/styles.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { styled } from "@mui/material"; | ||
|
||
export const Flex = styled("div")(({ theme }) => ({ | ||
height: "100%", | ||
display: "flex", | ||
flexDirection: "column", | ||
gap: theme.spacing(1), | ||
})); | ||
|
||
export const Menubar = styled("div")({ | ||
display: "flex", | ||
justifyContent: "flex-end", | ||
}); |