Skip to content

Everyday Runtime v0.2.0 — Quantities and corrections

Choose a tag to compare

@micha16372 micha16372 released this 26 Sep 17:30
· 21 commits to main since this release
6d23523

Everyday Runtime estimates what a household probably needs — with a confidence and a reason — instead of pretending to track exact stock. This release makes the estimates respond to how much you buy and to your corrections.

Milk — Bought today · 3 l usually lasts ~7 days

Added

  • Quantity-aware estimates (#2): purchase quantities give a typical use per
    day; a bulk purchase lasts longer, a small one runs out sooner. Reported
    consumption with a quantity moves the expected run-out by the share used.
  • Learning from corrections (#3): earlier “Empty” and late “Still have it”
    reports adjust how long a product is expected to last (bounded to 0.5–2×, a
    single report counts half), explained in “Why?”.
  • Product details show “Lasts about”, the typical use per day and a “Learned from
    your corrections” hint.
  • DEMO.md: a three-minute walkthrough of the workflow, with updated screenshots.
  • Governance: CODE_OF_CONDUCT (Contributor Covenant 2.1), SUPPORT, MAINTAINERS.
  • Dependabot configuration (grouped monthly updates) and a dependency review
    check on pull requests; CodeQL default setup enabled for the repository.

Fixed

  • Switching tabs kept the scroll position; on phones the Products tab opened
    below its search field. Each tab now starts at the top.
  • “Use per day” is rounded coarsely (e.g. ~0.4 l instead of ~0.41 l).
  • Accessibility (axe): no tabpanel role on <main>, no heading-level jump in
    product details.

Changed

  • Tooling: oxlint 1.85, GitHub Actions checkout/setup-node v7 and
    dependency-review-action v5 (Dependabot); the test configs use Vite's built-in
    resolve.tsconfigPaths instead of the vite-tsconfig-paths plugin.
  • CONTRIBUTING describes branches, the pull request workflow, commit expectations
    and scope.
  • The npm publish workflow runs on demand only (it no longer starts on version
    tags) and enables Corepack.
  • Actions from twentyhq/twenty are pinned to a commit SHA instead of main.

Tests

  • 89 unit tests (41 for the inference engine), lint and typecheck; 3 integration tests against a disposable Twenty instance in CI; CodeQL and dependency review.
  • Manual browser run-through on desktop, 390 px phone (touch) and dark mode: 33/33 workflow steps, no console errors, no HTTP 5xx, no axe violations in the app region.

Upgrading from 0.1.0

No data model change: git pull && yarn install && yarn twenty apply. Existing observations are used as they are; estimates for products bought with varying quantities or with earlier “Empty” reports may change — the “Why?” panel explains how.

Known limitations

Unchanged from 0.1.0: whole history is loaded into the browser (#6), English UI only (#11), one household per workspace (#4), Twenty's aria-disabled widget container (#12).

Try it in three minutes: DEMO.md · ROADMAP.md · CONTRIBUTING.md