Files
pipelines/android/app
alan cd85f6954b Render artifact thumbnails with an honest loading/failure state
The artifact grid could show failure placeholders that were never earned:
a server-relative artifact url that failed to resolve against the configured
server was fetched anyway and blamed with the "!" failure mark, and the
loading state was a bare "…" text.

- Pass the resolved url (nullable) into ArtifactImage; a null short-circuits
  to a new distinct Unavailable state (LinkOff glyph) and issues no request,
  so a fetch that was never attempted is never drawn as a failure.
- Reserve Error/"!" for a fetch or decode that was actually attempted.
- Replace the "…" text with a real Material 3 CircularProgressIndicator.
- Resolve gallery artifact urls in one shared helper (resolvedArtifactUrl)
  so the image tile and the non-image row cannot disagree; non-image
  artifacts keep their file-type icon.
- Add unit tests covering resolution against the configured server and the
  null (unconfigured) case.
2026-10-16 01:40:44 +01:00
..