Conversation
* Fix width of "Number even a single sense" message to prevent the final e being cut off. * Fix title of the configuration to say "Reversal Number Configuration" instead of "Sense Number Configuration" when configuring referenced senses in the reversal. Change-Id: I6ec67b5bd1809e658dad6d745898b3ba5cb338c9
Change-Id: I7c65902ca0c77896f83b0703440fdc9ba8635cbe
Change-Id: Ia1d9bf18a600a7289652fe8858eef14bbe3febae
The number even a single sense box was positioned too low, so was cutting off the bottom border of the box it is inside. Moved the box up a few ticks, and it displays properly now. Change-Id: I82b6d225c47c4a8aa15c40b82a1c152a984b2863
|
I feel lilke we already have an IsReversal method or property somewhere that should be usable here. We shouldn't need to make GetTopLevelNode public and do logic here. If you can't find an IsReversal method that we can use here then we should make one. I would prefer to isolate any string comparison in the config into a clear method that shows why we care about it. |
Use existing methods and node lists to check for isReversal and revert GetTopLevelNode to private. Change-Id: I953ee0ac233c82ac4a6d89f41b2b437b34d193e6
aror92
left a comment
There was a problem hiding this comment.
@aror92 made 1 comment.
Reviewable status: 0 of 11 files reviewed, all discussions resolved (waiting on jasonleenaylor).
Src/xWorks/DictionaryDetailsController.cs line 78 at r1 (raw file):
Previously, jasonleenaylor (Jason Naylor) wrote…
I feel lilke we already have an IsReversal method or property somewhere that should be usable here. We shouldn't need to make GetTopLevelNode public and do logic here. If you can't find an IsReversal method that we can use here then we should make one. I would prefer to isolate any string comparison in the config into a clear method that shows why we care about it.
This makes sense. You're right, there is a model.IsReversal property. Updated to use that instead. I was using GetTopLevelNode in ConfiguredLcmGenerator as well, but it's not needed there because we already have a node list and can access the root node directly. Removed that usage too, and reverted GetTopLevelNode back to private.
Change-Id: Ic034d616f0e485299d6788720735fe1b22784702
jasonleenaylor
left a comment
There was a problem hiding this comment.
@jasonleenaylor reviewed 11 files and all commit messages, and made 1 comment.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on aror92).
the final e being cut off.
box border being cut off.
Configuration" instead of "Sense Number Configuration"
when configuring referenced senses in the reversal.
This change is