fix(downloads): GIF review round 2 — cap as sent, shown length, retry, Join reason
The panels judge a GIF's length in whole milliseconds between the ends as sent, the server's own rule, and a refused length reads rounded up. A shared picture says it failed only once its retry failed too. Join's reason shows on a key's focus; the editor's failure toasts name GIFs. The edit route's cap is test-held, and DESIGN.md records the GIF UI.
This commit is contained in:
@@ -489,7 +489,9 @@ function SharedPicture({ meta, nested }: { meta: FileMeta; nested: boolean }) {
|
||||
height={meta.height ?? undefined}
|
||||
retries={1}
|
||||
// A picture link always has a picture: a missing one failed to load, and says so —
|
||||
// the bare file glyph would read as a file with no preview.
|
||||
// the bare file glyph would read as a file with no preview. Only once the retry failed
|
||||
// too: while it waits, the frame stays empty.
|
||||
pending={<div aria-hidden className="w-48 h-32" />}
|
||||
fallback={
|
||||
<div role="status" className="flex flex-col items-center gap-2 px-12 py-10 text-muted">
|
||||
<FileIcon className="w-12 h-12" aria-hidden />
|
||||
|
||||
Reference in New Issue
Block a user