AletheiaFact / AletheiaFact/aletheia

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

Ouverte
#2,008 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
tech tech-debt
Langage dominant
TypeScript
Étoiles
55
Forks
20
Merge moyen
2 j 6 h
PR mergées (30 j)
2

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.