add retroactive check for yesterday's missed habits on /today

Users often only realize a habit was missed the next day; a same-day-only
check made it impossible to record it after the fact.
This commit is contained in:
2026-07-17 20:15:38 +09:00
parent cee589bb3e
commit d0dd530e26
6 changed files with 111 additions and 0 deletions
@@ -0,0 +1,16 @@
<div class="habit-item">
<div class="habit-item-main">
<button
type="button"
class="check-indicator"
hx-post="/today/{{ item.habit_id }}/toggle-yesterday"
hx-target="#today-content"
hx-swap="innerHTML"
aria-label="{{ item.name }} 어제 체크"
></button>
<div>
<div class="habit-item-name">{{ item.name }}</div>
{% if item.condition_text %}<div class="habit-item-condition">{{ item.condition_text }}</div>{% endif %}
</div>
</div>
</div>