Call the period select Posted, the date it filters on and rows show, and point the rail's comments at the ADR and the order's name

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Fable 5.1 committed 2026-10-05 09:29:07 +02:00
1 parent 8be59a7ee4
commit 92ad8c2c1b
3 files changed
+23 -9

No files matched your search

+11
View File
@@ -133,3 +133,14 @@ def test_the_reader_excerpt_falls_back_in_the_servers_order() -> None:
description, then teaser, or a teaser-only role's row blanks after Fetch."""
text = (STATIC / "roles.js").read_text("utf-8")
assert "role.summary || role.description || role.teaser" in text
def test_the_period_is_called_posted_as_the_date_it_counts_back_over(
client: TestClient) -> None:
"""`days` keeps `posted_at` within the window, the date a row shows as its
age, so the select is not called First seen."""
rail = client.get("/").text.split('<aside id="rail"', 1)[1].split("</aside>", 1)[0]
assert '<label class="rail-field" for="period">Posted</label>' in rail
assert "First seen" not in rail
template = (STATIC.parent / "templates" / "roles.html").read_text("utf-8")
assert "docs/architecture.md" not in template and "Agent match" not in template