Bump Harbor versions and add direct .ru routing
All checks were successful
Build and Deploy Gateway / build-and-push (push) Successful in 15s
Build and Deploy Gateway / deploy (push) Successful in 12s

This commit is contained in:
2026-07-11 21:36:04 +03:00
parent 7a6f9a26ac
commit 306a9b8ced
14 changed files with 279 additions and 25 deletions

View File

@@ -38,15 +38,12 @@ function VersionBadge({ code, component, componentKey, version, singBox, incompa
function description(key) {
if (key === 'major') {
return 'Общий уровень совместимости Harbor. При его изменении обновляются Mac и вся Gateway-инфраструктура.';
}
if (key === 'minor' && componentKey === 'macClient') {
return 'Линия Mac-клиента. Gateway может менять minor без обязательного обновления Mac.';
return 'Уровень совместимости всей экосистемы. Все совместно работающие компоненты и клиенты должны иметь одинаковый major.';
}
if (key === 'minor') {
return 'Линия Gateway. Gateway client и backend должны совпадать по major.minor.';
return 'Уровень конкретного компонента и тесно связанной с ним части системы. Остальные клиенты с тем же major могут обновляться отдельно.';
}
return `Совместимое исправление только компонента ${component}; hotfix может обновляться независимо.`;
return 'Локальное совместимое исправление этой версии. Не требует обновлять связанные компоненты или другие клиенты.';
}
return (

View File

@@ -199,16 +199,16 @@ p {
z-index: 40;
display: grid;
justify-items: end;
gap: 2px;
gap: 4px;
color: var(--client-muted);
font: 600 9px/1 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;
font: 650 12px/1 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;
font-variant-numeric: tabular-nums;
}
.harbor-version {
display: flex;
align-items: center;
gap: 4px;
gap: 6px;
opacity: 0.56;
transition: color 240ms ease, opacity 240ms ease;
}
@@ -227,7 +227,7 @@ p {
.harbor-version-code {
width: 1.3ch;
color: var(--client-accent);
font-size: 8px;
font-size: 10px;
text-align: center;
}
@@ -239,8 +239,8 @@ p {
.harbor-version-part {
position: relative;
min-width: 1ch;
padding: 3px 1px;
border-radius: 4px;
padding: 5px 2px;
border-radius: 5px;
cursor: help;
text-align: center;
}
@@ -260,16 +260,16 @@ p {
position: absolute;
right: 0;
bottom: calc(100% + 7px);
width: min(250px, calc(100vw - 28px));
width: min(300px, calc(100vw - 28px));
display: grid;
gap: 5px;
padding: 9px 10px;
border-radius: 10px;
gap: 7px;
padding: 12px 13px;
border-radius: 12px;
background: color-mix(in oklch, var(--client-panel) 84%, transparent);
box-shadow: 0 9px 30px oklch(0.08 0.015 145 / 0.16);
backdrop-filter: blur(12px) saturate(0.9);
color: var(--client-muted);
font-size: 9px;
font-size: 11px;
font-weight: 500;
line-height: 1.5;
text-align: left;
@@ -283,12 +283,12 @@ p {
.harbor-version-tooltip strong {
color: var(--client-text);
font-size: 9px;
font-size: 11px;
}
.harbor-version-tooltip small {
color: var(--client-accent);
font-size: 8px;
font-size: 10px;
}
.harbor-version-tooltip .is-warning {