Repository navigation
M29, second part: stories for visitors - #81
Merged
Merged
Conversation
/stories and /stories/{id} start from VisibleStories and show parts only through
VisibleStoryBlocks; a draft, a binned, an all-hidden and an unknown story answer the same
404. Start page section, sitemap entries without lastmod, link preview with title and
summary only, covers from visible items in two queries, the item card split out of
_ItemCards. Tests for the visibility matrix, the 404, time, deletion, the public
accessibility runs; security.md rows, German entries, changelog. The demo story is published.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Signed-off-by: Seb H. <[email protected]>
…nly texts with words The cover tests put a hidden, embargoed, binned or record-only item first; the preview tests give the archive a logo and allow only it as og:image. A text of white space alone no longer keeps a story visible or shows in it. Paging is tested with hidden stories added. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Seb H. <[email protected]>
The list pages with p, the start page shows three stories, a withdrawn item needs a contribution, and the inline-script test reads a published story. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Seb H. <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Second of three parts of M29 (plan:
docs/plan-m29-stories.md). Stories become public; the bin, "used in N stories" and the handbook follow in part 3./stories(paged, 24 per page) and/stories/{id}: the same 404 for unknown, draft, binned and all-hidden stories. Blocks load only throughVisibleStoryBlocks; a hidden item leaves no caption, id, anchor, position or count.lastmod. Link preview: title and summary, no item text, no item picture (the archive logo as on every other page). No ETag or Last-Modified from block or item data._ItemCardsplit out of_ItemCards; demo story is now published; security rows, known limits, CHANGELOG, German entries.Privacy review
No leak found. Gaps it raised and that are closed: cover rule pinned with a hidden/record-only item first; preview tests now run with a logo set; paging totals unchanged by hidden stories; wording of "no picture"; blank text blocks.
Tested
Release build clean; main suite 617 passed, 6 skipped, 0 failed; browser suite 227 passed (before the last test-only commit); gitleaks clean; all commits signed off. Not tested here: real phones, screen readers; the visual walkthrough is planned for the end of M29.
🤖 Generated with Claude Code