[Bug] Inbox: heading-anchor links in Markdown attachments do not scroll to existing targets
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 68/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- markdown, typescript
- Ambito
- frontend
Direzione di ricerca
Start by locating the Inbox Markdown attachment preview and compare how it handles same-document heading links with standalone Annotate, where the supplied fixture scrolls correctly. Reproduce with the synthetic guide.md and click “Jump to target”; done when the existing target heading scrolls into view inside the attachment’s scroll container.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happened?
Clicking a same-document heading link in the Inbox Markdown attachment preview does not scroll, even though its target heading and DOM id exist. The same fixture scrolls in standalone Annotate.
Reproduction
In an empty directory, run this Python fixture generator (all content is synthetic):
from pathlib import Path
import base64
Path('assets').mkdir(exist_ok=True)
Path('assets/sample.png').write_bytes(base64.b64decode('iVBORw0KGgoAAAANSUhEUgAAAEAAAAAgCAIAAAAt/+nTAAAATklEQVR4nO3PUQkAIBTAwBfHYMY2jCH8OITBAtxm7fN1wwUNaEEDWtCAFjSgBQ1oQQNa0IAWNKAFDWhBA1rQgBY0oAUNaEEDWtCAFjx2AWvKQKaxk0G4AAAAAElFTkSuQmCC'))
Path('guide.md').write_text(
'# Attachment preview repro\n\n'
'[Jump to target](#target-section)\n\n'
'[Open linked document](peer.md)\n\n'
'\n\n'
+ ''.join(f'Public filler paragraph {i+1}. This is sample text to put the destination below the fold.\n\n' for i in range(65))
+ '## Target section\n\nTarget marker.\n'
)
Path('peer.md').write_text('# Linked document\n\nPublic sample destination.\n')
-
Start
plannotator inbox --no-open. -
Use the Inbox MCP
send_messagetool withproject_pathset to this directory andattachmentscontaining the absolute path toguide.md. -
Open that thread and click the
guide.mdattachment. -
Click Jump to target near the top of the attachment.
-
Compare with
plannotator annotate guide.md(dismiss first-run announcements if shown).
Actual vs expected
Measured at a 1400×900 viewport, with exactly one id="target-section" in each document:
| Surface | Target heading top before click | Target heading top after click |
|---|---|---|
| Standalone Annotate | 3017px | 740px — visible inside the viewport |
| Inbox Markdown attachment | 2990px | 2990px — still below the viewport |
Expected: clicking the heading link brings the existing target into view within the attachment's scroll container. The standalone destination is near the document end, so it need not align to the top edge.
This concerns clicking a local #target-section link, not Back-button scroll restoration in #2082 / #2128.
Environment
- Plannotator: official 0.28.32, Darwin ARM64 binary.
- OS: macOS 27.0.1, Apple silicon.
- Browser: fresh Chromium 155.0.8059.12, headless, 1400×900 viewport.
- Agent: standalone CLI/MCP reproduction; original workflow uses Pi.
- Surface: Inbox web UI → Markdown attachment preview.
- Isolated temporary HOME/data directory; no existing browser profile or private document needed.
- Lingua principale
- TypeScript
- Stelle
- 8.7k
- Fork
- 649
- Merge medio
- 6h
- PR unite (30g)
- 514
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di backnotprop/plannotator
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
backnotprop/plannotator#2290 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
backnotprop/plannotator#2243 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
submit_plan with missing edits aborts with "Tool execution interrupted" instead of returning a recoverable errorForse già presa @utpalsinghdev l’ha presa 1 giorno fa. Apertabug triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
backnotprop/plannotator#2227 ·
I maintainer di solito rispondono entro 1 giorno
-
Annotate documentation omits per-file version history and privacy controlsForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
backnotprop/plannotator#1086 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
backnotprop/plannotator#2295 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di backnotprop/plannotator
Issue simili
-
e2e-failure ready-to-code
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
redhat-developer/rhdh-plugin-export-overlays#4616 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
ai-handle
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
nextlevelbuilder/dewee-web-v2#73 ·
I maintainer di solito rispondono entro 1 giorno
-
backend bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
PoCInnovation/Distribox#255 ·
I maintainer di solito rispondono entro 1 giorno