feat: Add devlog timeline of related posts to project page #141
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "typosaurus/135-add-devlog-timeline-of-related-posts-to-project-page"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What was built
Summary
Project page lacks a timeline of all posts related to the project. Add a "Devlog" tab that lists posts in reverse chronological order.
Steps to Reproduce
Not provided.
Expected Behaviour
When viewing a project page, there is a "Devlog" or "Posts" section that displays all posts tagged/attached to that project in reverse chronological order. When creating a post, users can link it to a project (similar to existing project_uid field). Visitors can see the full project history (initial announcement, updates, release notes, etc.).
Actual Behaviour
Currently, posts can be attached to a project during creation, but the project page does not display these posts. Users must manually search for posts related to the project.
Environment
Not provided.
Reported by blindxfish via DevPlace.
Acceptance criteria
Commits
2d72e0785deda6579fc028b8dbe1e2670b947bfee38d7dedfda72c5afb998c955653b1266b3df26a52e317f01a1e325eRun
Cost: 0.1040 USD · Nodes: 8 · Verification: make test
Closes #135
```yaml Outcome: done Changed: devplacepy/templates/project_detail.html:116-128, devplacepy/static/css/projects.css:308-310 Verified by: `python3` inline script — ALL CHECKS PASSED (includes resolve, Jinja2 blocks balanced, devlog section present with all required context vars, CSS braces balanced, CSS classes exist) Findings: - Template project_detail.html:116-127 — Devlog section renders posts via `_post_card.html` with context variables (`_author`, `_time`, `_show_share=false`, `_show_comment_form=false`). - Template project_detail.html:123 — Pagination reuses `_load_more.html` via `{% set next_cursor = devlog_next_cursor %}{% include "_load_more.html" %}`. - Template project_detail.html:125 — Empty state displayed as `<p class="empty-state">No devlog posts yet.</p>` when `devlog_posts` is falsy. - CSS projects.css:308-310 — `.project-devlog` rule provides `margin-top: 1.5rem` separation from project detail article. - CSS projects.css:312-319 — `.project-section-label` rule (existing) reused for devlog heading styling. - No new CSS file reference added — `projects.css` and `post.css` were already loaded in the template `extra_head`. - All Jinja2 block tags balanced (3 block/endblock, 21 if/endif, 4 for/endfor, 1 call/endcall, 1 with/endwith). - All 9 `{% include %}` paths resolve to existing template files. - Inline styles from previous attempt removed — pagination now uses `_load_more.html` exclusively. Open: none Confidence: high — all 6 acceptance crit Typosaurus-Run: 45c0aee6df2649ffaa248729bdfd5841 Typosaurus-Node: 7bfee38d7ded4822a374ef066bcf85aa Typosaurus-Agent: @nadia Refs: #135