Rebuild the web UI in Svelte with a polished observability look

Open
#87 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript, rust
Domain
design, frontend

Research direction

Read ADR 0003 and the current UI implementation described in the issue, including the logs, metrics, and traces pages and the existing asset budget. Start by resolving the open questions about timing, shipped size, and the reproducible Svelte build toolchain. Done means recording the migration tradeoffs in an ADR, preserving embedded assets and the ui feature behavior, and rebuilding and testing each page across the stated themes and screen sizes.

Written by the indexing model from the issue text.

Description

area:ui feature priority:low

As a homelab operator,
I want a polished, dense web UI in the style of commercial observability tools,
so that investigating logs, metrics and traces feels fast and pleasant, and future dashboards (v2) have a solid base.

Acceptance criteria

  • Given the decision to adopt Svelte, when I read docs/adr/, then an ADR records why the UI moves from hand-written assets to a compiled Svelte app, and what it costs.
  • Given the release build, when the UI is compiled, then the binary still embeds every asset, loads nothing from another host, and works with the ui feature off.
  • Given the logs, metrics and traces pages, when they are rebuilt, then each keeps its current behaviour (#7, #15, #18) and passes a design review at phone and desktop width, light and dark.
  • Given the rebuilt UI, when CI runs, then the browser tests from #41 pass against it unchanged or with selector-only edits.

Success signal: I use the new UI daily and prefer it; the shipped UI size stays within a budget agreed in the ADR.
Out of scope: Copying any vendor's branding, logos or exact visual design; "Datadog-like" means the information density and workflows of an observability tool, designed with /impeccable as tinyobserve's own look.
Open questions:

  • When: before the v2 dashboards (recommended, so dashboards are built once) or after?
  • Size budget: Svelte compiles to small JS, but the app will grow; what total shipped size is acceptable for a Raspberry Pi and a 1 GB VM?
  • Build toolchain: Node in CI and for contributors, versus today's no-build-step rule from #7. How are the compiled assets kept reproducible (lockfile, pinned versions)?

Technical notes

  • Today's UI is static HTML, CSS and plain JS with no build step (#7), with per-page lazy loading (traces.js, uPlot) and a 60 KB shared budget that is nearly full (#84). The migration removes that budget pressure but adds a JS toolchain.
  • ADR 0003 still applies: telemetry-ui only exposes embedded assets; the API contract stays the same.
  • Plan: /impeccable to define the visual direction and design system, design-architect per page, then a page-by-page migration so each step ships.
  • To be split with /pm plan when scheduled.

Blocked by #41

Dominant language
Rust
Stars
0
Forks
0
Avg merge
40m
Merged PRs (30d)
91

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from jdrouet/tinyobserve

All issues in jdrouet/tinyobserve

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.