fix(ui): show PULSE_PUBLIC_URL value in settings and expand node tables to full width (#1305, #1304)

Expose PublicURL from runtime config in the system settings API response
so the frontend displays the actual value instead of the placeholder when
the env var is set.

Add w-full to PVE, PBS, and PMG node tables so they expand to fill the
container in full-width mode.
This commit is contained in:
rcourtman 2026-03-01 14:42:30 +00:00
parent c575c7e295
commit b1ff7e006f
2 changed files with 5 additions and 3 deletions

View file

@ -93,7 +93,7 @@ const resolvePveStatusMeta = (
export const PveNodesTable: Component<PveNodesTableProps> = (props) => {
return (
<Card padding="none" tone="glass" class="overflow-x-auto rounded-lg">
<table class="min-w-[900px] divide-y divide-gray-200 dark:divide-gray-700 text-sm">
<table class="w-full min-w-[900px] divide-y divide-gray-200 dark:divide-gray-700 text-sm">
<thead class="bg-gray-50 dark:bg-gray-800/70">
<tr>
<th scope="col" class="py-2 pl-4 pr-3 text-left text-xs font-semibold uppercase tracking-wide text-gray-500 dark:text-gray-400">
@ -374,7 +374,7 @@ const resolvePbsStatusMeta = (
export const PbsNodesTable: Component<PbsNodesTableProps> = (props) => {
return (
<Card padding="none" tone="glass" class="overflow-x-auto rounded-lg">
<table class="min-w-[900px] divide-y divide-gray-200 dark:divide-gray-700 text-sm">
<table class="w-full min-w-[900px] divide-y divide-gray-200 dark:divide-gray-700 text-sm">
<thead class="bg-gray-50 dark:bg-gray-800/70">
<tr>
<th scope="col" class="py-2 pl-4 pr-3 text-left text-xs font-semibold uppercase tracking-wide text-gray-500 dark:text-gray-400">
@ -570,7 +570,7 @@ const resolvePmgStatusMeta = (
export const PmgNodesTable: Component<PmgNodesTableProps> = (props) => {
return (
<Card padding="none" tone="glass" class="overflow-x-auto rounded-lg">
<table class="min-w-[900px] divide-y divide-gray-200 dark:divide-gray-700 text-sm">
<table class="w-full min-w-[900px] divide-y divide-gray-200 dark:divide-gray-700 text-sm">
<thead class="bg-gray-50 dark:bg-gray-800/70">
<tr>
<th scope="col" class="py-2 pl-4 pr-3 text-left text-xs font-semibold uppercase tracking-wide text-gray-500 dark:text-gray-400">

View file

@ -431,6 +431,8 @@ func (h *SystemSettingsHandler) HandleGetSystemSettings(w http.ResponseWriter, r
settings.TemperatureMonitoringEnabled = h.config.TemperatureMonitoringEnabled
// Expose Docker update actions setting (respects env override)
settings.DisableDockerUpdateActions = h.config.DisableDockerUpdateActions
// Expose public URL so the frontend can display it when env-overridden
settings.PublicURL = h.config.PublicURL
}
// Include env override information