Fix #135: Add devlog timeline of related posts to project page #136
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "typosaurus/ticket-135"
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?
Resolves #135.
Plan
Implementation Plan: Add Devlog Timeline of Related Posts to Project Page
Changes Required
database/schema.pyposts.project_uidininit_db()after the table creation block:project_uidcolumn already exists withNULLdefault for old posts.schemas/listings.pyProjectDetailOut, add a field:PostSummaryOutfromschemas/content.py.routers/projects/index.pyproject_detail()function, after fetching the project and existing fields, add a query for posts attached to this project:ProjectInDBis imported (likely already present).templates/project_detail.html<div class="tabs">):project_posts(already added in router step).static/css/projects.csstests/api/projects/index.py(create if not exists)create_project,create_postfrom conftest.Definition of Done
posts.project_uidexists in database schema.ProjectDetailOutschema includesproject_postsfield as a list ofPostSummaryOut.project_postsarray when posts are attached.Opened automatically by Typosaurus.
Checkout
From your project repository, check out a new branch and test the changes.