Skip to content

[P9-3] Story main page: Genesis + table of contents #186

@realproject7

Description

@realproject7

Current

/story/[storylineId] renders ALL plots inline on one page.

New layout (Wattpad-style)

Header: title, author, stats, deadline

Genesis: full content (plot index 0) — story overview/synopsis + comments

Table of Contents: list of chapters (plot index 1+)

  • Each row: chapter number, title, truncated preview (~100 chars), date
  • Click navigates to /story/[storylineId]/[plotIndex]
  • Fallback for no title: "Chapter {N}"

Sidebar: keep existing (price curve, trading, donate, rating)

Acceptance Criteria

  • Genesis displayed prominently at top
  • TOC lists chapters with title + preview + date
  • Each row links to plot detail page
  • Handles 0 chapters (genesis only) and missing titles
  • Mobile responsive 375px

Blocked by: #184 (contract), #185 (DB schema)

Part of: Phase 9 Epic (#183)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions