Skip to content

Rework dashboard: freezer fill cards, readable activity, audits in progress - #187

Merged
olsonjp merged 2 commits into
mainfrom
dashboard-rework
Nov 10, 2026
Merged

olsonjp merged 2 commits into
mainfrom
dashboard-rework

Conversation

@olsonjp

@olsonjp olsonjp commented Nov 10, 2026

Copy link
Copy Markdown
Owner

What

  • Header: the welcome banner is replaced by a one-line summary ("2,165 aliquots of 435 samples, X of Y storage slots used").
  • Stat cards all link somewhere useful: Samples, Aliquots, Storage Used, Audits (in progress), Alerts.
  • Freezers (Create visual freezer cards with fill bars #119): a card per freezer or dewar with a labelled fill bar, used / total slots, site and last change; green up to 70%, amber to 90%, red above. The whole card links to the freezer.
  • Recent Activity (Improve Recent Activity entries on dashboard #121): reads as a sentence, "talia.hoang created aliquot X in Sikora LN2 / Box 1_A", with a link to the item. The storage place comes from where the aliquot is now.
  • In progress: storage audits that still have slots to check, linking to resume.
  • Quick Actions: Settings removed; New Aliquot and Find Aliquot stay; Start Audit added.
  • Content is centred and capped at 1600px.

Notes

Tests

8 new tests for fill levels and colours, the card numbers, the summary header, quick actions, activity sentences with location, in-progress audits and the empty state. Full suite passes (523).

🤖 Generated with Claude Code

olsonjp and others added 2 commits November 9, 2026 19:56
…n progress

Replace the welcome banner with a one-line summary. Add a card per freezer
with a fill bar (green to 70%, amber to 90%, red above), used and total
slots and the last change. Write recent activity as 'user created aliquot X
in Freezer / Box Y' with a link, show audits still in progress, drop
Settings from Quick Actions and cap the page width at 1600px.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
dashboard.js replaced every stat card with 'Loading...' and then re-fetched
numbers the server had already rendered, refilling only some cards. Remove
it. Drop the header summary that repeated the cards, and show the site on
freezer cards only when there is more than one site.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@olsonjp
olsonjp merged commit 5fa2c9f into main Nov 10, 2026
1 check passed
@olsonjp
olsonjp deleted the dashboard-rework branch November 10, 2026 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rework dashboard with actionable content

1 participant