Merge branch 'staging' of https://github.com/VAR-Virtual-Air-Rescue/var-monorepo into staging
This commit is contained in:
@@ -7,6 +7,7 @@ import dynamic from "next/dynamic";
|
||||
import { Chat } from "../../_components/left/Chat";
|
||||
import { Report } from "../../_components/left/Report";
|
||||
import { SituationBoard } from "_components/left/SituationBoard";
|
||||
import { BugReport } from "_components/left/BugReport";
|
||||
|
||||
const Map = dynamic(() => import("../../_components/map/Map"), { ssr: false });
|
||||
|
||||
@@ -17,11 +18,10 @@ const DispatchPage = () => {
|
||||
<div className="relative flex-1 flex transition-all duration-500 ease w-full">
|
||||
{/* <MapToastCard2 /> */}
|
||||
<div className="flex flex-1 relative">
|
||||
<div className="absolute left-0 top-1/2 transform -translate-y-1/2 pl-4 z-999999">
|
||||
<div className="absolute left-0 top-1/2 transform -translate-y-1/2 pl-4 z-999999 space-y-2">
|
||||
<Chat />
|
||||
<div className="mt-2">
|
||||
<Report />
|
||||
</div>
|
||||
<Report />
|
||||
<BugReport />
|
||||
</div>
|
||||
<div className="absolute left-0 top-19/20 transform -translate-y-1/2 pl-4 z-999999">
|
||||
<div className="flex items-center justify-between gap-4">
|
||||
|
||||
@@ -12,6 +12,7 @@ import { getConnectedAircraftsAPI } from "_querys/aircrafts";
|
||||
import { checkSimulatorConnected } from "@repo/shared-components";
|
||||
import { SimConnectionAlert } from "(app)/pilot/_components/SimConnectionAlert";
|
||||
import { SettingsBoard } from "_components/left/SettingsBoard";
|
||||
import { BugReport } from "_components/left/BugReport";
|
||||
|
||||
const Map = dynamic(() => import("_components/map/Map"), {
|
||||
ssr: false,
|
||||
@@ -35,6 +36,7 @@ const PilotPage = () => {
|
||||
<div className="absolute left-0 top-1/2 transform -translate-y-1/2 pl-4 z-999999 space-y-2">
|
||||
<Chat />
|
||||
<Report />
|
||||
<BugReport />
|
||||
</div>
|
||||
<div className="flex w-2/3 h-full">
|
||||
<div className="relative flex flex-1 h-full">
|
||||
|
||||
16
apps/dispatch/app/_components/left/BugReport.tsx
Normal file
16
apps/dispatch/app/_components/left/BugReport.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import { Bug } from "lucide-react";
|
||||
|
||||
export const BugReport = () => {
|
||||
return (
|
||||
<div className="indicator">
|
||||
<a
|
||||
className="btn btn-soft btn-sm btn-warning tooltip tooltip-right"
|
||||
data-tip="Fehler Melden"
|
||||
href="https://discord.com/channels/1077269395019141140/1395892524404576367"
|
||||
target="_blank"
|
||||
>
|
||||
<Bug className="w-4 h-4" />
|
||||
</a>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
@@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@10.11.0",
|
||||
"packageManager": "pnpm@10.13.1",
|
||||
"scripts": {
|
||||
"dev": "next dev --turbopack -p 3001",
|
||||
"build": "next build",
|
||||
@@ -14,9 +14,9 @@
|
||||
"dependencies": {
|
||||
"@eslint/eslintrc": "^3.3.1",
|
||||
"@hookform/resolvers": "^5.1.1",
|
||||
"@livekit/components-react": "^2.9.12",
|
||||
"@livekit/components-react": "^2.9.14",
|
||||
"@livekit/components-styles": "^1.1.6",
|
||||
"@livekit/track-processors": "^0.5.7",
|
||||
"@livekit/track-processors": "^0.5.8",
|
||||
"@next-auth/prisma-adapter": "^1.0.7",
|
||||
"@radix-ui/react-icons": "^1.3.2",
|
||||
"@repo/db": "workspace:*",
|
||||
@@ -24,37 +24,37 @@
|
||||
"@repo/shared-components": "workspace:*",
|
||||
"@repo/typescript-config": "workspace:*",
|
||||
"@tailwindcss/postcss": "^4.1.11",
|
||||
"@tanstack/react-query": "^5.81.5",
|
||||
"@tanstack/react-query": "^5.83.0",
|
||||
"@turf/turf": "^7.2.0",
|
||||
"@types/jsonwebtoken": "^9.0.10",
|
||||
"@types/leaflet": "^1.9.19",
|
||||
"@types/leaflet": "^1.9.20",
|
||||
"@types/node": "^22.15.34",
|
||||
"@types/react": "^19.1.8",
|
||||
"@types/react-dom": "^19.1.6",
|
||||
"axios": "^1.10.0",
|
||||
"clsx": "^2.1.1",
|
||||
"daisyui": "^5.0.43",
|
||||
"daisyui": "^5.0.46",
|
||||
"date-fns": "^4.1.0",
|
||||
"eslint-config-next": "^15.3.4",
|
||||
"eslint-config-next": "^15.4.2",
|
||||
"geojson": "^0.5.0",
|
||||
"i": "^0.3.7",
|
||||
"jsonwebtoken": "^9.0.2",
|
||||
"leaflet": "^1.9.4",
|
||||
"leaflet.polylinemeasure": "^3.0.0",
|
||||
"livekit-client": "^2.14.0",
|
||||
"livekit-client": "^2.15.3",
|
||||
"livekit-server-sdk": "^2.13.1",
|
||||
"lucide-react": "^0.511.0",
|
||||
"next": "^15.3.4",
|
||||
"lucide-react": "^0.525.0",
|
||||
"next": "^15.4.2",
|
||||
"next-auth": "^4.24.11",
|
||||
"npm": "^11.4.2",
|
||||
"postcss": "^8.5.6",
|
||||
"react": "^19.1.0",
|
||||
"react-dom": "^19.1.0",
|
||||
"react-error-boundary": "^6.0.0",
|
||||
"react-hook-form": "^7.59.0",
|
||||
"react-hook-form": "^7.60.0",
|
||||
"react-hot-toast": "^2.5.2",
|
||||
"react-leaflet": "^5.0.0",
|
||||
"react-select": "^5.10.1",
|
||||
"react-select": "^5.10.2",
|
||||
"socket.io-client": "^4.8.1",
|
||||
"tailwind-merge": "^3.3.1",
|
||||
"tailwindcss": "^4.1.11",
|
||||
|
||||
Reference in New Issue
Block a user