[Bug] Inbox: relative .md links in attachments navigate to the server root instead of opening the document
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
Direzione di ricerca
Trace how the Inbox Markdown attachment viewer handles links, then compare it with standalone Annotate’s sibling document handling. Reproduce with the provided guide.md and peer.md fixture; check that clicking “Open linked document” opens the sibling within the allowed document scope and shows its heading in the viewer.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happened?
A relative link to an existing sibling Markdown file is resolved against the Inbox web origin, not the attached document's directory. It leaves the thread URL without displaying the linked document. Standalone Annotate opens the same sibling document inline.
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 Open linked document (
[Open linked document](peer.md)). Both files already exist in the same directory. -
Compare with
plannotator annotate guide.md(dismiss first-run announcements if shown).
Actual vs expected
| Surface | Result after clicking peer.md |
Linked document heading visible |
|---|---|---|
| Standalone Annotate | Opens the sibling document inline; URL path remains / |
Yes: “Linked document” |
| Inbox Markdown attachment | Browser navigates to origin-root /peer.md |
No |
Expected: resolve the sibling relative to guide.md, within the allowed document/project scope, and open it in the attachment/document viewer rather than treating it as a root-level web route. Merely rendering the browser's root-relative URL does not open the existing local document.
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
- 4h 16m
- PR unite (30g)
- 468
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
-
bug 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à 2/5 1-3 ore Idoneità per principianti 54/100
backnotprop/plannotator#2232 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] Annotate: Contents highlight becomes stale after large scrolls and stays stale across filesAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 70/100
backnotprop/plannotator#2231 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
backnotprop/plannotator#2229 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di backnotprop/plannotator
Issue simili
-
New icon: `filter-clear`Apertacalcite-ui-icons enhancement impact - p3 - not time sensitive needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
Esri/calcite-design-system#15467 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
diegosouzapw/OmniRoute#18390 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 86/100
guilhermerodz/input-otp#157 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
davidjerleke/embla-carousel#1414 ·
I maintainer di solito rispondono entro 4 giorni