Repository navigation
Lt 22634 bulk edit preview - #1255
Conversation
Add a new Views WrapGroup box class that uses a binary wrap algorithm: * If all items fit on one line in the column, don't wrap. * Otherwise, every item gets its own line in the column (including the arrow divider between Current and New values). This ensures that the arrow between Current and New values in bulk edit preview visually divides all the Current values from the New values. Any Views display requiring this kind of binary wrap can also use this box in the future. Comma space separators are used between the items when displayed on a single line. These separators are not selectable in the FLEx display, but they will copy over with text if the text is copy/pasted. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Bulk edit preview used to: * Draw Current Value from the column's normal display layout (so all names match what is displayed outside of preview). * Use displayNameProperty for the New Value, which would match Current Value most of the time, but not when ShortName is different from Name or for Etym.-Source Language, where the displayNameProperty is AbbrAndName, and the normal display is only Name. Now, both Current Value and New Value draw the item names from the column's normal display layout. They use displayNameProperty only as a fallback. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Comment hygiene (advisory)2 comment-style violation(s) in the lines this branch adds since
Fix them per |
NUnit Tests 1 files ± 0 1 suites ±0 11m 13s ⏱️ -15s Results for commit e2a0caf. ± Comparison against base commit 8ec12b9. This pull request removes 43 and adds 53 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1255 +/- ##
==========================================
- Coverage 40.86% 40.41% -0.45%
==========================================
Files 1573 1597 +24
Lines 357290 360490 +3200
Branches 41840 42176 +336
==========================================
- Hits 145992 145687 -305
- Misses 181991 185113 +3122
- Partials 29307 29690 +383
🚀 New features to boost your workflow:
|
In a right-to-left wrap group on one line, the items are drawn in reverse order, but NavLeft and NavRight still stepped through them left to right. Screen readers moving left or right between items in a right-to-left bulk edit preview therefore went the wrong way. NavLeft and NavRight now swap direction when the group is right-to-left, using the same setting as the one-line layout, as VwParagraphBox already does. Stacked groups still return no box for left or right. Add native tests for left/right navigation in both directions and for stacked groups. Also, fix FindListItemNode_FollowsTheRowPathForComplexFormTypes. It was comparing the wrong property of the row to the complexRef.hvo. Compare RootObjectHvo instead of KeyObject. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
thejambi
left a comment
There was a problem hiding this comment.
@thejambi reviewed 18 files and all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on aror92).
LT-22634 Fix Bulk Edit Preview Wrapping
Add a new Views WrapGroup box class that uses a binary wrap algorithm:
(including the arrow divider between Current and New values).
This ensures that the arrow between Current and New values
in bulk edit preview visually divides all the Current values
from the New values.
Any Views display requiring this kind of binary wrap can also
use this box in the future.
Comma space separators are used between the items when displayed
on a single line. These separators are not selectable in the FLEx
display, but they will copy over with text if the text is copy/pasted.
Fix Preview items to match normal non-preview column
Bulk edit preview used to:
Draw Current Value from the column's normal display layout (so all names
match what is displayed outside of preview).
Use displayNameProperty for the New Value, which would match
Current Value most of the time, but not when ShortName is
different from Name or for Etym.-Source Language, where
the displayNameProperty is AbbrAndName, and the normal display
is only Name.
Now, both Current Value and New Value draw the item names from the
column's normal display layout. They use displayNameProperty only
as a fallback.
This change is