AletheiaFact / AletheiaFact/aletheia

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

未关闭
#2,008 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
tech tech-debt
主要语言
TypeScript
星标
55
派生
20
平均合并
2 天 6 小时
30 天内合并 PR
2

描述

### 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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。