ArchivesScreen

fun ArchivesScreen(publicationId: PublicationId, onEvent: (ArchivesEvent) -> Unit)

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

This is where co.cafeyn.cgs.api.features.publication.event.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 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