The 'Group results by page" feature doesn't work well with Recent Changes highlighting With this preference, when multiple changes for a page exist, only a summary line is shown, while the relevant changes are collapsed (users click a right-pointing arrow to expand the collapsed changes). Highlighting the summary line isn't logical, since different colors might apply to different changes hidden in the collapsed group. So summary lines are currently left unshaded, which means users with this option don't get the full benefit of highlighting.
Now that 'Group results by page' is becoming an option right on the RC page (T168513), it's even more important to fix the highlighting issue.
When in 'Group results by page' mode, the display will work as follows (for collapsed groups):
- **No highlight:** When the collapsed group contains no highlighted results, the summary line is white.
- **Uniform highlighting:** When the collapsed group's members are uniformly highlighted with a consistent color or color blend (e.g., all are green+blue), 1) the summary line also gets that color or color blend, and 2) one or more colored dots as appropriate appear in the left margin.
- **Mixed highlighting: **When the collapsed group contains members that are inconsistent because they're either a mixture of highlighted and unhighlighted members or highlighted members of different colors, 1) the summary line is light gray and 2) one colored dot for each distinct highlight color represented in the group appears in the left margin (to the maximum of 5 dots, one for each color represented). To be crystal clear, the maximum dot display is 1 each of blue, green, yellow, orange, red.
When a group is expanded:
- Each group member gets the appropriate highlighting and dots, as now.
- The summary line retains the coloring and dots, as above (which will help users understand how the feature works).
|Initial|Highlighted|Highlighted & expanded|
The example illustrates three states for a list of recent changes with three groups representing (in order) the cases of "no highlights", "uniform highlights" and "mixed highlighting". Note that when highlighting is applied, the expand/collapse triangles are placed in a separate column to avoid conflicting visually with the dots.