Files
selfpost/internal/web/view/legacy_pages.txt
T
mixandClaude Opus 5.5 783dabbea5 panel-redesign: Server > Health; Overview reduced to verdicts; @routes off
Stage 1, step 5 - and the end of stage 1.

  - GET /server/health (+ /fragment) shows every check in full and is the
    home of POST .../recheck and POST .../reload, which now return there.
  - GET /overview (+ /fragment) shows the overall verdict and six cards -
    machine, processes, TLS certificate, queue, milter sockets, reverse DNS -
    each a view.HealthCard (the typed input of the kit's health_card) that
    links to its table on Health. A check that could not run is a warning,
    not "ok".
  - Both pages read healthChecks(), so a card and its table cannot disagree.
    Until stage 2 they share the old status template, switched by a flag.

legacy_pages.txt: @routes removed. TestRoutesFollowNavigation is enforced
from here on: every path of plan section Routes is registered with its
method, no pre-2.0 path is answered, and no template links to a path the
router does not serve.

Not in this step, left for the Overview page of stage 2: the outbound and
inbound domain summaries the mockup shows under the cards.

Tests: the six cards from one reading of the checks (values, levels, links,
and the unverified case); the two modes of the page - Overview without the
tables and actions, Health with them, each polling its own fragment.

go test ./...  green except the two Windows-only failures in internal/domain
and internal/logtail.

Roadmap 15/27.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 22:07:10 +03:00

35 lines
956 B
Plaintext

# The redesign ratchet (docs/plans/panel-redesign.md § Against resurrected pages).
#
# One entry per line: what is still pre-2.0 and therefore not yet held to the
# design contract by the guard tests. This list ONLY SHRINKS — CI fails a
# commit whose list is not a subset of its parent's (.github/scripts/design-first.sh).
# Finishing a piece of work means deleting its line in the same commit; from
# then on the guards hold that piece for good.
#
# @kit the component kit is not complete (stage 0): panel.css,
# components.html, components.go, layout.html, GET /server/components
# @routes the pre-2.0 route table is still in place (stage 1)
# <name> a page of the view engine that is still the old template
backup
dashboard
deliveries
delivery
dmarc
dmarc_domain
dmarc_report
domain_delete
domain_detail
help
inbound
inbound_delete
inbound_domain
login
mail_queue
settings
setup
status
system_log
user_delete
user_form
users