This issue has been created
There are 3 updates.
 
 
Release Notes Application / cid:jira-generated-image-avatar-b655128b-65d9-4ed3-8536-94c5fe52ff51 RN-107 Open

The flow displayer misaligns a change's media and displays none when the change has no screenshot

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-b6b0c561-e4aa-455e-8d60-65adea963a62 Vincent Massol created this issue on 03/Sep/26 20:48
 
Summary: The flow displayer misaligns a change's media and displays none when the change has no screenshot
Issue Type: cid:jira-generated-image-avatar-b655128b-65d9-4ed3-8536-94c5fe52ff51 Bug
Affects Versions: 2.0
Assignee: Unassigned
Components: Application
Created: 03/Sep/26 20:48
Priority: cid:jira-generated-image-static-major-e294f53c-f48b-4303-b8e0-d8a935f84d80 Major
Reporter: Vincent Massol
Description:

The flow change displayer lays each change out as a two-column row: the change's media on the left, its title and summary on the right. It is reachable from the Report page with displayer=flow, and from the displayChanges macro. Two things are wrong with that media column.

The media is not top-aligned with the text

The screenshot on the left is not aligned with the top of the title and summary on the right, so the two halves of a change do not read as belonging to each other, and a screenshot can end up sitting beside the text of the following change. On the report page above, the change titled Templates from JARs shows an image next to it that is not aligned with it — and that is not even its own, since that change has no screenshot at all.

The media of a change must be top-aligned with that change's title, and must never be able to be read as illustrating the change next to it.

A change with no screenshot gets no media at all

flow calls #displayScreenshots($changeObject, true, false), so a change that has no screenshot gets an empty left column: the row's text sits beside a blank half-width gap. On the report page above, 4 of the 15 changes are in that case (Templates from JARs, Velocity and ScriptContext synchronization, Author Executor, Filter Stream annotations).

The grid displayer already does the right thing here — it passes $alwaysDisplayScreenshots as true, which displays the change's screenshots when it has any, its video when it has no screenshot, and the no_image_thumb.png placeholder when it has neither. flow should use that same screenshot/video algorithm.

 
 

3 updates

 
cid:jira-generated-image-avatar-b6b0c561-e4aa-455e-8d60-65adea963a62 Changes by Vincent Massol on 03/Sep/26 20:48
 
Fix Version: 2.7
Description: The {{flow}} change displayer lays each change out as a two \ -column row: the change's media on the left, its title and summary on the right. It is reachable from the {{displayChanges}} macro, and from the Report page with {{displayer=flow}} .

To reproduce
, and from on a wiki with the demo XAR installed, open {{ displayChanges ReleaseNotes.Code.Report }} macro with {{?action=report&displayer=flow}} and every filter left empty . Two things are wrong with that the media column.

h2. The media is not top
\ -aligned with the text

The screenshot on the left is not aligned with the top of the title and summary on the right, so the two halves of a change do not read as belonging to each other, and a screenshot can end up sitting beside the text of the _following_ change. On the In that report page above , the change titled {{Templates from JARs}} shows an image next to it that is not aligned with it \- and that is not even its own, since that change has no screenshot at all.

The media of a change must be top
\ -aligned with that change's title, and must never be able to be read as illustrating the change next to it.

h2. A change with no screenshot gets no media at all

{{flow}} calls {{#displayScreenshots \ ($changeObject, true, false \ )}}, so a change that has no screenshot gets an empty left column: the row's text sits beside a blank half \ -width gap. On the In that report page above , 4 of the 15 changes are in that case \ ({{Templates from JARs}}, {{Velocity and ScriptContext synchronization}}, {{Author Executor}}, {{Filter Stream annotations}} \ ).

The {{grid}} displayer already does the right thing here
: it passes {{$alwaysDisplayScreenshots}} as {{true}}, which displays the change's screenshots when it has any, its video when it has no screenshot, and the {{ no\_image\_thumb no_image_thumb .png}} placeholder when it has neither. {{flow}} should use that same screenshot/video algorithm.

Assignee: Vincent Massol