Skip to content

feat(android): list folder contents in SAF documents provider#434

Open
terrerox wants to merge 1 commit intofeature/PB-5926-document-query-rootsfrom
feature/PB-5927-folder-file-listing
Open

feat(android): list folder contents in SAF documents provider#434
terrerox wants to merge 1 commit intofeature/PB-5926-document-query-rootsfrom
feature/PB-5927-folder-file-listing

Conversation

@terrerox
Copy link
Copy Markdown

  • Implement queryChildDocuments to paginate folders + files for a parent UUID
  • Implement queryDocument to resolve real metadata via folders/{uuid}/meta and files/{uuid}/meta, with a UUID-named placeholder fallback for offline / transient failures
  • Add InternxtApiClient.getFolder / getFile (404 → null) plus tests
  • Introduce DocumentRowBuilder (column-keyed rows) and MimeTypes (hand-rolled table + Android MimeTypeMap fallback) with tests
  • Surface InternxtApiException + null auth-config via Log.w so silent failures are no longer invisible
  • Fix auth slice to sync newToken (not token) to native credentials so the documents provider authenticates against drive endpoints

  - Implement queryChildDocuments to paginate folders + files for a parent UUID
  - Implement queryDocument to resolve real metadata via folders/{uuid}/meta
    and files/{uuid}/meta, with a UUID-named placeholder fallback for
    offline / transient failures
  - Add InternxtApiClient.getFolder / getFile (404 → null) plus tests
  - Introduce DocumentRowBuilder (column-keyed rows) and MimeTypes
    (hand-rolled table + Android MimeTypeMap fallback) with tests
  - Surface InternxtApiException + null auth-config via Log.w so silent
    failures are no longer invisible
  - Fix auth slice to sync newToken (not token) to native credentials so
    the documents provider authenticates against drive endpoints
@sonarqubecloud
Copy link
Copy Markdown

@terrerox terrerox self-assigned this Apr 30, 2026
@terrerox terrerox requested a review from CandelR May 1, 2026 04:53
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