mirror of
https://github.com/kuhyx/steam-backlog-enforcer.git
synced 2026-11-20 16:32:17 +01:00
Narrow remaining seconds in the glance
Some checks failed
dependency freshness / dependencies on newest stable (push) Has been cancelled
md-naming / markdown naming convention (push) Has been cancelled
pre-commit / pre-commit (${{ matrix.group }}) (mypy, mypy, ) (push) Has been cancelled
pre-commit / pre-commit (${{ matrix.group }}) (pylint, pylint, ) (push) Has been cancelled
pre-commit / pre-commit (${{ matrix.group }}) (rest, , mypy,pylint) (push) Has been cancelled
Tests / test (push) Has been cancelled
Tests / web-coverage (push) Has been cancelled
repo-contract / repo contract (push) Has been cancelled
Some checks failed
dependency freshness / dependencies on newest stable (push) Has been cancelled
md-naming / markdown naming convention (push) Has been cancelled
pre-commit / pre-commit (${{ matrix.group }}) (mypy, mypy, ) (push) Has been cancelled
pre-commit / pre-commit (${{ matrix.group }}) (pylint, pylint, ) (push) Has been cancelled
pre-commit / pre-commit (${{ matrix.group }}) (rest, , mypy,pylint) (push) Has been cancelled
Tests / test (push) Has been cancelled
Tests / web-coverage (push) Has been cancelled
repo-contract / repo contract (push) Has been cancelled
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzxdWViGJJaqBKGr1Hbppr
This commit is contained in:
parent
34789fe581
commit
9537470323
@ -124,13 +124,13 @@ export class BudgetGlanceElement extends LiveElement {
|
||||
const body = t
|
||||
? [
|
||||
// From 2026-11-16 there is no budget: the mark replaces the countdown and the bar.
|
||||
t.unlimited || t.fraction_used === null || t.budget_seconds === null
|
||||
t.unlimited || t.fraction_used === null || t.budget_seconds === null || t.seconds_remaining === null
|
||||
? h('p', { class: 'hero-num' }, glyph('filter.no-cap', 'No gaming limit'))
|
||||
: [
|
||||
h(
|
||||
'p',
|
||||
{ class: 'hero-num' },
|
||||
`${fmtDuration(t.seconds_remaining ?? 0)} `,
|
||||
`${fmtDuration(t.seconds_remaining)} `,
|
||||
h('span', { class: 'muted' }, said(`left of ${fmtDuration(t.budget_seconds)}`, `/ ${fmtDuration(t.budget_seconds)}`)),
|
||||
),
|
||||
progressBar(t.fraction_used, 'Budget used', budgetTone(t.blocked, t.fraction_used)),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user