Add current version number to the dashboard and specify testing environment
Add current version number to the dashboard UI and document that all tests are performed on the external server with local authentication. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 42d8028a-fa71-4ec2-938c-e43eedf7df01 Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/6d543d2c-20b9-4ea6-93fe-70fe9b1d9f80/42d8028a-fa71-4ec2-938c-e43eedf7df01/IdDfihe
This commit is contained in:
parent
47fa3104e3
commit
8237234fad
@ -10,6 +10,7 @@ import { ShiftWithDetails, GuardWithCertifications, Site } from "@shared/schema"
|
|||||||
import { formatDistanceToNow, format } from "date-fns";
|
import { formatDistanceToNow, format } from "date-fns";
|
||||||
import { it } from "date-fns/locale";
|
import { it } from "date-fns/locale";
|
||||||
import { Skeleton } from "@/components/ui/skeleton";
|
import { Skeleton } from "@/components/ui/skeleton";
|
||||||
|
import versionInfo from "../../../version.json";
|
||||||
|
|
||||||
export default function Dashboard() {
|
export default function Dashboard() {
|
||||||
const { user } = useAuth();
|
const { user } = useAuth();
|
||||||
@ -67,6 +68,9 @@ export default function Dashboard() {
|
|||||||
<div className="flex items-start justify-between">
|
<div className="flex items-start justify-between">
|
||||||
<div>
|
<div>
|
||||||
<h1 className="text-3xl font-semibold mb-2">Dashboard Operativa</h1>
|
<h1 className="text-3xl font-semibold mb-2">Dashboard Operativa</h1>
|
||||||
|
<p className="text-sm text-muted-foreground/70 mb-2" data-testid="text-version">
|
||||||
|
v{versionInfo.version}
|
||||||
|
</p>
|
||||||
<p className="text-muted-foreground">
|
<p className="text-muted-foreground">
|
||||||
Benvenuto, {user?.firstName} {user?.lastName}
|
Benvenuto, {user?.firstName} {user?.lastName}
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -8,6 +8,7 @@ VigilanzaTurni is a professional 24/7 shift management system designed for secur
|
|||||||
- Dark mode di default
|
- Dark mode di default
|
||||||
- Design operativo e funzionale (non decorativo)
|
- Design operativo e funzionale (non decorativo)
|
||||||
- Focus su efficienza e densità informativa
|
- Focus su efficienza e densità informativa
|
||||||
|
- **Testing**: Tutti i test vengono eseguiti ESCLUSIVAMENTE sul server esterno (vt.alfacom.it) con autenticazione locale (non Replit Auth)
|
||||||
|
|
||||||
## System Architecture
|
## System Architecture
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user