{% extends "base.html" %} {% block title %}Dashboard{% endblock %} {% macro csv(table) %}CSV{% endmacro %} {% macro num(v) %}{% if v is none %}–{% elif v is number %}{{ "{:,.0f}".format(v) if v == v|int else "{:,.1f}".format(v) }}{% else %}{{ v }}{% endif %}{% endmacro %} {% macro delta(v) %}{% if v is none %}–{% else %}{{ "{:+,.1f}".format(v) if v != v|int else "{:+,.0f}".format(v) }}{% endif %}{% endmacro %} {% block body %}

Dashboard

Do announcements move adoption, and which platform and format does it best? Everything here is read from metrics.sqlite on this machine.

{% if not has_metrics %}

No metrics yet. Run argus-herald collect (the watcher also runs it daily).

{% endif %} {% if tiles %}
{% for t in tiles %}

{{ t.label }}, last 7 days

{{ num(t.value) }}

{% if t.delta is not none %}

{{ delta(t.delta) }} vs the 7 days before

{% endif %}
{% endfor %}
{% endif %}

Timeline

{{ csv("timeline") }}

Hover a chart for the values on that day; hover a marker for the post, click it to open the post.{% if f.project %} Site visits are site-wide, so they're hidden for one package.{% endif %}

{% for p in panels %}
{{ p.title }}
{{ p.svg }}
{% endfor %}
Table view
{% for p in panels %}{% endfor %}{% for day in dates|reverse %}{% set i = dates|length - loop.index %}{% for p in panels %}{% endfor %}{% endfor %}
Date{{ p.title }}
{{ day.isoformat() }}{{ num(p["values"][i]) }}

Followers

{{ csv("followers") }}
{% if follower_panels %}
{% for p in follower_panels %}
{{ p.title }}
{{ p.svg }}
{% endfor %}
{% else %}

No follower counts yet: add accounts: to the config, or argus-herald import x-account.

{% endif %}

GitHub referrers

{{ csv("referrers") }}

Unique visitors arriving from each source, over GitHub's trailing 14 days, as of each daily snapshot.

{% if ref_groups %} {% endif %} {{ ref_svg }} {% if ref_groups %}
Table view
{% for g, label, slot, values in ref_groups %}{% endfor %}{% for day in ref_days|reverse %}{% set i = ref_days|length - loop.index %}{% for g, label, slot, values in ref_groups %}{% endfor %}{% endfor %}
Snapshot{{ label }}
{{ day }}{{ num(values[i]) }}
{% endif %}

Broadcasts

{{ csv("broadcasts") }}

Deltas are associated with a post, not caused by it: the average day in the 72 hours from the post, minus the median day of the 14 days before. Greyed rows overlap another post's window, so their deltas are shared. Referrer uniques are the change in that platform's GitHub referrers across the window.

{% if report %}
{% for key, label in delta_metrics %}{% endfor %} {% for b in report %} {% for key, label in delta_metrics %}{% endfor %} {% endfor %}
When (UTC) Platform Format Post Engagement 24h Engagement 7d{{ label }} Δ/day
{{ b.at.strftime("%Y-%m-%d %H:%M") }} {{ platform_label(b.platform) }} {{ b.format }}{% if b.media %} · media{% endif %}{% if b.logged %} · logged{% endif %}{% if b.drafted_by not in ("template", "logged") %} · {{ b.drafted_by.split(":")[0] }}{% endif %} {% if b.link %}{{ b.subject or b.text[:60] }}{% else %}{{ b.subject or b.text[:60] }}{% endif %}{% if b.overlap %} (overlaps){% endif %} {{ num(b.engagement_24h) }} {{ num(b.engagement_7d) }}{% if b.impressions is not none %}
{{ num(b.impressions) }} views{% endif %}
{{ delta(b.deltas.get(key)) }}

{{ report|length }} of {{ report_total }} posts in this range.

{% else %}

No broadcasts in this range{% if report_total %} match these filters{% endif %}. Published drafts and posts logged with argus-herald log-broadcast appear here after the next collect.

{% endif %}

Platforms by week

{{ csv("platforms") }}

Weeks start on {{ weekdays[f.week_start]|capitalize }}{% if f.week_start == 0 %}, like digest windows{% endif %}. Referrer uniques count only posts whose window no other post overlaps.

{% if summary %}
{% for r in summary|reverse %}{% endfor %}
Week ofPlatformPostsEngagementReferrer uniquesFollower change
{{ r.week.isoformat() }}{{ platform_label(r.platform) }}{{ r.posts }}{% if r.engaged_posts %}{{ num(r.engagement) }}{% else %}–{% endif %}{{ delta(r.referrers) if r.referrers else "–" }}{{ delta(r.followers) }}
{% else %}

Nothing to summarise in this range yet.

{% endif %}
{% set fresh_tone = {"redo": "badge-off", "check": "badge-warn", "unknown": "badge-done", "fresh": "badge-ok"} %} {% set perf_tone = {"strong": "badge-ok", "typical": "", "weak": "badge-warn"} %}

Clips

{% if clips.rows %}

The ones to look at first: redo (the demo's UI changed), then check, then unknown; within each, the best-performing first. Performance is each clip's median post against that platform's own recent posts. The range and package filters don't apply here; argus-herald clips prints the same list.

{% for c in clips.rows %} {% endfor %}
ClipStatusFreshnessPerformanceLast posted
{% if c.rerecord_first %}re-record first
{% endif %} {{ c.title or c.id }} {{ c.id }} · {{ c.demo or "no demo" }} · {{ c.format }}
{{ c.status }} {{ c.freshness }}{% if c.age %} {{ c.age }}{% endif %} {% if c.why %}
{{ "Last check" if c.freshness == "fresh" else "What changed" }}
    {% for line in c.why %}
  • {{ line }}
  • {% endfor %}
{% endif %}
{% for p in c.platforms %} {{ p.platform }} {{ p.rating }}{% if p.value is not none %} {{ num(p.value) }} {{ p.measure }}{% endif %} {% else %} not posted {% endfor %} {% if c.last_posted %}{% if c.last_url %}{{ c.last_posted.isoformat() }}{% else %}{{ c.last_posted.isoformat() }}{% endif %}{% else %}never{% endif %}
{% else %}

No clips yet. Add one with argus-herald clips add <id> --demo ... --title ..., or argus-herald clips import <csv>.

{% endif %}
{% endblock %} {% block scripts %}{% endblock %}