Handle rejected subscriptions and add local client compose
Build and Deploy Gateway / build-and-push (push) Successful in 14s
Build and Deploy Gateway / deploy (push) Successful in 6s

This commit is contained in:
2026-07-13 20:23:37 +03:00
parent 8c19f2cba9
commit 56f5e408e3
10 changed files with 306 additions and 443 deletions
+107 -327
View File
@@ -188,7 +188,7 @@ p {
color: var(--client-text);
}
.client-shell:has(.harbor-brand.is-gateway-active) {
.client-shell.is-gateway-route {
--client-accent: var(--harbor-gateway);
}
@@ -327,32 +327,6 @@ p {
pointer-events: none;
}
.harbor-brand.is-switchable {
pointer-events: auto;
}
.harbor-brand-control {
position: relative;
appearance: none;
border: 0;
border-radius: 7px;
padding: 3px 5px;
background: transparent;
color: inherit;
font: inherit;
letter-spacing: inherit;
cursor: pointer;
}
.harbor-brand-control:focus-visible {
outline: 1px solid color-mix(in srgb, var(--harbor-gateway) 55%, transparent);
outline-offset: 4px;
}
.harbor-brand-control:disabled {
cursor: wait;
}
.client-shell.is-first-run .harbor-brand {
transform: translate(-50%, calc(-50% - 72px)) scale(1.35);
}
@@ -422,246 +396,6 @@ p {
color: var(--harbor-gateway);
}
.harbor-mode-control,
.harbor-mode-stack {
position: relative;
display: inline-block;
width: 4.5em;
height: 1.25em;
}
.harbor-mode-stack {
width: 100%;
height: 100%;
}
.harbor-mode-stack em {
position: absolute;
inset: 0 auto auto 0;
transition: color 420ms ease, opacity 420ms ease, filter 420ms ease, transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}
.harbor-brand .harbor-mode-connect {
z-index: 2;
color: var(--harbor-connect);
animation: harbor-mode-ambient-front 10s ease-in-out infinite;
}
.harbor-brand .harbor-mode-gateway {
z-index: 1;
color: var(--harbor-gateway);
opacity: 0.2;
filter: blur(0.4px);
transform: translate(0.42em, 0.34em) scale(0.96);
animation: harbor-mode-ambient-back 10s ease-in-out infinite;
}
.harbor-mode-gateway > span {
display: block;
animation: harbor-mode-discovered 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.harbor-brand.is-gateway-active .harbor-mode-connect {
z-index: 1;
opacity: 0.18;
filter: blur(0.4px);
transform: translate(0.42em, 0.34em) scale(0.96);
}
.harbor-brand.is-gateway-active .harbor-mode-gateway {
z-index: 2;
opacity: 1;
filter: none;
transform: none;
}
@keyframes harbor-mode-discovered {
from {
opacity: 0;
filter: blur(3px);
transform: translateX(4.8em);
}
}
.harbor-brand.is-gateway-active .harbor-mode-connect {
animation-name: harbor-mode-ambient-back;
}
.harbor-brand.is-gateway-active .harbor-mode-gateway {
animation-name: harbor-mode-ambient-front;
}
.harbor-brand-control.is-mode-animating .harbor-mode-connect {
animation: harbor-mode-float-front 1500ms ease-in-out infinite;
}
.harbor-brand-control.is-mode-animating .harbor-mode-gateway {
animation: harbor-mode-float-back 1500ms ease-in-out infinite;
}
.harbor-brand.is-gateway-active .harbor-brand-control.is-mode-animating .harbor-mode-connect {
animation-name: harbor-mode-float-back;
}
.harbor-brand.is-gateway-active .harbor-brand-control.is-mode-animating .harbor-mode-gateway {
animation-name: harbor-mode-float-front;
}
@keyframes harbor-mode-float-front {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(0.12em); }
}
@keyframes harbor-mode-float-back {
0%, 100% { transform: translate(0.42em, 0.34em) scale(0.96); }
50% { transform: translate(0.42em, 0.22em) scale(0.96); }
}
@keyframes harbor-mode-ambient-front {
0%, 88%, 96%, 100% { transform: translateY(0); }
92% { transform: translateY(0.08em); }
}
@keyframes harbor-mode-ambient-back {
0%, 88%, 96%, 100% { transform: translate(0.42em, 0.34em) scale(0.96); }
92% { transform: translate(0.42em, 0.26em) scale(0.96); }
}
.harbor-brand .harbor-mode-swap {
position: absolute;
top: 50%;
left: calc(100% + 4px);
width: 14px;
height: 14px;
opacity: 0.82;
stroke-width: 1.35;
transform: translateY(-50%);
transition: color 320ms ease, opacity 320ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
animation: harbor-mode-arrows-discovered 260ms 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes harbor-mode-arrows-discovered {
from {
opacity: 0;
filter: blur(2px);
}
}
.harbor-mode-swap g {
transform-box: view-box;
transform-origin: 9px 9px;
transform: rotate(var(--harbor-arrow-turn, 0turn));
transition: opacity 420ms ease, filter 420ms ease, transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}
.harbor-mode-swap path {
transform-box: fill-box;
transform-origin: center;
transition: opacity 420ms ease, filter 420ms ease, transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}
.harbor-mode-swap .is-connect {
opacity: 1;
stroke: var(--harbor-connect);
transition: opacity 420ms ease, filter 420ms ease, transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}
.harbor-mode-swap .is-connect path {
animation: harbor-arrow-ambient-right 10s ease-in-out infinite;
}
.harbor-mode-swap .is-gateway {
opacity: 0.28;
filter: blur(0.45px);
stroke: var(--harbor-gateway);
transition: opacity 420ms ease, filter 420ms ease, transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}
.harbor-mode-swap .is-gateway path {
animation: harbor-arrow-ambient-left 10s ease-in-out infinite;
}
.harbor-brand.is-gateway-active .harbor-mode-swap .is-connect {
opacity: 0.28;
filter: blur(0.45px);
}
.harbor-brand.is-gateway-active .harbor-mode-swap .is-gateway {
opacity: 1;
filter: none;
}
.harbor-mode-tooltip {
position: absolute;
bottom: calc(100% + 9px);
left: 0;
width: calc(100% + 22px);
display: grid;
gap: 2px;
padding: 5px 6px;
border-radius: 5px;
background: oklch(0.14 0.012 145);
box-shadow: 0 5px 18px oklch(0.08 0.015 145 / 0.1);
color: oklch(0.88 0.012 145);
font-size: 4px;
line-height: 1.5;
letter-spacing: 0;
text-align: left;
opacity: 0;
visibility: hidden;
filter: blur(2px);
pointer-events: none;
transform: translateY(3px);
transition: opacity 90ms ease, filter 120ms ease, transform 140ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 140ms;
}
.harbor-mode-tooltip strong {
color: oklch(0.96 0.008 145);
font-size: 4.2px;
}
.harbor-brand-control:hover .harbor-mode-tooltip,
.harbor-brand-control:focus-visible .harbor-mode-tooltip {
opacity: 1;
visibility: visible;
filter: blur(0);
transform: translateY(0);
transition-delay: 20ms, 20ms, 20ms, 0s;
}
.harbor-brand-control:hover .harbor-mode-swap,
.harbor-brand-control:focus-visible .harbor-mode-swap {
opacity: 1;
}
.harbor-brand-control.is-mode-animating .harbor-mode-swap .is-connect path {
animation: harbor-arrow-float-right 1500ms ease-in-out infinite;
}
.harbor-brand-control.is-mode-animating .harbor-mode-swap .is-gateway path {
animation: harbor-arrow-float-left 1500ms ease-in-out infinite;
}
@keyframes harbor-arrow-float-right {
0%, 100% { transform: translateX(0); }
50% { transform: translateX(1.25px); }
}
@keyframes harbor-arrow-float-left {
0%, 100% { transform: translateX(0); }
50% { transform: translateX(-1.25px); }
}
@keyframes harbor-arrow-ambient-right {
0%, 88%, 96%, 100% { transform: translateX(0); }
92% { transform: translateX(0.75px); }
}
@keyframes harbor-arrow-ambient-left {
0%, 88%, 96%, 100% { transform: translateX(0); }
92% { transform: translateX(-0.75px); }
}
.client-instructions-toggle {
position: fixed;
top: 50%;
@@ -2235,7 +1969,7 @@ p {
pointer-events: none;
}
.client-shell:has(.harbor-brand.is-gateway-active) .client-form:not(.is-waiting) {
.client-shell.is-gateway-route .client-form:not(.is-waiting) {
opacity: 0.34;
filter: grayscale(1) saturate(0);
}
@@ -3130,6 +2864,104 @@ p {
outline-offset: 3px;
}
.client-route-status {
width: min(280px, 100%);
display: grid;
justify-items: center;
gap: 5px;
color: var(--client-muted);
text-align: center;
}
.client-route-status > span {
font-size: 9px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.client-route-status > strong {
color: var(--client-text);
font-size: 12px;
transition: color 420ms ease, text-shadow 520ms ease;
}
.client-route-status.is-gateway > strong {
color: var(--harbor-gateway);
text-shadow: 0 0 10px color-mix(in oklch, var(--harbor-gateway) 35%, transparent);
}
.client-route-status.is-stale > strong,
.client-route-status.is-lost > strong {
color: var(--client-warning, oklch(0.72 0.12 72));
}
.client-route-status > small {
max-width: 38ch;
min-height: 30px;
font-size: 9px;
line-height: 1.55;
}
.client-route-gateway {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
font-size: 9px;
}
.client-route-gateway a {
color: var(--client-accent);
font-weight: 700;
text-decoration: none;
}
.client-route-gateway a:hover {
text-decoration: underline;
text-underline-offset: 3px;
}
.client-route-gateway a:focus-visible {
outline: 2px solid var(--client-accent);
outline-offset: 2px;
}
.client-route-gateway time {
white-space: nowrap;
opacity: 0.72;
}
.client-route-auto {
min-height: 44px;
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
font-size: 9px;
line-height: 1.35;
text-align: left;
}
.client-route-auto input {
width: 16px;
height: 16px;
flex: 0 0 auto;
margin: 0;
accent-color: var(--client-accent);
}
.client-route-auto:has(input:focus-visible) {
color: var(--client-text);
outline: 2px solid var(--client-accent);
outline-offset: 2px;
}
.client-route-auto:has(input:disabled) {
cursor: wait;
opacity: 0.5;
}
.client-proxies {
display: grid;
justify-items: center;
@@ -3142,53 +2974,6 @@ p {
min-height: 91px;
}
.client-proxy-label {
display: grid;
place-items: center;
color: var(--client-muted);
font-size: 9px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.client-proxy-label > span {
grid-area: 1 / 1;
opacity: 0;
filter: blur(3px);
pointer-events: none;
transform: translateX(-12px);
transition: color 700ms ease, opacity 520ms ease, filter 620ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.client-proxy-label > span:last-child {
color: var(--client-accent);
transform: translateX(12px);
}
.client-proxy-label > span.is-active {
opacity: 1;
filter: blur(0);
pointer-events: auto;
transform: translateX(0);
}
.client-proxy-label a {
color: var(--client-accent);
text-decoration: none;
text-shadow: 0 0 10px color-mix(in oklch, var(--client-accent) 42%, transparent);
}
.client-proxy-label a:hover {
text-decoration: underline;
text-underline-offset: 3px;
}
.client-proxy-label a:focus-visible {
outline: 2px solid var(--client-accent);
outline-offset: 2px;
}
.client-proxy-address {
color: var(--client-text);
font-size: 12px;
@@ -3546,6 +3331,11 @@ p {
font-size: 10px;
}
.client-route-auto {
min-height: 44px;
font-size: 10px;
}
.client-server-filters button,
.client-server-mode-toggle,
.client-server-group-toggle,
@@ -3654,6 +3444,7 @@ p {
.client-server-mode-panel .client-server-pinned,
.client-server-mode-panel .client-server-scroll,
.client-server-favorite,
.client-route-status > strong,
.client-server-group-toggle,
.client-server-more,
.client-copy-button,
@@ -3677,8 +3468,7 @@ p {
.client-subscription-edit::after,
.client-subscription-submit,
.client-subscription-summary,
.client-subscription-summary strong,
.client-proxy-label > span {
.client-subscription-summary strong {
transition: none;
animation: none;
}
@@ -3715,16 +3505,6 @@ p {
animation: none;
}
.harbor-mode-stack em,
.harbor-mode-gateway > span,
.harbor-mode-swap g,
.harbor-mode-swap path,
.harbor-brand .harbor-mode-swap,
.harbor-mode-tooltip {
transition: none;
animation: none;
}
.client-form-content,
.client-confirmation-popup,
.client-confirmation-dialog,