lablup / lablup/backend.ai-webui

Training-metrics sparkline column on the session list

Open
#9,002 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
133
Forks
81
Avg merge
1d 12h
Merged PRs (30d)
355

Description

## Proposal (Phase 3 of the training-metrics series)

Surface the training metric (from Phase 1 log parsing / Phase 2 metrics.jsonl) as a **sparkline column** on the session list, so users can scan the health of all running trainings at a glance.

- Sparkline renders the recent loss trend per RUNNING session; empty for sessions with no metric source.
- Polling is constrained: only rows currently visible in the viewport, shared 10–30s interval, backoff when the tab is hidden.
- Reuse the Phase 1 parsing/normalization layer; no new data path.

## Acceptance criteria

- Session list shows live sparklines for visible RUNNING training sessions without noticeable scroll/render jank.
- No log fetches happen for off-screen rows or non-RUNNING sessions.
- Column is hideable via the existing column-setting mechanism.

JIRA Issue: FR-3650

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the session-list implementation and trace the Phase 1 log parsing and Phase 2 metrics.jsonl normalization layer, then inspect the existing column-setting mechanism. Verify the result against the acceptance criteria: visible RUNNING sessions show smooth live sparklines, off-screen and non-RUNNING rows are not fetched, polling backs off when hidden, and the column remains hideable.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.