Conversation
- Load original grid.xml files instead of generating from scratch - Preserve all original properties (ScanBlockAudioDescriptions, WordList, etc.) - Preserve RowDefinition Height attributes - Preserve complete cell structure (Content, Commands, CaptionAndImage, Style) - Preserve cell attributes (@_X, @_Y, @_ColumnSpan, @_ScanBlock) - Only update modified content (button labels, messages, etc.) Fixes corrupted gridset files that were missing critical properties and failing to load in Grid 3. Co-Authored-By: Claude (glm-4.7) <noreply@anthropic.com>
- Convert Unix line endings to Windows (\r\n) for Grid 3 compatibility - Add space before closing slash in self-closing tags (<tag /> vs <tag/>) - These formatting differences were causing Grid 3 to fail parsing modified pages - Pages now display correctly with proper button content and structure Fixes issue where modified pages appeared as blank 6x4 grids. Co-Authored-By: Claude (glm-4.7) <noreply@anthropic.com>
When updating cells with new content, remove the xsi:nil="true" attribute from CaptionAndImage elements. This attribute tells Grid 3 that the cell is intentionally empty and should be displayed as blank, which was causing all modified cells to appear blank even though they had content. Fixes issue where pages with modified buttons displayed as blank grids. Co-Authored-By: Claude (glm-4.7) <noreply@anthropic.com>
When modifying cells that were originally AutoContent/WordList cells, remove the ContentType and ContentSubType attributes so Grid 3 will display the static Caption instead of trying to populate the cell dynamically from a WordList. This fixes the issue where modified cells appeared blank because Grid 3 was seeing ContentType="AutoContent" and ignoring the static Caption. Co-Authored-By: Claude (glm-4.7) <noreply@anthropic.com>
For WordList AutoContent cells: - Remove xsi:nil attribute from CaptionAndImage when adding to WordList - Keep ContentType and ContentSubType as AutoContent/WordList - Add new words to the page's WordList instead of converting to static cells This allows Grid 3 to properly display WordList content instead of showing blank cells. Fixes issue where modified pages appeared as blank grids in Grid 3. Co-Authored-By: Claude (glm-4.7) <noreply@anthropic.com>
- Properly format WordList items with nested <Text><s><r>text</r></s></Text> structure - Add Image and PartOfSpeech elements to match Grid 3 format - Preserve xsi:nil attribute in WordList cells (don't remove it) - Keep AutoContent/WordList ContentType intact This allows Grid 3 to properly display WordList content in AutoContent cells. Co-Authored-By: Claude (glm-4.7) <noreply@anthropic.com>
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.
No description provided.