입력창 바로 위 시간·토큰 표시 배치 고정
원인: StreamMetricsLabel이 PulseDotBar와 같은 행을 공유해 라이브 진행 문구가 여러 줄로 커질 때 시간·토큰 표시도 위로 떠 보였습니다. 수정: StreamMetricsLabel을 진행 상태 행에서 분리해 입력 영역 바로 앞에 독립 배치했습니다. 이제 라이브 진행 텍스트 높이와 무관하게 시간·토큰 표시가 채팅 입력창 바로 위 오른쪽에 붙어 있습니다. 검증: dotnet build src/AxCopilot/AxCopilot.csproj -c Release -v minimal -p:OutputPath=bin\verify_stream_metrics_anchor\ -p:IntermediateOutputPath=obj\verify_stream_metrics_anchor\ (경고 0 / 오류 0)
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
# AX Commander
|
||||
|
||||
- 업데이트: 2026-04-15 20:16 (KST)
|
||||
- AX Agent 입력창 위 시간·토큰 표시(`StreamMetricsLabel`)를 라이브 진행 문구(`PulseDotBar`)와 같은 행에서 분리했습니다. 이제 왼쪽 진행 안내가 여러 줄로 커져도 시간·토큰은 입력창 바로 위 오른쪽에 고정됩니다.
|
||||
|
||||
- 업데이트: 2026-04-15 20:12 (KST)
|
||||
- AX Agent 하단 컨텍스트 사용량 링이 트랙보다 오른쪽으로 밀려 보이던 정렬 문제를 수정했습니다. `src/AxCopilot/Views/ChatWindow.xaml`은 진행 arc를 트랙과 같은 `22x22` 기준으로 가운데 정렬하고, `src/AxCopilot/Views/ChatWindow.ContextUsagePresentation.cs`는 실제 트랙 지름 기준으로 중심점과 반지름을 계산해 그리도록 바뀌었습니다.
|
||||
- `src/AxCopilot/Views/ChatWindow.xaml.cs`에 링 중심/반지름 계산 helper를 추가했고, `src/AxCopilot.Tests/Views/ChatWindowSlashPolicyTests.cs`에 지름·스트로크 두께별 계산 회귀 테스트를 넣었습니다.
|
||||
|
||||
@@ -1539,3 +1539,7 @@ UI ?遺우쁽????域뱀뮆???귐뗫솯?醫딆춦 ???袁る퓮 ?臾믩씜 ??疫
|
||||
- `src/AxCopilot.Tests/Views/ChatWindowSlashPolicyTests.cs`에 `CalculateCircularRingMetrics_ShouldAlignCenterlineToTrack`를 추가해 지름과 스트로크 두께에 따른 계산 회귀를 고정했습니다.
|
||||
- 검증: `dotnet build src/AxCopilot/AxCopilot.csproj -c Release -v minimal -p:OutputPath=bin\\verify_token_ring_alignment\\ -p:IntermediateOutputPath=obj\\verify_token_ring_alignment\\` 경고 0 / 오류 0
|
||||
- 검증: `dotnet test src/AxCopilot.Tests/AxCopilot.Tests.csproj -c Release -v minimal --filter "ChatWindowSlashPolicyTests" -p:OutputPath=bin\\verify_token_ring_alignment_tests\\ -p:IntermediateOutputPath=obj\\verify_token_ring_alignment_tests\\` 통과 53
|
||||
업데이트: 2026-04-15 20:16 (KST)
|
||||
- AX Agent 입력창 위 시간·토큰 표시가 라이브 진행 텍스트 높이에 끌려 올라가던 배치를 수정했습니다. 원인은 `src/AxCopilot/Views/ChatWindow.xaml`에서 `StreamMetricsLabel`이 `PulseDotBar`와 같은 Grid를 공유하고 있어, 왼쪽 진행 상태가 여러 줄로 커질 때 라벨도 같은 행 중앙으로 끌려가던 점이었습니다.
|
||||
- `StreamMetricsLabel`를 진행 상태 행에서 분리해 입력 영역 바로 앞에 독립 배치했습니다. 이제 `PulseDotBar`의 높이가 바뀌어도 시간·토큰 라벨은 입력창 바로 위 오른쪽에 붙어 있게 됩니다.
|
||||
- 검증: `dotnet build src/AxCopilot/AxCopilot.csproj -c Release -v minimal -p:OutputPath=bin\\verify_stream_metrics_anchor\\ -p:IntermediateOutputPath=obj\\verify_stream_metrics_anchor\\` 경고 0 / 오류 0
|
||||
|
||||
@@ -2157,18 +2157,8 @@
|
||||
VerticalAlignment="Bottom">
|
||||
<StackPanel HorizontalAlignment="Stretch">
|
||||
|
||||
<!-- ── 스트리밍 상태 행: 좌측 펄스 닷 + 우측 경과 시간/토큰 ── -->
|
||||
<Grid Margin="0,0,0,4">
|
||||
<TextBlock x:Name="StreamMetricsLabel"
|
||||
Visibility="Collapsed"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Center"
|
||||
Margin="0,0,4,0"
|
||||
FontSize="11"
|
||||
Foreground="{DynamicResource SecondaryText}"
|
||||
Opacity="0.7"
|
||||
Text="0:00 · ↓ 0 tokens"/>
|
||||
|
||||
<!-- ── 스트리밍 상태 행: 좌측 펄스 닷 ── -->
|
||||
<Grid Margin="0,0,0,6">
|
||||
<!-- ── 펄스 닷 애니메이션 (AI 처리 중) ── -->
|
||||
<Border x:Name="PulseDotBar"
|
||||
Visibility="Collapsed"
|
||||
@@ -2483,6 +2473,15 @@
|
||||
Margin="0,6,0,0"/>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
<TextBlock x:Name="StreamMetricsLabel"
|
||||
Visibility="Collapsed"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Center"
|
||||
Margin="0,0,6,4"
|
||||
FontSize="11"
|
||||
Foreground="{DynamicResource SecondaryText}"
|
||||
Opacity="0.7"
|
||||
Text="0:00 · ↓ 0 tokens"/>
|
||||
<!-- 무지개 글로우 + 입력 영역 (겹침 레이아웃) -->
|
||||
<Grid>
|
||||
<!-- 무지개 글로우 외부 테두리 (메시지 전송 시 애니메이션) -->
|
||||
|
||||
Reference in New Issue
Block a user