07f7550931
Three defects on the server-rendered pages. /events printed both timestamps in whatever zone the value arrived in. NoticedAt is the bus's local instant; OccurredAt is the store's UTC, or a pubDate internal/rss parsed to UTC. So one row carried two zones and a feed item read hours older than it was, on a page whose hint tells him that column gap is real. /morning printed a plan item's At raw. It is a calendar fact's Ts or a reminder's FireTs, both UTC out of the store, so the same reminder named a different hour here than on /reminders — which does call Local, since V-469. promoteCandidate read the importance select inside `if due != nil`. Confirming a candidate as "срочно" with no deadline threw the word away and the row came back normal with nothing saying why. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
34 lines
1.6 KiB
HTML
34 lines
1.6 KiB
HTML
{{template "shellTop" "events"}}
|
|
<h1>Intake</h1>
|
|
<div class=hint>Everything that arrived, most recently noticed first — a relayed notification, a mail
|
|
candidate, a feed item, a changed page, a spend, a presence probe. Maven's own bookkeeping writes (feed
|
|
watermarks, crawl hashes, act traces, settings he toggled) are not here: nothing arrived. <b>noticed</b>
|
|
is when the journal saw it, <b>happened</b> is when the thing itself did, and those differ by days on a
|
|
cold feed read. One envelope per write; the durable row is still the fact, note or task itself. Held in
|
|
memory only, so a restart empties this.</div>
|
|
{{if .Err}}<div class=hint>journal unavailable: {{.Err}}</div>{{end}}
|
|
{{if and (not .Events) (not .Err)}}
|
|
<div class=hint>nothing has arrived yet</div>
|
|
{{end}}
|
|
{{if .Events}}
|
|
<div class=scroll><table class=mono>
|
|
<tr><th>noticed<th>happened<th>source<th>kind<th>pri<th>what<th>detail</tr>
|
|
{{range .Events}}<tr>
|
|
<!-- Both columns in his clock (V-469 on /reminders, same rule here). NoticedAt
|
|
is the bus's local instant, OccurredAt is whatever zone the source used —
|
|
the store hands back UTC and internal/rss parses a pubDate to UTC — so
|
|
rendering them raw put two zones side by side in the same row and made a
|
|
feed item look hours older than it was. -->
|
|
<td>{{.NoticedAt.Local.Format "02.01 15:04:05"}}</td>
|
|
<td class=gray>{{.OccurredAt.Local.Format "02.01 15:04:05"}}</td>
|
|
<td class=gray>{{.Source}}</td>
|
|
<td class=gray>{{.Kind}}</td>
|
|
<td class=gray>{{.Priority}}</td>
|
|
<td>{{.Title}}</td>
|
|
<td class=gray>{{.Body}}</td>
|
|
</tr>{{end}}
|
|
</table></div>
|
|
{{end}}
|
|
{{template "shellBottom"}}
|
|
</html>
|