-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
95 changed files
with
3,220 additions
and
2,996 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Check JS/TS/TSX/JSX format | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
format: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Biome | ||
uses: biomejs/setup-biome@v2 | ||
with: | ||
version: 1.8.3 | ||
|
||
- name: Run Biome format check | ||
working-directory: applications/visualizer/frontend | ||
run: biome format . |
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,4 +1,4 @@ | ||
name: Python Lint | ||
name: Python Format | ||
|
||
on: [push, pull_request] | ||
|
||
|
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 |
---|---|---|
|
@@ -2,4 +2,6 @@ skaffold.yaml | |
docker-compose.yaml | ||
# deployment/ | ||
cloud-harness/ | ||
.vscode/ | ||
.vscode/ | ||
node_modules | ||
secret.json |
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
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,6 +1,6 @@ | ||
django==5.0.3 | ||
django-cors-headers==4.3.1 | ||
django-ninja==1.1.0 | ||
django-ninja==1.2.2 | ||
uvicorn==0.29.0 | ||
ruamel.yaml==0.18.6 | ||
psycopg[binary]==3.1.18 |
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
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 was deleted.
Oops, something went wrong.
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,6 +1,6 @@ | ||
declare module '*.svg' { | ||
import React = require('react'); | ||
export const ReactComponent: React.FC<React.SVGProps<SVGSVGElement>>; | ||
const src: string; | ||
export default src; | ||
} | ||
declare module "*.svg" { | ||
import React = require("react"); | ||
export const ReactComponent: React.FC<React.SVGProps<SVGSVGElement>>; | ||
const src: string; | ||
export default src; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,42 @@ | ||
import { Provider } from "react-redux"; | ||
import { ThemeProvider } from "@mui/material/styles"; | ||
import { Box, CssBaseline } from "@mui/material"; | ||
import { ThemeProvider } from "@mui/material/styles"; | ||
import { Provider } from "react-redux"; | ||
import theme from "./theme/index.tsx"; | ||
import "./App.css"; | ||
import { useGlobalContext } from "./contexts/GlobalContext.tsx"; | ||
import AppLauncher from "./components/AppLauncher.tsx"; | ||
import WorkspaceComponent from "./components/WorkspaceComponent.tsx"; | ||
import { ViewMode } from "./models/models.ts"; | ||
import { useGlobalContext } from "./contexts/GlobalContext.tsx"; | ||
import { ViewMode } from "./models"; | ||
|
||
function App() { | ||
const { | ||
workspaces, | ||
currentWorkspaceId, | ||
viewMode, | ||
selectedWorkspacesIds, | ||
} = useGlobalContext(); | ||
|
||
|
||
const hasLaunched = currentWorkspaceId != undefined | ||
|
||
return ( | ||
<> | ||
<ThemeProvider theme={theme}> | ||
<CssBaseline /> | ||
{hasLaunched ? ( | ||
<Box className={"layout-manager-container"}> | ||
{viewMode === ViewMode.Compare ? | ||
Array.from(selectedWorkspacesIds).map(id => ( | ||
<Provider key={id} store={workspaces[id].store}> | ||
<WorkspaceComponent /> | ||
</Provider> | ||
)) | ||
: | ||
<Provider store={workspaces[currentWorkspaceId].store}> | ||
<WorkspaceComponent /> | ||
</Provider> | ||
} | ||
const { workspaces, currentWorkspaceId, viewMode, selectedWorkspacesIds } = useGlobalContext(); | ||
|
||
</Box> | ||
const hasLaunched = currentWorkspaceId !== undefined; | ||
|
||
) : <AppLauncher />} | ||
</ThemeProvider> | ||
</> | ||
) | ||
return ( | ||
<> | ||
<ThemeProvider theme={theme}> | ||
<CssBaseline /> | ||
{hasLaunched ? ( | ||
<Box className={"layout-manager-container"}> | ||
{viewMode === ViewMode.Compare ? ( | ||
Array.from(selectedWorkspacesIds).map((id) => ( | ||
<Provider key={id} store={workspaces[id].store}> | ||
<WorkspaceComponent /> | ||
</Provider> | ||
)) | ||
) : ( | ||
<Provider store={workspaces[currentWorkspaceId].store}> | ||
<WorkspaceComponent /> | ||
</Provider> | ||
)} | ||
</Box> | ||
) : ( | ||
<AppLauncher /> | ||
)} | ||
</ThemeProvider> | ||
</> | ||
); | ||
} | ||
|
||
export default App; |
Oops, something went wrong.