ArchivesScreen

fun ArchivesScreen(publicationId: PublicationId, onEvent: (ArchivesEvent) -> Unit, colors: ArchivesColors = ArchivesDefault.archivesColors())

Screen displaying every archived issue of a publication, one year at a time.

This is where co.cafeyn.cgs.api.features.publication.PublicationEvent.ClickOnSeeAllArchives leads: the publication screen previews the most recent archives, this one lists them all. It takes the publication's id and reads the rest — title, and the years its pager offers — from the publication itself, so a host navigating here has only an id to carry and nothing to keep in sync.

Parameters

publicationId

publication identifier whose archives should be displayed

onEvent

callback invoked when a UI event is emitted

colors

styling configuration applied to the archives screen