Prevent CPS reviews from showing up on entities that donโ€™t have changes in the site version

Created on 30 August 2023, 10 months ago

Problem/Motivation

The CPS Review form was appearing on entities that were not a part of the current changeset.

Credit goes to Jamie Hollern.

Proposed resolution

Updated the cps_review module to check if an entity was a part of the current changeset before displaying the review form.

Testing

Create a new changeset and create a new draft of an entity.
Go to the entity view page and note that the CPS Review form is placed at the bottom.
Go to a different entity view page that is not part of the current changeset and note that the CPS Review form does not appear.

Remaining tasks

Review.

๐Ÿ› Bug report
Status

Needs review

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡นItaly marco

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024