github / github/app

Support extension-owned handling of links detected in chat

Đang mở
#2,995 0 bình luận 2 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
2.1k
Fork
153
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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).

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
frontend
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.