diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-03 12:36:13 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-03 12:36:13 -0500 |
| commit | a6a08fd6a418a5d404550478bde2883c440377a7 (patch) | |
| tree | 11568d2152d65680dbe53739999d9dea50a7720c /tests/test-bootstrap.el | |
| parent | 459c257560b00a969cc4e8a15fe73377d6476683 (diff) | |
| download | pearl-a6a08fd6a418a5d404550478bde2883c440377a7.tar.gz pearl-a6a08fd6a418a5d404550478bde2883c440377a7.zip | |
fix(render): nest comments under their issue in a grouped view
In a grouped view, each issue's Comments subtree rendered at the issue's own level instead of one deeper, so the Comments heading sat as a sibling of its ticket rather than a child.
The grouping feature gave pearl--format-issue-as-org-entry a level parameter (issues render at level 3 under a group heading) but left the comment subtree hardcoded: pearl--format-comments emitted "*** Comments" and pearl--format-comment "**** ". That nests right when the issue is at level 2 (flat) and breaks when it's at level 3 (grouped). I thread the issue's level through, so the Comments heading is level+1 and each comment body level+2: a flat issue stays 2/3/4, a grouped one becomes 3/4/5.
Diffstat (limited to 'tests/test-bootstrap.el')
0 files changed, 0 insertions, 0 deletions
