HTML 보고서 레거시 양식 호환을 보강한다

- TemplateService 공통 CSS에 h4/dl/matrix/comparison/board_report/metrics/roadmap 레거시 블록 호환 스타일을 추가해 raw body 기반 HTML 보고서의 뒤쪽 섹션도 동일한 폰트 크기와 카드 양식을 유지하도록 수정

- roadmap 내부 timeline/owner 배지가 전역 timeline 스타일과 충돌하던 문제를 override로 분리하고 다크 모드·모바일 레이아웃까지 함께 정리

- HtmlSkillLegacyBodyCompatibilityTests를 추가하고 dotnet build 및 HtmlSkillLegacyBodyCompatibilityTests|HtmlSkillConsultingSectionsTests 통과로 검증
This commit is contained in:
2026-04-15 22:47:39 +09:00
parent e2553a10ae
commit 16e136107c
4 changed files with 154 additions and 0 deletions

View File

@@ -1634,3 +1634,11 @@ UI ?遺우쁽????域뱀뮆???귐뗫솯?醫딆춦 ???袁る퓮 ?臾믩씜 ??疫
- 검증:
- `dotnet build src/AxCopilot/AxCopilot.csproj -c Release -v minimal -p:OutputPath=bin\\verify_background_conversation_live_ui\\ -p:IntermediateOutputPath=obj\\verify_background_conversation_live_ui\\` 경고 0 / 오류 0
- `dotnet test src/AxCopilot.Tests/AxCopilot.Tests.csproj -c Release -v minimal --filter "ChatStreamingUiPolicyTests|AppStateServiceTests" -p:OutputPath=bin\\verify_background_conversation_live_ui_tests\\ -p:IntermediateOutputPath=obj\\verify_background_conversation_live_ui_tests\\` 통과 49
업데이트: 2026-04-15 22:45 (KST)
- HTML 보고서 raw body 호환 스타일을 보강했습니다. `src/AxCopilot/Services/Agent/TemplateService.cs``h4`, `dl`, `matrix`, `comparison`, `decision_matrix`, `board_report`, `metrics`, `risks`, `next-steps`, `roadmap` 블록용 CSS를 추가해 자유 본문 HTML로 생성된 뒤쪽 섹션도 앞부분과 같은 폰트 크기/카드 양식을 유지하도록 정리했습니다.
- 기존 전역 `.timeline` 블록 스타일이 `roadmap` 내부 `<span class="timeline">` 배지와 충돌하던 문제를 `.roadmap .phase .timeline` override로 분리했고, `.owner` 배지도 같은 방식으로 정리했습니다. 모바일 1열 전환과 다크 모드 색상도 함께 보강했습니다.
- 회귀 테스트 `src/AxCopilot.Tests/Services/HtmlSkillLegacyBodyCompatibilityTests.cs`를 추가해 legacy body HTML이 호환 CSS를 자동 주입받는지 확인합니다.
- 즉시 확인이 필요했던 산출물 `E:\\docu\\삼성전자_사업분석_보고서_20260415_2140.html`에도 동일 스타일을 직접 주입해 현재 문서부터 뒤쪽 섹션이 무너지지 않도록 보정했습니다.
- 검증:
- `dotnet build src/AxCopilot/AxCopilot.csproj -c Release -v minimal -p:OutputPath=bin\\verify_html_legacy_body_style\\ -p:IntermediateOutputPath=obj\\verify_html_legacy_body_style\\` 경고 0 / 오류 0
- `dotnet test src/AxCopilot.Tests/AxCopilot.Tests.csproj -c Release -v minimal --filter "HtmlSkillLegacyBodyCompatibilityTests|HtmlSkillConsultingSectionsTests" -p:OutputPath=bin\\verify_html_legacy_body_style_tests_relevant\\ -p:IntermediateOutputPath=obj\\verify_html_legacy_body_style_tests_relevant\\` 통과 2