{{/* The status page refreshes itself ONLY while a run is active, and it is a meta refresh because every affordance here works scriptless. This is also the honest mechanism: the import is a goroutine that lives as long as the process, and the platform sleeps an idle app, so an open page is what keeps it awake. The copy below says so rather than implying a background worker memoria does not have. */}} {{define "head"}}{{if .Run}}{{if .Run.Running}}{{end}}{{end}}{{end}} {{define "content"}}
{{.Flash}}
Memoria imports the Notion pages you share with an integration, and everything nested underneath them.
{{/* Info: the untoned callout (runTone says why there is no "info"). */}}What you connect, Memoria keeps. Once a page is imported, it stays in Memoria and stays readable by everyone here — even if you later archive it in Notion, unshare it, or revoke this token. Removing it is something you do in Memoria.
{{if .Verified}}Token last checked {{.Verified}}.{{else}}Token stored.{{end}}
{{if .CountsKnown}}{{.Imported}} of {{.Pages}} known page{{if ne .Pages 1}}s{{end}} imported.
{{else}}The page counts could not be read, so this says nothing about how much has been imported.
{{end}}{{.Run.Message}}
Rotating a token replaces the stored one. The old token is not kept. Nothing already imported is affected.
This removes the token and stops future imports. It deletes nothing Memoria has already imported — those pages stay here until someone deletes them in Memoria.