Issue filing: file an outline page as one issue per root item, nested items in the description #96

Closed
opened 2026-11-22 21:48:55 +00:00 by jfro · 0 comments
Owner

Testing #52 with a nested outline page (a project ideas page: root bullets with indented sub-bullets) shows the filing is too literal: every row becomes its own issue, and the title keeps the outline's markdown (- , indentation).

What should happen

When a page with an issue target is an outline, file one issue per root item:

  • Title: the root item's text with the outline formatting stripped (list markers -, *, •, 1., checkbox [ ], leading indentation, the transcriber's [?] uncertainty tag).
  • Description: the items nested under it, kept as a markdown bullet list with their nesting depth preserved, above the existing link back to the page. Text goes through the same neutralizing as titles (inert @/#).
  • A root item with nothing under it files as today, just with the marker stripped from its title.
  • A page that isn't an outline (plain lines) files exactly as today.

Example, from a transcribed page:

- issue trackers
  - project + label match
  - mark as filed, layer with stamp issue?
- writing prompts
  - scheduled page creation with prompts?
  - source for prompts?

files two issues: "issue trackers" (body: two bullets) and "writing prompts" (body: two bullets).

Details

  • Detection: the page's transcription has list markers and at least one item indented under another. Row geometry (x offset from Lines.Rows) can back this up if the transcription's indentation proves unreliable.
  • Nested rows are not issue items of their own: they don't show as separate lines in the approve panel and are never filed separately. The approve panel shows each root's title with its nested items underneath, so what will be filed is visible before approving.
  • Mark: strike + stamp goes on the root row only; nested rows are left untouched.
  • A nested item the user struck out by hand stays in the description as ~~struck~~.
  • Nested items added after the root is filed don't change the issue (same rule as ticking or erasing a filed line in v1).
  • Works the same in approve-first and auto mode, for Forgejo, GitHub and Linear (all three already take a body).
  • Update docs/ for issue filing; UI change needs 390px + desktop screenshots with example data.
Testing #52 with a nested outline page (a project ideas page: root bullets with indented sub-bullets) shows the filing is too literal: every row becomes its own issue, and the title keeps the outline's markdown (`- `, indentation). ## What should happen When a page with an issue target is an outline, file one issue per **root item**: - **Title**: the root item's text with the outline formatting stripped (list markers `-`, `*`, `•`, `1.`, checkbox `[ ]`, leading indentation, the transcriber's `[?]` uncertainty tag). - **Description**: the items nested under it, kept as a markdown bullet list with their nesting depth preserved, above the existing link back to the page. Text goes through the same neutralizing as titles (inert `@`/`#`). - A root item with nothing under it files as today, just with the marker stripped from its title. - A page that isn't an outline (plain lines) files exactly as today. Example, from a transcribed page: ``` - issue trackers - project + label match - mark as filed, layer with stamp issue? - writing prompts - scheduled page creation with prompts? - source for prompts? ``` files two issues: "issue trackers" (body: two bullets) and "writing prompts" (body: two bullets). ## Details - Detection: the page's transcription has list markers and at least one item indented under another. Row geometry (x offset from `Lines.Rows`) can back this up if the transcription's indentation proves unreliable. - Nested rows are not issue items of their own: they don't show as separate lines in the approve panel and are never filed separately. The approve panel shows each root's title with its nested items underneath, so what will be filed is visible before approving. - Mark: strike + stamp goes on the root row only; nested rows are left untouched. - A nested item the user struck out by hand stays in the description as `~~struck~~`. - Nested items added after the root is filed don't change the issue (same rule as ticking or erasing a filed line in v1). - Works the same in approve-first and auto mode, for Forgejo, GitHub and Linear (all three already take a body). - Update docs/ for issue filing; UI change needs 390px + desktop screenshots with example data.
jfro closed this issue 2026-11-23 01:57:53 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jfro/rm-analyzer#96
No description provided.