You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Mixed comics and cell roles can silently drop text content because value folding still checks the original roles rather than the retained roles.
No open issues 🎉
1 previously missed issue
In code that hasn't changed since last review
Preserve value folding when filtering cell roles
src/utterances/walk.ts:439
When a comics role shares a node with cell or rowheader, this removes the value-folding announcement, but foldsValue below still checks the original roles. A node with role: ["cell", "bubble"] and text "Hello", extracted with contextualize: ["bubble"], consequently emits only “Speech bubble.” and loses its content. Use keptRoles.some(...) instead of roles.some(...) in the foldsValue condition at line 500, and add regression tests for both cell roles.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Competing wildcard contextualizations can drop each other’s roles, suppressing both requested announcements for nodes with multiple comics roles.
No open issues 🎉
1 previously missed issue
In code that hasn't changed since last review
Prevent wildcard roles from dropping each other's contextualizations
src/utterances/contextualization.ts:37
When a node carries two comics roles, such as role: ["bubble", "sound"], enabling both contextualizations (as under most verbosity) makes each wildcard drop the other. This leaves keptRoles empty, so neither requested announcement is spoken. Define precedence between competing wildcard roles, or exempt them from dropping one another, and add a regression test for this combination.
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
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.
Add handling of comics roles e.g.
panel,bubble, their verbosity and contextualisation, etc.It also fixes the order of
descriptionandchildren.Depends on readium/ts-toolkit#304 for fixtures.