Skip to content

[BR-2114]: iOS generation + add list-view thumbnails#524

Open
terrerox wants to merge 3 commits into
fix/android-upload-encoded-uri-thumbnailfrom
feature/drive-list-mode-thumbnails
Open

[BR-2114]: iOS generation + add list-view thumbnails#524
terrerox wants to merge 3 commits into
fix/android-upload-encoded-uri-thumbnailfrom
feature/drive-list-mode-thumbnails

Conversation

@terrerox

@terrerox terrerox commented Jul 8, 2026

Copy link
Copy Markdown
Contributor
  • fix(ios): toFileUri now emits absolute file:///… URIs. A relative path
    became file://var/… (parsed as host), so iOS thumbnail generation failed with
    CreateThumbnail Code=1 and uploads showed no preview.
  • feat: image thumbnails now render in Drive list view (previously grid
    only), via a shared useDownloadedThumbnail hook used by both grid and list.
    Falls back to the type icon for non-images/folders/download errors.

terrerox added 2 commits July 3, 2026 12:15
toFileUri produced file://<host>/... from a relative path, so iOS
CreateThumbnail failed with Code=1 "Could not create image source from
URL". Prepend a leading slash when missing so the URI is always an
absolute file:///... path.
@terrerox terrerox changed the title Feature/drive list mode thumbnails [BR-2114]: iOS generation + add list-view thumbnails Jul 8, 2026
@sonarqubecloud

sonarqubecloud Bot commented Jul 8, 2026

Copy link
Copy Markdown

@terrerox terrerox requested a review from CandelR July 8, 2026 04:43
@terrerox terrerox self-assigned this Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant