{% extends "base.html" %} {% from "_when.html" import when_field with context %} {% import "_handler_journal.html" as jr with context %} {% block title %}{{ hs.name }} ยท {{ app_name }}{% endblock %} {% block body %}

๐Ÿพ Your {{ hs.name }} โš™

{% if hs.persona %}

๐Ÿฆด Collared under {{ hs.persona.name }} ({{ hs.persona.strictness }}) โ€” day {{ hs.persona.day }}. release โ†’

{% endif %} {#- THE BAND: everything said to you today, and the day's duties at a glance. One card, one voice on top โ€” the rules line always stands; what somebody else said (the AI's line, a pack Handler's) sits under it. ๐Ÿ”ด A line about time while your lock is hidden shows masked; it is theirs and stored verbatim, and it is yours to reveal here, never shown by default. -#} {% set ci = hs.checkin %}

โ€œ{{ hs.line }}โ€

{% for key in ('pack_line', 'ai_line') %}{% set l = hs[key] %}{% if l %}
{{ l.label }} {{ l.ts|rel(now) }} {% if l.masked and not reveal %}

{{ l.text }} tap to reveal

{% else %}

โ€œ{{ l.raw if (l.masked and reveal) else l.text }}โ€

{% endif %}
{% endif %}{% endfor %} {% if hs.mantra %}
{{ hs.mantra.text }} {% if mantra_audio %}๐ŸŒ€ play it{% endif %}
{% endif %}
{% if hs.challenge %}{% include "challenge_form.html" %}{% endif %} {#- The blank pages the audit is still holding, and the one door back (handler.catch_up). ๐Ÿ”ด It sits above everything else on purpose: before it existed there was no way to answer a missed day at all, and the lapse questions kept asking for pages nobody could write. -#} {% if hs.pages %}{% set n = hs.pages|length %}

๐Ÿ—’ Catch up {{ n }} blank page{{ 's' if n != 1 }} your {{ hs.name }} is still holding

{% for p in hs.pages %}๐Ÿ“„ {{ p.label }}{% endfor %}

{{ catchup_q }}

one entry answers every page ยท at least {{ minchars }} characters ยท no xp ยท each ๐Ÿ“„ Blank page (2) becomes a ๐Ÿ“ Late page (1) for the rest of its week ยท the days stay blank on the calendar, and the time already added stays

{% endif %}

๐Ÿ““ Today's reflection {{ 'done' if hs.reflected else 'required ยท due ' ~ hs.due_hour ~ ':00' }}

{% if hs.reflection_prompt %}

{% if hs.reflection_prompt.lapse %}{{ hs.reflection_prompt.lapse.icon }} {{ hs.reflection_prompt.lapse.label }} {% endif %}{{ hs.reflection_prompt.text }}{% if hs.pages and hs.reflection_prompt.lapse and hs.reflection_prompt.lapse.why == 'blank_page' %} ๐Ÿ—’ catch the pages up โ†’{% endif %}

{% endif %} {% if hs.reflected %}
write another{% endif %}

at least {{ minchars }} characters ยท +15 xp

{{ when_field('โฑ wrote this earlier? set the time') }}
{% if hs.reflected %}
{% endif %}
๐ŸŽ™ speak it instead
โ€”

at least {{ voice_min }} seconds ยท +15 xp ยท stays on this box

๐Ÿพ Check-in {% if not hs.active %}only while locked{% elif ci.overdue %}overdue{% elif ci.due %}due now{% else %}next {{ ci.next_at|rel(now) }}{% endif %} {% if trend.last %}{% endif %}

{% if hs.checkin_prompt %}

{% if hs.checkin_prompt.lapse %}{{ hs.checkin_prompt.lapse.icon }} {{ hs.checkin_prompt.lapse.label }} {% endif %}{{ hs.checkin_prompt.text }}{% if hs.pages and hs.checkin_prompt.lapse and hs.checkin_prompt.lapse.why == 'blank_page' %} ๐Ÿ—’ catch up โ†’{% endif %}

{% endif %}
{#- One tap per score. ๐Ÿ”ด Nothing is chosen until you choose it: a scale that arrives with a value on it is an answer nobody gave. "Same as last" fills it in where you can see it, and it is still yours to change. -#} {% for k in score_keys %}{% set t = trend.scores[k] %}
{{ k }} {% if t.path %}{% endif %}{% for x, y in t.dots %}{% endfor %} {% if t.avg %}avg {{ t.avg }}{% else %}no days yet{% endif %}
{% for n in range(1, 11) %}{% endfor %}
{% endfor %} {{ when_field() }}
{% include "mischief_panel.html" ignore missing %} {% if hs.habits %}

๐ŸŽฏ On your habits the work your {{ hs.name }} is watching habits โ†’

โ€œ{{ hs.habits.line }}โ€

{% if habit_rows %} {% else %}
{% for v in hs.habits.verdicts %}{{ v.icon }} {{ v.title }} ยท {{ v.state|replace('_', ' ') }}{% endfor %}
{% endif %}
how your {{ hs.name }} judges it

Consistency earns praise, XP and time off the clock. Slacking earns a word โ€” and minutes on, if you turned that on in Settings โ†’ Habits. Too new to judge is a state too: nothing is said about a habit in its first week.

{% endif %}
๐Ÿ” Mantras & affirmations {{ mantras|length }} mantras ยท {{ affirmations|length }} affirmations

Mantras

    {% for m in mantras %}
  • {{ m.text }}
  • {% endfor %}

Affirmations

    {% for a in affirmations %}
  • {{ a.text }}
  • {% endfor %}
๐Ÿง˜ Headspace session meditation ยท hypno scripts later
โ€”
{{ when_field('โฑ sat earlier, off-app? set the time and log it') }}

xp = minutes, up to 20. The log button unlocks when the timer ends โ€” sit the whole thing. Logging an earlier session unlocks it too.

Journal {{ journal.total }} entr{{ 'y' if journal.total == 1 else 'ies' }} ยท by week, then month, then year

{% if not journal.total %}

Nothing written yet. That changes today.

{% endif %} {% for w in journal.weeks %}{% if w.n or loop.first %}
{{ w.label }} {{ w.span }}{{ jr.stats(w) }}
{{ jr.day_list(w.day_list) }}
{% endif %}{% endfor %} {% for g in journal.months %}{{ jr.lazy_fold(g) }}{% endfor %} {% for g in journal.years %}{{ jr.lazy_fold(g) }}{% endfor %}
{% endblock %} {% block scripts %} {% endblock %}