Spaces:
Sleeping
Sleeping
Commit ·
61c7e5b
1
Parent(s): 45527f3
Add footer version V0.1.2
Browse files
frontend/src/components/PageFooter.tsx
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
|
|
|
|
|
| 1 |
type PageFooterProps = {
|
| 2 |
note?: string;
|
| 3 |
};
|
|
@@ -7,6 +9,7 @@ export function PageFooter({ note }: PageFooterProps) {
|
|
| 7 |
<footer className="mt-12 text-center text-xs text-gray-500">
|
| 8 |
<p>Prosento - (c) 2026 All Rights Reserved</p>
|
| 9 |
{note ? <p className="mt-1">{note}</p> : null}
|
|
|
|
| 10 |
</footer>
|
| 11 |
);
|
| 12 |
}
|
|
|
|
| 1 |
+
import { APP_VERSION } from "../lib/version";
|
| 2 |
+
|
| 3 |
type PageFooterProps = {
|
| 4 |
note?: string;
|
| 5 |
};
|
|
|
|
| 9 |
<footer className="mt-12 text-center text-xs text-gray-500">
|
| 10 |
<p>Prosento - (c) 2026 All Rights Reserved</p>
|
| 11 |
{note ? <p className="mt-1">{note}</p> : null}
|
| 12 |
+
<p className="mt-1">Version {APP_VERSION}</p>
|
| 13 |
</footer>
|
| 14 |
);
|
| 15 |
}
|
frontend/src/lib/version.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export const APP_VERSION = "V0.1.2";
|
frontend/src/pages/ReportViewerPage.tsx
CHANGED
|
@@ -16,6 +16,7 @@ import { request } from "../lib/api";
|
|
| 16 |
import { BASE_W } from "../lib/report";
|
| 17 |
import { ensureSections, flattenSections } from "../lib/sections";
|
| 18 |
import { buildSessionQuery, getSessionId, setStoredSessionId } from "../lib/session";
|
|
|
|
| 19 |
import type { JobsheetSection, Session } from "../types/session";
|
| 20 |
import { ReportPageCanvas } from "../components/ReportPageCanvas";
|
| 21 |
import { InfoMenu } from "../components/InfoMenu";
|
|
@@ -276,6 +277,7 @@ export default function ReportViewerPage() {
|
|
| 276 |
<footer className="mt-12 text-center text-xs text-gray-500 no-print">
|
| 277 |
<p>Prosento - (c) 2026 All Rights Reserved</p>
|
| 278 |
<p className="mt-1">Viewer now renders saved edits from the editor.</p>
|
|
|
|
| 279 |
</footer>
|
| 280 |
|
| 281 |
</main>
|
|
|
|
| 16 |
import { BASE_W } from "../lib/report";
|
| 17 |
import { ensureSections, flattenSections } from "../lib/sections";
|
| 18 |
import { buildSessionQuery, getSessionId, setStoredSessionId } from "../lib/session";
|
| 19 |
+
import { APP_VERSION } from "../lib/version";
|
| 20 |
import type { JobsheetSection, Session } from "../types/session";
|
| 21 |
import { ReportPageCanvas } from "../components/ReportPageCanvas";
|
| 22 |
import { InfoMenu } from "../components/InfoMenu";
|
|
|
|
| 277 |
<footer className="mt-12 text-center text-xs text-gray-500 no-print">
|
| 278 |
<p>Prosento - (c) 2026 All Rights Reserved</p>
|
| 279 |
<p className="mt-1">Viewer now renders saved edits from the editor.</p>
|
| 280 |
+
<p className="mt-1">Version {APP_VERSION}</p>
|
| 281 |
</footer>
|
| 282 |
|
| 283 |
</main>
|
frontend/src/pages/UploadPage.tsx
CHANGED
|
@@ -14,6 +14,7 @@ import {
|
|
| 14 |
import { postForm, request } from "../lib/api";
|
| 15 |
import { formatBytes } from "../lib/format";
|
| 16 |
import { setStoredSessionId } from "../lib/session";
|
|
|
|
| 17 |
import type { Session } from "../types/session";
|
| 18 |
|
| 19 |
type StatusTone = "idle" | "info" | "error";
|
|
@@ -405,6 +406,7 @@ export default function UploadPage() {
|
|
| 405 |
<p className="mt-1">
|
| 406 |
RepEx is a report automation interface. All uploads should comply with site data policies.
|
| 407 |
</p>
|
|
|
|
| 408 |
</footer>
|
| 409 |
</main>
|
| 410 |
);
|
|
|
|
| 14 |
import { postForm, request } from "../lib/api";
|
| 15 |
import { formatBytes } from "../lib/format";
|
| 16 |
import { setStoredSessionId } from "../lib/session";
|
| 17 |
+
import { APP_VERSION } from "../lib/version";
|
| 18 |
import type { Session } from "../types/session";
|
| 19 |
|
| 20 |
type StatusTone = "idle" | "info" | "error";
|
|
|
|
| 406 |
<p className="mt-1">
|
| 407 |
RepEx is a report automation interface. All uploads should comply with site data policies.
|
| 408 |
</p>
|
| 409 |
+
<p className="mt-1">Version {APP_VERSION}</p>
|
| 410 |
</footer>
|
| 411 |
</main>
|
| 412 |
);
|