onevcat/Prowl

Stale comment: CanvasView.arrangeCards() still documented as MaxRects-BSSF

Open

#568 opened on Jul 12, 2026

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Swift (44 forks)github user discovery
cleanupgood first issue

Repository metrics

Stars
 (458 stars)
PR merge metrics
 (PR metrics pending)

Description

Background

Canvas arrange packing evolved waterfall → MaxRects → waterfall+row-break hybrid within PR #8 (docs-ai/005-canvas-live-sessions/).

Problem

arrangeCards() in supacode/Features/Canvas/Views/CanvasView.swift still carries a 'MaxRects-BSSF bin packing' doc comment but delegates to CanvasCardPacker (the hybrid).

Suggested next step

Fix the comment to describe the hybrid packer (or just point at CanvasCardPacker).

Found during the docs-ai backfill (PR #558); full context in the referenced entry's 001-action.md → Open questions.

Contributor guide