QUA-1024: Highlight all duplicate group rows in Unique check Sample Data#1138
QUA-1024: Highlight all duplicate group rows in Unique check Sample Data#1138RafaelOsiro wants to merge 2 commits into
Conversation
Greptile SummaryThis PR corrects the sample data tables in the Unique check examples page so that the visual highlighting matches the platform's actual behavior — every row in a duplicate group is flagged, not only the second occurrence.
Confidence Score: 5/5Documentation-only change with no runtime code affected; safe to merge. All three sample data tables are updated consistently and symmetrically — the same text-negative span pattern already used on the second duplicate row is now applied to the first. The change aligns the visual with the prose descriptions and equivalent SQL snippets that were already correct, so there is no risk of introducing a contradiction in the docs. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["Duplicate group detected\n(e.g. customer_id = 1001)"] --> B["INNER JOIN: find all rows\nmatching the duplicate key"]
B --> C["Row 1 — first occurrence\n highlighted text-negative"]
B --> D["Row N — second occurrence\n highlighted text-negative"]
C & D --> E["Both rows emitted as\nsource anomaly records"]
style C fill:#ffd6d6,stroke:#cc0000
style D fill:#ffd6d6,stroke:#cc0000
style E fill:#fff3cd,stroke:#856404
Reviews (1): Last reviewed commit: "docs(unique): highlight all duplicate gr..." | Re-trigger Greptile |
Replaces the legacy text-negative spans (red text only) on duplicate- group rows in the three Sample Data tables across unique/examples.md with the new .anomalous-cell utility class, which renders each anomalous cell with an orange outline and warning-tinted background. This mirrors the source-records-container.vue treatment in the Qualytics frontend and keeps the Sample Data visual treatment consistent with the new pattern introduced for Expected Values and Entity Resolution. The .anomalous-cell class is also added to docs/stylesheets/extra.css on this branch (the same block is in the Expected Values and Entity Resolution restructure PRs; git auto-deduplicates identical additions at merge time, so no conflicts will surface).
Overview
Paints every row of each duplicate group in the Unique check Sample Data tables, since the platform reports all duplicate-group rows as source records (not just the second occurrence).
Key Changes
customer_id = 1001) now painted alongside row 3 as part of the same duplicate group(5001, 1)) now painted alongside row 3 as part of the same duplicate group(u-77, login)) now painted alongside row 3 as part of the same duplicate groupPages to Test