Always save data to internal directory
This commit is contained in:
@@ -7,8 +7,10 @@
|
|||||||
|
|
||||||
-always save report data (file locations, title, etc.) to internal dir (might already be done?)
|
-always save report data (file locations, title, etc.) to internal dir (might already be done?)
|
||||||
-add dropdown to Add Items button to have add items from folder and remove choose working folder option (data always saved internally)
|
-add dropdown to Add Items button to have add items from folder and remove choose working folder option (data always saved internally)
|
||||||
|
-no more option to save data internally -> ALWAYS save report_data.json internally
|
||||||
-update project title -> should update recently used data
|
-update project title -> should update recently used data
|
||||||
-this sort of works, something is wrong with the upgrade process where the UUID is not brought over properly; need to test and fix (maybe fixed already and my dataset is wrong?)
|
-this sort of works, something is wrong with the upgrade process where the UUID is not brought over properly; need to test and fix (maybe fixed already and my dataset is wrong?)
|
||||||
|
-make backup of last generated PDF
|
||||||
-iOS-specific (MAUI essentials?)
|
-iOS-specific (MAUI essentials?)
|
||||||
-Take picture
|
-Take picture
|
||||||
-Add pic from gallery
|
-Add pic from gallery
|
||||||
|
|||||||
@@ -217,6 +217,7 @@ class Settings : ChangeNotifier
|
|||||||
}
|
}
|
||||||
settings.AllReportInfo = list.OrderBy(x => x.Title).ToList();
|
settings.AllReportInfo = list.OrderBy(x => x.Title).ToList();
|
||||||
settings.WorkingFolderToInternalFolderName = []; // clear this list; it is no longer going to be used
|
settings.WorkingFolderToInternalFolderName = []; // clear this list; it is no longer going to be used
|
||||||
|
settings.SaveReportJsonDataInInternalDir = true; // this is now always true
|
||||||
settings.SettingsVersion = 2;
|
settings.SettingsVersion = 2;
|
||||||
settings.SaveSettingsNotAsync(); // saves all data; UUIDs should be in sync if user has toggled settings
|
settings.SaveSettingsNotAsync(); // saves all data; UUIDs should be in sync if user has toggled settings
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -115,12 +115,12 @@ class SettingsViewModel: ChangeNotifier
|
|||||||
|
|
||||||
public bool SaveReportJsonDataInInternalDir
|
public bool SaveReportJsonDataInInternalDir
|
||||||
{
|
{
|
||||||
get => _settings.SaveReportJsonDataInInternalDir;
|
get => true; // _settings.SaveReportJsonDataInInternalDir;
|
||||||
set
|
//set
|
||||||
{
|
//{
|
||||||
_settings.SaveReportJsonDataInInternalDir = value;
|
// _settings.SaveReportJsonDataInInternalDir = value;
|
||||||
NotifyPropertyChanged();
|
// NotifyPropertyChanged();
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<DateDisplayFormat> DateFormats
|
public List<DateDisplayFormat> DateFormats
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</ComboBox.ItemTemplate>
|
</ComboBox.ItemTemplate>
|
||||||
</ComboBox>
|
</ComboBox>
|
||||||
<CheckBox IsChecked="{Binding SaveReportJsonDataInInternalDir}">Save report data (names, notes, etc.) in MayShow settings directory (saves in working directory by default)</CheckBox>
|
<!-- <CheckBox IsChecked="{Binding SaveReportJsonDataInInternalDir}">Save report data (names, notes, etc.) in MayShow settings directory (saves in working directory by default)</CheckBox> -->
|
||||||
<Button Command="{Binding OpenSettingsDir}">
|
<Button Command="{Binding OpenSettingsDir}">
|
||||||
<TextBlock>
|
<TextBlock>
|
||||||
<Run Text=""
|
<Run Text=""
|
||||||
|
|||||||
Reference in New Issue
Block a user