personal memory agent
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(calendar): add Today button to day heading and enhance styling

+39 -5
+32 -2
dream/templates/calendar_todos.html
··· 12 12 margin: 1rem 0; 13 13 } 14 14 15 + .day-heading-today { 16 + display: inline-flex; 17 + align-items: center; 18 + gap: 0.25rem; 19 + padding: 0.35rem 0.75rem; 20 + background: #2563eb; 21 + color: #ffffff; 22 + text-decoration: none; 23 + border-radius: 4px; 24 + font-size: 0.9rem; 25 + font-weight: 500; 26 + transition: background 0.18s ease, color 0.18s ease; 27 + } 28 + 29 + .day-heading-today:hover, 30 + .day-heading-today:focus-visible { 31 + background: #1d4ed8; 32 + color: #ffffff; 33 + } 34 + 15 35 .todo-row { 16 36 display: flex; 17 37 align-items: center; ··· 197 217 opacity: 1; 198 218 } 199 219 220 + @media (hover: none), (pointer: coarse) { 221 + .todo-side-move button, 222 + .todo-side-remove button { 223 + opacity: 1; 224 + } 225 + } 226 + 200 227 201 228 .todo-domain-icon { 202 229 display: inline-flex; ··· 353 380 354 381 {% block body %} 355 382 <div class="container"> 356 - {{ macros.day_heading(title, 383 + {{ macros.day_heading( 384 + title, 357 385 prev_day and url_for('todos.todos_day', day=prev_day), 358 - next_day and url_for('todos.todos_day', day=next_day)) }} 386 + next_day and url_for('todos.todos_day', day=next_day), 387 + today_url=url_for('todos.todos_day', day=today_day) 388 + ) }} 359 389 360 390 {% with messages = get_flashed_messages(with_categories=true) %} 361 391 {% if messages %}
+2 -1
dream/templates/macros.html
··· 1 - {% macro day_heading(title, prev_url=None, next_url=None, transcript_url=None, admin_url=None, todos_url=None) %} 1 + {% macro day_heading(title, prev_url=None, next_url=None, transcript_url=None, admin_url=None, todos_url=None, today_url=None) %} 2 2 <h1 style="display: flex; justify-content: space-between; align-items: center;"> 3 3 <div> 4 4 {% if prev_url %}<a href="{{ prev_url }}" aria-label="Previous day" style="text-decoration:none">&#9664;</a>{% endif %} ··· 6 6 {% if next_url %}<a href="{{ next_url }}" aria-label="Next day" style="text-decoration:none">&#9654;</a>{% endif %} 7 7 </div> 8 8 <div style="display: flex; gap: 10px;"> 9 + {% if today_url %}<a href="{{ today_url }}" title="Today" aria-label="Jump to today" class="day-heading-today">Today</a>{% endif %} 9 10 {% if todos_url %}<a href="{{ todos_url }}" title="TODOs" aria-label="TODOs" style="text-decoration:none">✅</a>{% endif %} 10 11 {% if transcript_url %}<a href="{{ transcript_url }}" title="Transcripts" aria-label="Transcripts" style="text-decoration:none">💬</a>{% endif %} 11 12 {% if admin_url %}<a href="{{ admin_url }}" title="Admin" aria-label="Admin" style="text-decoration:none">⚙️</a>{% endif %}
+2
dream/views/todos.py
··· 104 104 bp.logger.debug("Failed to load domain metadata: %s", exc) 105 105 domain_map = {} 106 106 prev_day, next_day = adjacent_days(state.journal_root, day) 107 + today_day = date.today().strftime("%Y%m%d") 107 108 108 109 return render_template( 109 110 "calendar_todos.html", ··· 112 113 day=day, 113 114 prev_day=prev_day, 114 115 next_day=next_day, 116 + today_day=today_day, 115 117 todos=todos, 116 118 domain_map=domain_map, 117 119 )
+3 -2
think/agents/default.json
··· 1 1 { 2 - "title": "Journal Chat" 3 - } 2 + "title": "Journal Chat", 3 + "tools": "journal, todo" 4 + }