IntersectMBO / cc-portal

This repository contains services for the Constitution Committee Portal.
https://constitution.gov.tools/
Apache License 2.0
4 stars 0 forks source link

Version History: A dedicated page for improved navigation and readability #437

Open rogankool opened 3 weeks ago

rogankool commented 3 weeks ago

As a user, I want to access the version history on a dedicated page, so I can view past versions and their comparisons more clearly without multiple pop-ups, ensuring a smoother and more organized experience.

DESCRIPTION (or, dare I say, RATIONALE) Currently, accessing version history from the Interim Constitution page brings up a modal with a list of past versions. Selecting a version opens another pop-up modal to show a comparison between versions. This process can become cluttered and confusing. By creating a dedicated Version History page, users will have a clearer layout with the version list on the left (similar to the current content list layout on the Interim Constitution page) and the version comparison on the right. This approach will improve usability by providing a more structured view of version history and eliminating the need for multiple modals.

ACCEPTANCE CRITERIA

The previous modal-based version history view is removed, and all version history and comparison details are now accessible only via the new Version History page.

WIREFRAME Image

rogankool commented 4 days ago

@bosko-m we need feedback for this:

bosko-m commented 3 days ago

@rogankool In the version history block, each version has its link and compare button. I assume only two versions can be compared at any point. Is that correct? Also, just to clarify again after a discussion, comparison should be made in the similar way as in GitHub for example. Reference for visuals, there is probably a library for this already - https://www.diffchecker.com/

rogankool commented 3 days ago

@bosko-m

rogankool commented 3 days ago

@bosko-m By the way, you didn't answer my question on should we stay with the modal system or have a dedicated page?

bosko-m commented 2 days ago

Lets go with the dedicated page as you have described @rogankool .