Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
393a31cebe | ||
|
|
2a14924ed9 | ||
|
|
7e1f70bf40 | ||
|
|
a689dd8824 | ||
|
|
804d2c6e8d |
No files matched your search
@@ -4,6 +4,36 @@
|
||||
|
||||
Format based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versions follow SemVer.
|
||||
|
||||
## [1.5.7] - 2026-11-15
|
||||
|
||||
### Fixed
|
||||
|
||||
- Protocols & TLS: the class legend under the stacked bars had no styles (words glued together, no color swatches, overflowing on phones); the Methods panel no longer reserves a fixed 280 px height with empty space; cipher suite names break at underscores instead of mid-word; on phones the per-class breakdown of each method moves under the method name; an invalid CSS selector disabled the page's mobile one-column rule.
|
||||
|
||||
## [1.5.6] - 2026-11-15
|
||||
|
||||
### Fixed
|
||||
|
||||
- Phones: the hidden accessible data table of the charts (`table.sr-only`, ~1300 px wide because tables ignore `width: 1px`) widened the mobile layout viewport on the egress page, dragging the fixed bottom menu sideways. The table is now fixed-layout at 1 px, and `html`/`body` use `overflow-x: clip` so nothing can widen the page again.
|
||||
|
||||
## [1.5.5] - 2026-11-15
|
||||
|
||||
### Fixed
|
||||
|
||||
- Incidents on phones: quick actions wrap instead of being cut, filters share the row evenly, and the workload line is no longer indented.
|
||||
|
||||
## [1.5.4] - 2026-11-15
|
||||
|
||||
### Fixed
|
||||
|
||||
- Incidents list: egress tickets show the pattern on the first line and the workload below, instead of a long auto title cut in the middle; the status tabs are compact and fit in one line at 1280 px.
|
||||
|
||||
## [1.5.3] - 2026-11-15
|
||||
|
||||
### Fixed
|
||||
|
||||
- Incidents: the Copy button of the fingerprint no longer wraps letter by letter; the list shows one tag per row and a wider host/destination column, so titles and IPs stop being cut.
|
||||
|
||||
## [1.5.2] - 2026-11-15
|
||||
|
||||
### Changed
|
||||
|
||||
@@ -4,6 +4,36 @@
|
||||
|
||||
Formato baseado no [Keep a Changelog](https://keepachangelog.com/pt-BR/1.1.0/); versionamento segue SemVer.
|
||||
|
||||
## [1.5.7] - 2026-11-15
|
||||
|
||||
### Corrigido
|
||||
|
||||
- Protocolos e TLS: a legenda das classes sob as barras empilhadas não tinha estilo (palavras grudadas, sem as cores e estourando no celular); o painel Métodos não reserva mais 280 px fixos com espaço vazio; os nomes das suítes de cifra quebram nos sublinhados em vez de no meio da palavra; no celular o detalhamento por classe de cada método vai para baixo do nome; um seletor CSS inválido desligava a regra de uma coluna no celular.
|
||||
|
||||
## [1.5.6] - 2026-11-15
|
||||
|
||||
### Corrigido
|
||||
|
||||
- Celular: a tabela acessível oculta dos gráficos (`table.sr-only`, ~1300 px porque tabelas ignoram `width: 1px`) alargava o layout na página de tráfego de saída e arrastava o menu inferior fixo para o lado. A tabela agora tem layout fixo de 1 px, e `html`/`body` usam `overflow-x: clip`, para nada mais alargar a página.
|
||||
|
||||
## [1.5.5] - 2026-11-15
|
||||
|
||||
### Corrigido
|
||||
|
||||
- Incidentes no celular: as ações rápidas quebram linha em vez de ficarem cortadas, os filtros dividem a linha por igual e a linha da carga de trabalho não fica mais recuada.
|
||||
|
||||
## [1.5.4] - 2026-11-15
|
||||
|
||||
### Corrigido
|
||||
|
||||
- Lista de incidentes: chamados de egress mostram o padrão na primeira linha e a carga de trabalho embaixo, em vez de um título automático longo cortado no meio; as abas de status ficaram compactas e cabem numa linha em 1280 px.
|
||||
|
||||
## [1.5.3] - 2026-11-15
|
||||
|
||||
### Corrigido
|
||||
|
||||
- Incidentes: o botão Copiar da impressão digital não quebra mais letra por letra; a lista mostra uma etiqueta por linha e coluna de servidor/destino mais larga, então títulos e IPs deixam de ser cortados.
|
||||
|
||||
## [1.5.2] - 2026-11-15
|
||||
|
||||
### Alterado
|
||||
|
||||
@@ -2,4 +2,4 @@ package app
|
||||
|
||||
// Version is the release version (SemVer). Release builds may override it with
|
||||
// -ldflags "-X .../internal/app.Version=...".
|
||||
var Version = "1.5.2"
|
||||
var Version = "1.5.7"
|
||||
@@ -47,7 +47,7 @@
|
||||
|
||||
.inc-table { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-panel); }
|
||||
.inc-thead, .inc-row {
|
||||
display: grid; grid-template-columns: 10px 72px minmax(0, 1fr) 132px 110px 140px 76px; gap: var(--s-3); align-items: center; padding: 8px var(--s-3);
|
||||
display: grid; grid-template-columns: 10px 64px minmax(0, 1fr) 124px 90px 200px 76px; gap: var(--s-3); align-items: center; padding: 8px var(--s-3);
|
||||
}
|
||||
.inc-thead { border-radius: var(--radius-sm) var(--radius-sm) 0 0; position: sticky; top: var(--topbar-h, 56px); z-index: 2; background: var(--surface-raised); border-bottom: 1px solid var(--line); font-size: .75rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .04em; }
|
||||
.inc-thead .r { text-align: right; }
|
||||
@@ -169,3 +169,18 @@
|
||||
.inc-st { min-width: 0; }
|
||||
.inc-st .badge { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
|
||||
.inc-row:last-child { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
|
||||
.inc-keyrow > :not(.inc-key) { flex: none; white-space: nowrap; }
|
||||
.inc-dl dd { min-width: 0; }
|
||||
.inc-main { flex-direction: column; align-items: stretch; justify-content: center; gap: 2px; }
|
||||
.inc-mrow { display: flex; align-items: center; gap: var(--s-2); min-width: 0; }
|
||||
.inc-sub { font-size: .75rem; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
|
||||
.inc-tabs { gap: 0; }
|
||||
.inc-tab { padding: 0 10px; font-size: .8125rem; }
|
||||
.inc-tab-sep { margin: 8px 4px; }
|
||||
.inc-main > .inc-sub { padding: 0; margin: 0; background: none; border: 0; align-self: flex-start; max-width: 100%; }
|
||||
@media (max-width: 600px) {
|
||||
.inc-quick { flex-wrap: wrap; overflow-x: visible; }
|
||||
.inc-quick .btn { flex: 1 1 auto; }
|
||||
.inc-toolbar > select { flex: 1 1 calc(50% - var(--s-2)); min-width: 0; }
|
||||
.inc-toolbar > .btn { flex: 1 1 100%; }
|
||||
}
|
||||
@@ -298,8 +298,13 @@
|
||||
function row(it) {
|
||||
var where = [it.host ? String(it.host) : '', it.dst ? it.dst + (it.dport ? ':' + it.dport : '') : ''].filter(Boolean).join(' · ');
|
||||
var full = [(it.workload || ''), it.dst ? '→ ' + it.dst + (it.dport ? ':' + it.dport : '') : ''].filter(Boolean).join(' ');
|
||||
var titleLine = el('span', { class: 'inc-main' }, el('strong', { class: 'inc-title', title: String(it.title || it.id) }, String(it.title || it.id)),
|
||||
(it.tags && it.tags.length) ? el('span', { class: 'inc-rtags' }, tagChips(it.tags.slice(0, 3))) : null);
|
||||
// egress tickets: pattern on top, workload below (the auto title repeats both and gets cut)
|
||||
var auto = it.source === 'egress' && it.kind && it.workload;
|
||||
var head = auto ? tr('eg.kind.' + it.kind, String(it.kind)) : String(it.title || it.id);
|
||||
var titleLine = el('span', { class: 'inc-main' + (auto ? ' two' : '') },
|
||||
el('span', { class: 'inc-mrow' }, el('strong', { class: 'inc-title', title: String(it.title || it.id) }, head),
|
||||
(it.tags && it.tags.length) ? el('span', { class: 'inc-rtags' }, tagChips(it.tags.slice(0, 1))) : null),
|
||||
auto ? el('span', { class: 'inc-sub mono', title: String(it.workload) }, String(it.workload)) : null);
|
||||
return el('a', { class: 'inc-row', href: U.href('incidents', [String(it.id)]), title: full },
|
||||
dot(it.severity),
|
||||
el('span', { class: 'inc-id mono' }, String(it.id)),
|
||||
|
||||
@@ -5,6 +5,15 @@
|
||||
.hl-table th { color: var(--ink-muted); font-weight: 500; position: sticky; top: 0; background: var(--surface-panel); }
|
||||
.hl-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
|
||||
.hl-page .panel { min-width: 0; }
|
||||
@media (max-width: 900px) { .hl-page .span-6, { grid-column: 1 / -1; } }
|
||||
@media (max-width: 900px) { .hl-page .span-4, .hl-page .span-6, .hl-page .span-8 { grid-column: 1 / -1; } }
|
||||
.hl-helps { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: var(--s-3, 10px); font-size: .8125rem; color: var(--ink-muted); }
|
||||
.hl-help { display: inline-flex; align-items: center; gap: 4px; }
|
||||
.hl-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: var(--s-3); font-size: .8125rem; color: var(--ink-muted); }
|
||||
.hl-legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
|
||||
.hl-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; flex: none; }
|
||||
.hl-table td.hl-brk { overflow-wrap: normal; min-width: 14rem; color: var(--ink-muted); }
|
||||
.hl-brk-m { display: none; font-family: var(--font-sans); font-size: .75rem; color: var(--ink-muted); margin-top: 2px; overflow-wrap: normal; }
|
||||
@media (max-width: 600px) {
|
||||
.hl-table .hl-brk { display: none; }
|
||||
.hl-brk-m { display: block; }
|
||||
}
|
||||
@@ -78,7 +78,7 @@
|
||||
var pt = U.ui.panel({ title: t('hl.pr.tls'), hint: t('hl.pr.tls.hint'), variant: 'chart', loading: true, cls: 'span-6' });
|
||||
var ps = U.ui.panel({ title: t('hl.pr.scheme'), hint: t('hl.pr.scheme.hint'), loading: true, cls: 'span-4' });
|
||||
var pc = U.ui.panel({ title: t('hl.pr.ciphers'), hint: t('hl.pr.ciphers.hint'), variant: 'chart', loading: true, cls: 'span-8' });
|
||||
var pm = U.ui.panel({ title: t('hl.pr.methods'), hint: t('hl.pr.methods.hint'), variant: 'list', loading: true, cls: 'span-12' });
|
||||
var pm = U.ui.panel({ title: t('hl.pr.methods'), hint: t('hl.pr.methods.hint'), loading: true, cls: 'span-12' });
|
||||
[lead, pp, pt, ps, pc, pm].forEach(function (n) { grid.appendChild(n); });
|
||||
root.appendChild(grid);
|
||||
|
||||
@@ -103,17 +103,19 @@
|
||||
// http vs https
|
||||
if (U.charts && U.charts.donut) ps.body.appendChild(U.charts.donut([{ key: 'https', label: t('hl.pr.s.https'), value: https }, { key: 'http', label: t('hl.pr.s.http'), value: plain }],
|
||||
{ title: t('hl.pr.scheme'), colors: ['--ok', '--warn'], centerLabel: t('hl.pr.col.n') }));
|
||||
var ci = (d.ciphers || []).slice(0, 12).map(function (x) { return { key: x.name, label: x.name, value: x.n }; });
|
||||
var ci = (d.ciphers || []).slice(0, 12).map(function (x) { return { key: x.name, label: String(x.name).replace(/_/g, '_\u200b'), value: x.n }; });
|
||||
if (ci.length && U.charts && U.charts.bars) pc.body.appendChild(U.charts.bars(ci, { horizontal: true, title: t('hl.pr.ciphers') }));
|
||||
else pc.body.appendChild(U.ui.empty(t('hl.pr.empty')));
|
||||
var tb = el('tbody');
|
||||
(d.methods || []).forEach(function (m) {
|
||||
var errs = sum(m.classes) - (m.classes.ok || 0);
|
||||
tb.appendChild(el('tr', null, el('td', { class: 'mono' }, m.method, m.odd ? U.ui.badge(t('hl.pr.odd'), 'warn') : null), el('td', { class: 'num' }, U.fmt.num(m.n)), el('td', { class: 'num' }, U.fmt.num(errs)),
|
||||
el('td', null, CLS.filter(function (k) { return m.classes[k] || (k === 'client' && false); }).map(function (k) { return t('hl.pr.c.' + k) + ' ' + U.fmt.num(m.classes[k]); }).join(' · '))));
|
||||
var brk = CLS.filter(function (k) { return m.classes[k]; }).map(function (k) { return t('hl.pr.c.' + k) + ' ' + U.fmt.num(m.classes[k]); }).join(' · ');
|
||||
// on phones the breakdown moves under the method (the 4th column is hidden)
|
||||
tb.appendChild(el('tr', null, el('td', { class: 'mono' }, m.method, m.odd ? U.ui.badge(t('hl.pr.odd'), 'warn') : null, el('div', { class: 'hl-brk-m' }, brk)), el('td', { class: 'num' }, U.fmt.num(m.n)), el('td', { class: 'num' }, U.fmt.num(errs)),
|
||||
el('td', { class: 'hl-brk' }, brk)));
|
||||
});
|
||||
pm.body.appendChild(el('div', { class: 'hl-scroll' }, el('table', { class: 'hl-table' },
|
||||
el('thead', null, el('tr', null, el('th', null, t('hl.pr.col.method')), el('th', { class: 'num' }, t('hl.pr.col.n')), el('th', { class: 'num' }, t('hl.pr.col.errs')), el('th', null, ''))), tb)));
|
||||
el('thead', null, el('tr', null, el('th', null, t('hl.pr.col.method')), el('th', { class: 'num' }, t('hl.pr.col.n')), el('th', { class: 'num' }, t('hl.pr.col.errs')), el('th', { class: 'hl-brk' }, ''))), tb)));
|
||||
}
|
||||
function load() {
|
||||
var my = ++seq;
|
||||
|
||||
@@ -604,6 +604,9 @@ input[type="datetime-local"] { background: var(--surface-raised); border: 1px so
|
||||
|
||||
/* ================================================================ charts and help */
|
||||
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
|
||||
table.sr-only { table-layout: fixed; max-width: 1px; }
|
||||
/* clip, not hidden: nothing may widen the mobile layout viewport (it drags the fixed tabbar along); sticky still works */
|
||||
html, body { overflow-x: clip; }
|
||||
.vz { min-width: 0; }
|
||||
.vz-donut-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); }
|
||||
.vz-donut-svg { flex: 0 1 190px; min-width: 140px; }
|
||||
|
||||
Reference in new issue
Block a user