AletheiaFact / AletheiaFact/aletheia
Visual feedback when it is not possible to send a link to the archive
- Vorherrschende Sprache
- TypeScript
- Sterne
- 55
- Forks
- 20
- Ø Merge
- 2 T. 6 Std.
- Gemergte PRs (30 T.)
- 2
Beschreibung
### 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:
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.