feat(save-attachments): editable filenames, Hebrew status, smoother subfolder load
- DataGrid case picker now shows status via CaseStatusToHebrewConverter (added PendingHearing / PendingDecision mappings) - Attachment row replaces the read-only filename TextBlock with a TwoWay TextBox so users can rename a file before saving (flows through EspoAttachment.Name into the upload + the on-disk path) - SaveAttachmentsViewModel.IsLoadingSubfolders gates the folder ComboBox while EnsureCaseSubfolders / GetCase / ListNetworkStorageFolder run, so users can't pick a stale "(שורש התיק)" before the real list arrives - About tab: ResolveDisplayVersion now reads from the host VSTO assembly (*.OutlookAddin) instead of the UI assembly. The UI csproj is SDK-style with no <Version> so it always reported 1.0.0.0, which leaked into the About line on dev installs - Bump to 1.1.2.0 (csproj + AssemblyInfo) to match the v1.1.2 tag that will trigger the Gitea Actions auto-publish to platform.dev Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,17 @@ namespace MarcusLaw.OutlookAddin.UI.ViewModels
|
||||
[ObservableProperty]
|
||||
private bool isSelected = true;
|
||||
|
||||
public string FileName => Data.Name;
|
||||
public string FileName
|
||||
{
|
||||
get => Data.Name;
|
||||
set
|
||||
{
|
||||
var newName = value ?? string.Empty;
|
||||
if (Data.Name == newName) return;
|
||||
Data.Name = newName;
|
||||
OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
|
||||
public string SizeDisplay { get; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user