You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a comment from a hidden Legislation::Proposal is shown in the moderation comments section the generated link is wrong, it points to an unexisting proposal instead of a legislation proposal.
Why is this Needed?
Avoid user confusion and generating unexisting URLs.
Description
We should avoid generating the commentable link when it's hidden.
Current Behavior
The application shows a link with an unexisting URL when the commentable is hidden.
Expected Behavior
The application does NOT show the link when the commentable is hidden, in place of the link, it should show the same as the administration comments section.
Steps to reproduce
Hide a legislation proposal with comments
Go to the moderation comments section and verify the comments from the legislation proposal have badly generated links.
Definition of Done
The application does NOT show the link when the commentable is hidden, in place of the link, it should show the same as the administration comments section.
The text was updated successfully, but these errors were encountered:
Senen
changed the title
Moderation comments: Error when rendering links to hidden commentable
Moderation comments: Error when rendering a link to hidden commentable
Sep 21, 2023
User Story
When a comment from a hidden Legislation::Proposal is shown in the moderation comments section the generated link is wrong, it points to an unexisting proposal instead of a legislation proposal.
Why is this Needed?
Avoid user confusion and generating unexisting URLs.
Description
We should avoid generating the commentable link when it's hidden.
Current Behavior
The application shows a link with an unexisting URL when the commentable is hidden.
Expected Behavior
The application does NOT show the link when the commentable is hidden, in place of the link, it should show the same as the administration comments section.
Steps to reproduce
Definition of Done
The application does NOT show the link when the commentable is hidden, in place of the link, it should show the same as the administration comments section.
The text was updated successfully, but these errors were encountered: