From fb2dfa3fb2189b7bb91680fff1ae6a06863a8fef Mon Sep 17 00:00:00 2001 From: Lucas Rayan Date: Sun, 15 Nov 2026 23:41:27 -0300 Subject: [PATCH] fix(ui): incidents status tabs had a 1 px vertical micro-scroll (2.1.1) Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 9 ++++++++- CHANGELOG.pt-BR.md | 9 ++++++++- internal/app/version.go | 2 +- internal/server/web/incidents.css | 5 +++-- 4 files changed, 20 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b1b9cd..e0cdf6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ Format based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versio ## [Unreleased] +## [2.1.1] - 2026-11-16 + +### Fixed + +- Incidents: the status tabs (Active, All, Open, False positive and so on) no longer show a tiny vertical scrollbar; the active tab's underline no longer overflows the scroll area by one pixel, and the focus ring is drawn inside the tab so it is not clipped. + ## [2.1.0] - 2026-11-16 ### Fixed @@ -305,7 +311,8 @@ First release. - Hostile log content is limited in length and escaped on output; the dashboard ships a strict Content-Security-Policy and the usual hardening headers. - `--insecure-no-auth` is refused unless the bind address is loopback. -[Unreleased]: https://git.lucasrguerra.dev.br/ciberfauna/urutau/compare/v2.1.0...HEAD +[Unreleased]: https://git.lucasrguerra.dev.br/ciberfauna/urutau/compare/v2.1.1...HEAD +[2.1.1]: https://git.lucasrguerra.dev.br/ciberfauna/urutau/compare/v2.1.0...v2.1.1 [2.1.0]: https://git.lucasrguerra.dev.br/ciberfauna/urutau/compare/v2.0.0...v2.1.0 [2.0.0]: https://git.lucasrguerra.dev.br/ciberfauna/urutau/compare/v1.6.0...v2.0.0 [1.6.0]: https://git.lucasrguerra.dev.br/ciberfauna/urutau/compare/v1.5.7...v1.6.0 diff --git a/CHANGELOG.pt-BR.md b/CHANGELOG.pt-BR.md index 7be0579..d514c46 100644 --- a/CHANGELOG.pt-BR.md +++ b/CHANGELOG.pt-BR.md @@ -6,6 +6,12 @@ Formato baseado no [Keep a Changelog](https://keepachangelog.com/pt-BR/1.1.0/); ## [Não lançado] +## [2.1.1] - 2026-11-16 + +### Corrigido + +- Incidentes: as abas de status (Ativos, Todos, Aberto, Falso positivo etc.) não mostram mais uma barra de rolagem vertical minúscula; o sublinhado da aba ativa não passa mais 1 px da área rolável, e o anel de foco é desenhado dentro da aba para não ser cortado. + ## [2.1.0] - 2026-11-16 ### Corrigido @@ -305,7 +311,8 @@ Primeira versão. - O conteúdo hostil dos logs tem tamanho limitado e é escapado na saída; o dashboard envia uma Content-Security-Policy estrita e os cabeçalhos de endurecimento usuais. - `--insecure-no-auth` é recusado a menos que o endereço de bind seja loopback. -[Não lançado]: https://git.lucasrguerra.dev.br/ciberfauna/urutau/compare/v2.1.0...HEAD +[Não lançado]: https://git.lucasrguerra.dev.br/ciberfauna/urutau/compare/v2.1.1...HEAD +[2.1.1]: https://git.lucasrguerra.dev.br/ciberfauna/urutau/compare/v2.1.0...v2.1.1 [2.1.0]: https://git.lucasrguerra.dev.br/ciberfauna/urutau/compare/v2.0.0...v2.1.0 [2.0.0]: https://git.lucasrguerra.dev.br/ciberfauna/urutau/compare/v1.6.0...v2.0.0 [1.6.0]: https://git.lucasrguerra.dev.br/ciberfauna/urutau/compare/v1.5.7...v1.6.0 diff --git a/internal/app/version.go b/internal/app/version.go index 0b33bdf..6e28967 100644 --- a/internal/app/version.go +++ b/internal/app/version.go @@ -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 = "2.1.0" +var Version = "2.1.1" diff --git a/internal/server/web/incidents.css b/internal/server/web/incidents.css index 1062018..6e61187 100644 --- a/internal/server/web/incidents.css +++ b/internal/server/web/incidents.css @@ -29,8 +29,9 @@ .inc-bar { display: flex; flex-direction: column; align-items: stretch; gap: var(--s-2); margin-bottom: var(--s-3); } .inc-tabwrap { display: flex; align-items: center; gap: var(--s-2); min-width: 0; border-bottom: 1px solid var(--line); } .inc-info { color: var(--ink-muted); cursor: help; font-size: 1rem; flex: none; } -.inc-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 0; min-width: 0; scrollbar-width: thin; } -.inc-tab { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--ink-muted); cursor: pointer; font: inherit; font-size: .875rem; white-space: nowrap; flex: none; margin-bottom: -1px; } +.inc-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; gap: 0; min-width: 0; scrollbar-width: thin; } +.inc-tab { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--ink-muted); cursor: pointer; font: inherit; font-size: .875rem; white-space: nowrap; flex: none; } +.inc-tabs .inc-tab:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); } .inc-tab:hover { color: var(--ink); } .inc-tab.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); } .inc-tab.zero { opacity: .55; }