github / github/app

Support extension-owned handling of links detected in chat

Aperta
#2,995 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
2.1k
Fork
153
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

An extension should be able to:
- Declare supported link patterns.
- Customize permitted display or hover metadata
- Intercept matching clicks before normal navigation.
- Route clicks to an extension-owned action or Canvas with the parsed URL and structured parameters.
- Explicitly allow default navigation when appropriate.

Scenario: I want to integrate with our ticket managing system, automatically hyperlinking the (Jira) ticket #s. Hovering would show a nice card (if I had the ability to do this), and clicking would open up a canvas w/the selected ticket. Currently, I can hyperlink the tickets and I can get them to open in teh chat, but it also opens up an external browser window (not what I want).

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by tracing the existing chat hyperlink behavior described in the issue, including how matching links open in chat and how the external browser is triggered. Review the extension link-handling and Canvas entry points if available. Done means extensions can declare patterns, control metadata, intercept clicks, route parsed URLs and parameters to an action or Canvas, and explicitly permit default navigation.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
frontend
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.