fix: 1.5.1 incidents status deep link and creation history wording
Release / Publish tags (push) Successful in 14s
Release / Plan (reuse the published image?) (push) Successful in 4s
Release / ci (push) Successful in 1m21s
Release / Build image (amd64) (push) Successful in 24s
Release / Build image (arm64) (push) Successful in 1m12s
CI / Format and vet (push) Successful in 48s
CI / Tests (Linux, race detector) (push) Successful in 1m7s
CI / Dependency audit (push) Successful in 33s
CI / Docker image (build and smoke test) (push) Skipped
Release / Gitea release (push) Successful in 5s
Release / Publish tags (push) Successful in 14s
Release / Plan (reuse the published image?) (push) Successful in 4s
Release / ci (push) Successful in 1m21s
Release / Build image (amd64) (push) Successful in 24s
Release / Build image (arm64) (push) Successful in 1m12s
CI / Format and vet (push) Successful in 48s
CI / Tests (Linux, race detector) (push) Successful in 1m7s
CI / Dependency audit (push) Successful in 33s
CI / Docker image (build and smoke test) (push) Skipped
Release / Gitea release (push) Successful in 5s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e5058968e2
commit
3c7caef0c8
4 files changed
+24
-2
No files matched your search
@@ -34,6 +34,7 @@
|
||||
'inc.sev.critical': 'Critical', 'inc.sev.high': 'High', 'inc.sev.medium': 'Medium', 'inc.sev.low': 'Low', 'inc.sev.info': 'Info',
|
||||
'inc.sort': 'Sort by',
|
||||
'inc.sort.updated': 'Recently updated', 'inc.sort.severity': 'Severity', 'inc.sort.last_seen': 'Last seen',
|
||||
'inc.h.created': '{who} opened the ticket (severity: {sev})', 'inc.h.flood': 'flood grouping',
|
||||
'inc.status.open': 'Open', 'inc.status.investigating': 'Investigating', 'inc.status.true_positive': 'True positive',
|
||||
'inc.status.false_positive': 'False positive', 'inc.status.benign': 'Benign', 'inc.status.resolved': 'Resolved',
|
||||
'inc.tab.active': 'Active', 'inc.tab.all': 'All',
|
||||
@@ -100,6 +101,7 @@
|
||||
'inc.sev.critical': 'Crítica', 'inc.sev.high': 'Alta', 'inc.sev.medium': 'Média', 'inc.sev.low': 'Baixa', 'inc.sev.info': 'Informativa',
|
||||
'inc.sort': 'Ordenar por',
|
||||
'inc.sort.updated': 'Atualizados recentemente', 'inc.sort.severity': 'Severidade', 'inc.sort.last_seen': 'Última ocorrência',
|
||||
'inc.h.created': '{who} abriu o chamado (severidade: {sev})', 'inc.h.flood': 'agrupamento de flood',
|
||||
'inc.status.open': 'Aberto', 'inc.status.investigating': 'Em investigação', 'inc.status.true_positive': 'Verdadeiro positivo',
|
||||
'inc.status.false_positive': 'Falso positivo', 'inc.status.benign': 'Benigno', 'inc.status.resolved': 'Resolvido',
|
||||
'inc.tab.active': 'Ativos', 'inc.tab.all': 'Todos',
|
||||
@@ -216,7 +218,7 @@
|
||||
var counts = null;
|
||||
|
||||
function cur() {
|
||||
var s = U.param('s') || 'active';
|
||||
var s = U.param('s') || U.param('status') || 'active';
|
||||
return { s: s === 'active' || s === 'all' || STATUSES.indexOf(s) >= 0 ? s : 'active', sev: pick(SEVS, U.param('sev'), ''), q: (U.param('q') || '').slice(0, 200), sort: pick(SORTS, U.param('sort'), 'updated'), p: U.pageParam() };
|
||||
}
|
||||
function query(f) {
|
||||
@@ -432,6 +434,12 @@
|
||||
hist.forEach(function (h) {
|
||||
var f = String(h.field || '');
|
||||
var fl = tr('inc.h.field.' + f, f);
|
||||
if (f === 'created') {
|
||||
ol.appendChild(el('li', null,
|
||||
el('span', { class: 'inc-tl-when' }, U.fmt.date(h.at)),
|
||||
el('span', { class: 'inc-tl-what' }, t('inc.h.created', { who: String(h.author || '-'), sev: f === 'created' && h.to === 'flood' ? t('inc.h.flood') : histValue('severity', h.to) }))));
|
||||
return;
|
||||
}
|
||||
ol.appendChild(el('li', null,
|
||||
el('span', { class: 'inc-tl-when' }, U.fmt.date(h.at)),
|
||||
el('span', { class: 'inc-tl-what' }, t('inc.h.line', { who: String(h.author || '-'), field: fl })),
|
||||
|
||||
Reference in new issue
Block a user