Skip to content

v0.4.0 — friction on labelled elements

Latest

Choose a tag to compare

@kaezee kaezee released this 02 Oct 13:44
· 59 commits to main since this release
6e8f2b1
  • Friction: label controls with data-augur="…". Three presses on the same label
    within a second is recorded quietly (label, page path, press count; never element
    text or input; at most 20 per session). Admin's Results gains a Friction table: bursts,
    people, most common page, last seen. friction: false turns it off. No listener runs
    when Augur is off, and testing mode records nothing.
  • Store: optional logFriction() and readFriction(); Local, Supabase and HTTP
    stores implement them. Stores without them simply skip friction.
  • Database: new augur_friction table and augur_log_friction() /
    augur_admin_friction(), not callable by signed-out visitors. augur_admin_purge()
    also clears old friction rows.
  • Words: the automatic prompts are called triggers / triggered prompts throughout
    (no more "moments"). README gallery images use a card per text block.

Upgrading from 0.3: replace augur/ and run sql/migrations/0.4.0.sql.