Skip to content

Add design and investigation docs for Issue #58 (Excel template support) and update task tracking - #59

Merged
ssaattww merged 31 commits into
masterfrom
codex/create-design-document-for-approval
Apr 14, 2026
Merged

Add design and investigation docs for Issue #58 (Excel template support) and update task tracking#59
ssaattww merged 31 commits into
masterfrom
codex/create-design-document-for-approval

Conversation

@ssaattww

@ssaattww ssaattww commented Apr 7, 2026

Copy link
Copy Markdown
Owner

Motivation

  • Capture and formalize the design for Issue Excel形式のテンプレート対応 #58 to enable Excel -> XmlTemplate -> DSL debugging path and a Excel -> DSL production path before implementation.
  • Propose a staged, non-breaking rollout with Phase A (debug path) and Phase B (production/direct DSL) and select sheet-based component definition (A案) as the initial approach.
  • Record investigation evidence and surface the design for approval so implementation can proceed under TDD after sign-off.

Description

  • Add Design/Issue58/Issue58_DetailDesign.md containing the detailed design, phased rollout, architecture diagram, new components (ExcelTemplateExtractor, XmlTemplateSerializer, DslEmitter), DSL mapping rules (sheet-based __component_<Name>), failure policy, and test strategy.
  • Add investigation report reports/issue58-investigation-2026-04-07.md that documents how the issue body was obtained (including the rg grep command and direct GitHub Issue URL lookup) and summarizes the issue requirements.
  • Update tasks/feedback-points.md to add FP110 and FP111 and bump Last Updated to 2026-04-07, and update tasks/phases-status.md and tasks/tasks-status.md with new entries noting the investigation and creation of the draft design awaiting approval.
  • All changes are documentation and tracking updates only and do not modify runtime code or public APIs.

Testing

  • No automated tests were executed because this change only adds documentation and task-tracking updates and does not alter source code or test fixtures.

Codex Task

ssaattww and others added 15 commits April 8, 2026 08:31
…y and functionality

- Added new SVG assets for target cell values and style overflow modes to enhance visual representation of Excel templates.
- Updated design documentation to reflect changes in handling optional destination styles and column overflow behavior.
- Included detailed reports addressing user feedback on template structure, style options, and SVG formatting.
- Enhanced clarity on the behavior of group blocks and their interaction with overflow scenarios.
- Restored and refined SVG formats to align with actual design rules and user expectations.
@ssaattww ssaattww linked an issue Apr 12, 2026 that may be closed by this pull request
@ssaattww
ssaattww marked this pull request as ready for review April 14, 2026 07:21
@ssaattww
ssaattww merged commit b6f6df1 into master Apr 14, 2026
1 check passed
@ssaattww
ssaattww deleted the codex/create-design-document-for-approval branch April 14, 2026 07:22

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 554ae7544c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +93 to +95
cell.Reference,
cell.Row,
cell.Column,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Rebase component cell coordinates to range origin

Component items are emitted with the source sheet's absolute row/column values even after filtering to the resolved component range. If a component range starts away from A1 (for example C5:D8), the first component cell is serialized as r="5" c="3", so <use r="1" c="1"> places content at the wrong offset instead of anchoring at (1,1) inside the component grid. The output item coordinates should be normalized relative to the component range's top-left cell before serialization.

Useful? React with 👍 / 👎.

Comment on lines +1311 to +1314
if (updatedHeads.Add(existingHead))
{
mergedCells[existingIndex] = AppendStyleToCell(existingCell, seedCell.StylePlan);
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Merge all seed styles for merged cells

When a seed style cell falls inside an existing merged layout cell, this path applies only the first seed style per merged-cell head and skips the rest. That drops side-specific border contributions (especially from mode="outer" expansion), so merged cells can lose bottom/right edges when a <use> style is applied across multiple seed coordinates. The merge logic needs to accumulate style overlays from every covered seed coordinate, not just the first one.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Excel形式のテンプレート対応

1 participant