앞 커밋에서 남겨 둔 것 — 타이틀바는 통일했지만 내용 여백은 창마다 달랐다. 실측하니 12(여섯 창) · 14(데이터소스 배선) · 16(서식 등록)으로 갈려 있었다. 설명 문장이 창 가장자리에 바짝 붙는 창이 여럿이었고, 타이틀바가 생기면서 그 대비로 더 드러났다. 16 으로 맞춘다. 12 는 36px 타이틀바 아래에서 답답하고, 기준으로 삼은 MessageDialogView 는 본문에 20,18,20,14 를 쓴다 — 그 사이에서 큰 창(1180×760 쿼리 편집기)의 내용을 밀어내지 않는 값이 16 이다. 잘림 검사(dialog-shots 69장)가 전건 통과하는 것으로 확인했다. ## 거짓이 된 주석 태그 선택 창에 이렇게 적혀 있었다 — "창 껍데기는 OS 크롬을 유지한다. … 이 앱의 대화상자 10종이 전부 OS 크롬이라 이 창만 바꾸면 크롬 규약이 두 벌이 된다." 앞 커밋에서 열한 창을 전부 자체 크롬으로 옮겼으므로 그 전제가 무너졌다. 그대로 두면 다음 사람이 "이 창은 일부러 OS 크롬"이라고 읽고 되돌린다. 무엇이 왜 바뀌었는지까지 적어 둔다 — 주석이 틀렸다는 사실 자체가 정보다. ## 판정 - 단위 시험 388 · edit-smoke 377건 전건 통과 - --dialog-shots 69장 전건 통과(잘림 없음, 다크·라이트 눈으로 확인) - --modal-check · --maxrect · --scale-budget 전건 통과 - --db-render P062 md5 8d683835f5d81e7bb41c79071d6bf954 불변 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
49 lines
3.1 KiB
XML
49 lines
3.1 KiB
XML
<Window x:Class="SheetMe.Designer.Views.SheetHistoryDialogView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
Title="서식 수정이력" Width="560" Height="520" MinWidth="480" MinHeight="380"
|
|
WindowStartupLocation="CenterOwner" ShowInTaskbar="False"
|
|
Style="{StaticResource ThemedDialogWindow}">
|
|
<DockPanel Margin="16">
|
|
<TextBlock x:Name="HeaderText" DockPanel.Dock="Top" Foreground="{DynamicResource B.Muted}"
|
|
TextWrapping="Wrap" Margin="0,0,0,8"/>
|
|
|
|
<StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,10,0,0">
|
|
<TextBlock x:Name="CountText" VerticalAlignment="Center" Margin="0,0,12,0" Foreground="{DynamicResource B.Muted}"/>
|
|
<Button Content="열람(새 탭)" Padding="16,4" Click="OnOpen" IsDefault="True" Style="{StaticResource Primary}"
|
|
ToolTip="선택한 버전을 새 탭으로 엽니다 — 열람 후 'DB에 저장'하면 그 내용이 새 활성 버전이 됩니다(복원)"/>
|
|
<Button Content="닫기" Padding="16,4" Margin="8,0,0,0" IsCancel="True"/>
|
|
</StackPanel>
|
|
|
|
<ListView x:Name="VersionList" MouseDoubleClick="OnOpen"
|
|
VirtualizingPanel.IsVirtualizing="True">
|
|
<ListView.View>
|
|
<GridView>
|
|
<GridViewColumn Header="버전(SdgKey)" Width="110" DisplayMemberBinding="{Binding SdgKey}"/>
|
|
<GridViewColumn Header="수정일시" Width="150" DisplayMemberBinding="{Binding UpdDtmText}"/>
|
|
<GridViewColumn Header="수정자" Width="110" DisplayMemberBinding="{Binding UpdUid}"/>
|
|
<GridViewColumn Header="상태" Width="80">
|
|
<GridViewColumn.CellTemplate>
|
|
<DataTemplate>
|
|
<TextBlock Text="{Binding StatusText}">
|
|
<TextBlock.Style>
|
|
<Style TargetType="TextBlock">
|
|
<Setter Property="Foreground" Value="{DynamicResource B.Muted}"/>
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding StatusText}" Value="활성">
|
|
<Setter Property="Foreground" Value="{DynamicResource B.Success}"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</TextBlock.Style>
|
|
</TextBlock>
|
|
</DataTemplate>
|
|
</GridViewColumn.CellTemplate>
|
|
</GridViewColumn>
|
|
</GridView>
|
|
</ListView.View>
|
|
</ListView>
|
|
</DockPanel>
|
|
</Window>
|