DocumentUiState
data class DocumentUiState(val id: String, val title: String, val description: String, val formattedDate: String, val previewImageUrl: String? = null)
What the Document and DocumentList components render.
Map an IssueShort into this before handing it over — the components hold no state of their own and read nothing from the SDK.
Parameters
id
what identifies this row. Handed back to you in the click callbacks, so make it something you can resolve — the issue id, typically.
description
the line shown under the title.
title
the document's name.
formattedDate
the date, already formatted for display. The component does no formatting and no localisation of its own.
previewImageUrl
the cover thumbnail, if there is one. A placeholder stands in when null.