AletheiaFact / AletheiaFact/aletheia

Visual feedback when it is not possible to send a link to the archive

Đang mở
#2,008 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
tech tech-debt
Ngôn ngữ chính
TypeScript
Star
55
Fork
20
Merge trung bình
2 ngày 6 giờ
Pull request đã merge (30 ngày)
2

Mô tả

### Background Information
Currently, when a user tries to send a link to the archive and it fails (for example, live streams, videos, or images), there is no feedback provided. As a result, the user has no way of knowing that the URL could not be archived.

### How

You can go to the file `EditorSourcePopover.tsx` and look at the `getArchiveHref` function. You’ll notice that for certain links, the snapshots returned are `undefined`. Based on this, the application should display a clear visual feedback to the user whenever the archive link cannot be generated.

Example:

An error is returned in the console when the user tries to archive this URL:
`https://www.youtube.com/live/6N4dOUTnXXk?si=Gp8FbiOMzrcLdMlL`

Error:
Image

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

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.