Skip to content

Show version history in the channel publish side panel #5463

@AlexVelezLl

Description

@AlexVelezLl

This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Overview

Within the scope of this issue, we will display the channel's version history in the Publish Side Panel. For this:

Description Spec
We will show a "See all versions" button below the publish input(s). Image
Once clicked, the list of channel versions will appear, with a "see less" button at the bottom. Image

Technical details

  • A new ChannelVersionHistory component should be created on the frontend to abstract all the channel version history displaying logic.
    • We will use the ChannelVersion resource to fetch channel versions in the frontend.
    • This component will then be rendered on the PublishSidePanel component.
    • Although the designs show the format Version (10:03 PM - May 2, 2025). It should not be presented this way; it should only show the channel version number, just like Version 3.
    • The list should be paginated to show up to 10 versions per page, and a "show more" button should be shown if more versions are available.
      • For this, you can check how we manage the fetchData and fetchMore methods on the useCommunityLibraryUpdates composable as reference.
    • The version history should only be loaded when the user clicks on the See all versions button.
    • The "See less" should not remove the channel versions from the memory; it should only hide them. i.e., if the user clicks "See all versions" again, the data should not be reloaded.

Notes:

Metadata

Metadata

Assignees

Labels

P0 - criticalPriority: Release blocker or regression

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions