Fix TypeScript build errors and configure Traefik deployment
Fix type mismatches across Unraid UI pages (SystemInfo, ServerVars, Notification properties), replace unavailable Mantine components (ScrollArea.Autosize, IconHardDrive), correct Orchis theme types, add missing tRPC endpoints (users, syslog, notification actions), and configure docker-compose for Traefik reverse proxy on dockerproxy network with unmarr.xtrm-lab.org routing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -59,8 +59,8 @@ export default function IdentificationSettingsPage() {
|
||||
if (vars && !form.isTouched()) {
|
||||
form.setValues({
|
||||
name: vars.name || '',
|
||||
description: vars.comment || '',
|
||||
model: vars.flashProduct || '',
|
||||
description: vars.description || '',
|
||||
model: vars.model || '',
|
||||
timezone: vars.timezone || '',
|
||||
});
|
||||
}
|
||||
@@ -155,7 +155,7 @@ export default function IdentificationSettingsPage() {
|
||||
Linux Kernel
|
||||
</Text>
|
||||
<Text size="sm" weight={500}>
|
||||
{info?.versions.linux || 'Unknown'}
|
||||
{info?.os.kernel || 'Unknown'}
|
||||
</Text>
|
||||
</Group>
|
||||
|
||||
@@ -166,7 +166,7 @@ export default function IdentificationSettingsPage() {
|
||||
CPU
|
||||
</Text>
|
||||
<Text size="sm" weight={500}>
|
||||
{info?.cpu.model || 'Unknown'}
|
||||
{info?.cpu.brand || 'Unknown'}
|
||||
</Text>
|
||||
</Group>
|
||||
|
||||
@@ -177,7 +177,7 @@ export default function IdentificationSettingsPage() {
|
||||
Motherboard
|
||||
</Text>
|
||||
<Text size="sm" weight={500}>
|
||||
{info?.motherboard?.product || 'Unknown'}
|
||||
{info?.baseboard?.model || 'Unknown'}
|
||||
</Text>
|
||||
</Group>
|
||||
|
||||
@@ -207,19 +207,19 @@ export default function IdentificationSettingsPage() {
|
||||
</Stack>
|
||||
</Card>
|
||||
|
||||
{/* Flash Drive */}
|
||||
{/* Server Model */}
|
||||
<Card shadow="sm" radius="md" withBorder>
|
||||
<Title order={4} mb="md">
|
||||
Flash Drive
|
||||
Hardware
|
||||
</Title>
|
||||
|
||||
<Stack spacing="md">
|
||||
<Group position="apart">
|
||||
<Text size="sm" color="dimmed">
|
||||
Product
|
||||
Model
|
||||
</Text>
|
||||
<Text size="sm" weight={500}>
|
||||
{vars?.flashProduct || 'Unknown'}
|
||||
{vars?.model || 'Unknown'}
|
||||
</Text>
|
||||
</Group>
|
||||
|
||||
@@ -227,10 +227,10 @@ export default function IdentificationSettingsPage() {
|
||||
|
||||
<Group position="apart">
|
||||
<Text size="sm" color="dimmed">
|
||||
Vendor
|
||||
Protocol
|
||||
</Text>
|
||||
<Text size="sm" weight={500}>
|
||||
{vars?.flashVendor || 'Unknown'}
|
||||
{vars?.protocol || 'Unknown'}
|
||||
</Text>
|
||||
</Group>
|
||||
|
||||
@@ -238,10 +238,10 @@ export default function IdentificationSettingsPage() {
|
||||
|
||||
<Group position="apart">
|
||||
<Text size="sm" color="dimmed">
|
||||
GUID
|
||||
Port
|
||||
</Text>
|
||||
<Text size="sm" weight={500} style={{ fontFamily: 'monospace' }}>
|
||||
{vars?.flashGuid || 'Unknown'}
|
||||
{vars?.port || 'Unknown'}
|
||||
</Text>
|
||||
</Group>
|
||||
</Stack>
|
||||
|
||||
Reference in New Issue
Block a user