Refactor TextSemanticsNodeMapper to commonize the text wireframe logic#2401
Merged
Conversation
ambushwork
force-pushed
the
yl/compose/refactor-text-mapper
branch
from
November 19, 2024 13:15
aed9992 to
3a808a2
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #2401 +/- ##
===========================================
- Coverage 69.82% 69.76% -0.06%
===========================================
Files 763 765 +2
Lines 28360 28363 +3
Branches 4763 4757 -6
===========================================
- Hits 19801 19786 -15
- Misses 7246 7266 +20
+ Partials 1313 1311 -2
|
ambushwork
marked this pull request as ready for review
November 19, 2024 13:46
0xnm
approved these changes
Nov 19, 2024
ambushwork
force-pushed
the
yl/compose/refactor-text-mapper
branch
from
November 19, 2024 15:49
3a808a2 to
b369108
Compare
jonathanmos
approved these changes
Nov 19, 2024
| class StringUtilsTest { | ||
| @Test | ||
| fun `M return null W resolveAnnotatedString with null value`() { | ||
| val result = resolveAnnotatedString(null) |
Member
There was a problem hiding this comment.
Note
For tests in this class Given, When, Then comments seem to be missing
xgouchet
approved these changes
Nov 20, 2024
ambushwork
force-pushed
the
yl/compose/refactor-text-mapper
branch
from
November 20, 2024 08:16
b369108 to
53e02fb
Compare
ambushwork
force-pushed
the
yl/compose/refactor-text-mapper
branch
from
November 20, 2024 09:54
53e02fb to
4748894
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
For the other semantics node mapper, we are probably going to reuse the part of the logic of resolving the text in current
TextSemanticsNodeMapper, so in this PR, some functions are moved toAbstractSemanticsNodeMapperorSemanticUtilsso it can be directly used by others.Review checklist (to be filled by reviewers)