AletheiaFact / AletheiaFact/aletheia
Visual feedback when it is not possible to send a link to the archive
- 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:
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á.