Commits
Marek Vsechovsky committed 45b947b71b2
Session 195, Step 5: Show version tab labels in the comparison text boxes - AIM-3705 Show version tab labels in the comparison text boxes - AIM-3706 Show the newer version in the right comparison text box - AIM-3707 Align matching paragraphs between the comparison text boxes Outcome: Improved the policy version comparison overlay (`AIM-3688`) with three changes, all verified in the browser on `/privacy`: - Issue -4354: both comparison text boxes now show a small dimmed version tab in their touching inner top corners (`v1, 6 Mar 2026` at the left box's top-right, `v2, 20 Nov 2026` at the right box's top-left). - Issue -4355: the panes are now chronological — the right box always shows the newer version and the left box the earlier one, the "Compare with" dropdown offers newer and earlier versions alike (it only offered older ones before), and the change marks read earlier → newer (`policy-removed` in the left, `policy-added` in the right). - Issue -4356: the comparison renders diffArrays/LCS-aligned rows with `policy-diff-gap` filler rows and equalised row heights (like the `.aim-diff-overlay` in Settings), so matching paragraphs always start at the same vertical offset from the top of the file. Validated both comparison directions on `/privacy` (v2 vs v1 and v1 vs v2) plus the gap-row branches with synthetic version contents; JS syntax checked, SCSS compiled and the app rebuilt and restarted.