Skip to content
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
4 changes: 4 additions & 0 deletions packages/amplify/amplify/backend.ts
Comment thread
dastine0308 marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@ TelemetryECSTaskDefinition.addContainer("TheContainer", {
HeliosPasswords,
"FINISH_LINE_UPDATE_PASSWORD",
),
SNAPSHOT_PASSWORD: ecs.Secret.fromSecretsManager(
HeliosPasswords,
"SNAPSHOT_PASSWORD",
),
},
});

Expand Down
5 changes: 5 additions & 0 deletions packages/client/.env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
NEXT_PUBLIC_MAPSAPIKEY=''
SOCKET_URL=localhost:3001

# Grafana dashboard links (opens in new tab from the Analysis page)
# Use the browser address bar URL of each dashboard
NEXT_PUBLIC_GRAFANA_LIVE_OPEN_URL=''
NEXT_PUBLIC_GRAFANA_HISTORY_OPEN_URL=''
57 changes: 57 additions & 0 deletions packages/client/public/assets/grafana_icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 21 additions & 19 deletions packages/client/src/components/containers/TabsContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,29 @@ function TabsContainer() {
const { slug } = router.query;

return (
<div className="flex h-full flex-col">
<div className="flex h-full min-h-0 flex-col">
<NavBar />
{routes.map((route: SolarCarRoutes) => {
if (route.path === "/" + slug?.toString()) {
const isRaceOrAnalysisTab =
route.path === "/race" || route.path === "/analysis";
<div className="min-h-0 flex-1 overflow-y-auto">
{routes.map((route: SolarCarRoutes) => {
if (route.path === "/" + slug?.toString()) {
const isRaceOrAnalysisTab =
route.path === "/race" || route.path === "/analysis";

return (
<Fragment key={route.id}>
{isRaceOrAnalysisTab ? (
route.element
) : (
<FullscreenWrapper componentName={`${route.id} Tab`}>
{route.element}
</FullscreenWrapper>
)}
</Fragment>
);
}
return null;
})}
return (
<Fragment key={route.id}>
{isRaceOrAnalysisTab ? (
route.element
) : (
<FullscreenWrapper componentName={`${route.id} Tab`}>
{route.element}
</FullscreenWrapper>
)}
</Fragment>
);
}
return null;
})}
</div>
</div>
);
}
Expand Down
Loading
Loading