Skip to content

v0.30.0 — star/pin projects

Choose a tag to compare

@OneStepAt4time OneStepAt4time released this 27 May 16:14
· 18 commits to main since this release

Highlights

Phase-3 of the CCMeter parity push. Each project card now has a ★/☆ button
in the header. Click to toggle. Starred projects pin to the top of the
grid (above the cost-desc-ordered rest), and the starred set persists in
localStorage (per-browser-local — never sent over the wire).

Visual

┌─ ★ pinned-project ──────────┐  ← accent border, sticks to top
│   $cost                  ⏱  │
│   in/out/cache              │
│   +X -Y lines               │
│   ▓▓▓▓░░░░ tok/ln          │
│   stacked sparkline         │
└─────────────────────────────┘
┌─ ☆ other-project ───────────┐
│   ...                       │
└─────────────────────────────┘

Implementation

  • One delegated click listener per render (cheaper than per-card).
  • Last-loaded /v1/projects payload cached in lastProjectsData so
    toggling re-renders instantly with zero extra API calls.
  • No backend changes. No new env var. No new dep.

Image

docker pull ghcr.io/onestepat4time/polaris:0.30.0
docker pull ghcr.io/onestepat4time/polaris:latest

What's changed

  • feat(ui): star/pin projects (localStorage) (#81)

Full changelog: v0.29.0...v0.30.0