From a56621ab14d0f96c9ce53ef68d8ca90844343dcb Mon Sep 17 00:00:00 2001
From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com>
Date: Fri, 19 Jan 2024 23:08:01 +0000
Subject: [PATCH] add json exporting
---
Bloxstrap/Resources/Strings.Designer.cs | 18 ++++++++++++++++++
Bloxstrap/Resources/Strings.resx | 6 ++++++
.../Menu/Pages/FastFlagEditorPage.xaml | 13 +++++++++----
.../Menu/Pages/FastFlagEditorPage.xaml.cs | 7 +++++++
4 files changed, 40 insertions(+), 4 deletions(-)
diff --git a/Bloxstrap/Resources/Strings.Designer.cs b/Bloxstrap/Resources/Strings.Designer.cs
index d1ad1f1..d22addb 100644
--- a/Bloxstrap/Resources/Strings.Designer.cs
+++ b/Bloxstrap/Resources/Strings.Designer.cs
@@ -1812,6 +1812,24 @@ namespace Bloxstrap.Resources {
}
}
+ ///
+ /// Looks up a localized string similar to Export JSON.
+ ///
+ public static string Menu_FastFlagEditor_ExportJson {
+ get {
+ return ResourceManager.GetString("Menu.FastFlagEditor.ExportJson", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Copied JSON to clipboard..
+ ///
+ public static string Menu_FastFlagEditor_JsonCopiedToClipboard {
+ get {
+ return ResourceManager.GetString("Menu.FastFlagEditor.JsonCopiedToClipboard", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Search.
///
diff --git a/Bloxstrap/Resources/Strings.resx b/Bloxstrap/Resources/Strings.resx
index a8f5b58..25d9456 100644
--- a/Bloxstrap/Resources/Strings.resx
+++ b/Bloxstrap/Resources/Strings.resx
@@ -707,6 +707,12 @@ Would you like to upgrade your currently installed version?
Manage your own FastFlags. Double click a column to edit.
+
+ Export JSON
+
+
+ Copied JSON to clipboard.
+
Search
diff --git a/Bloxstrap/UI/Elements/Menu/Pages/FastFlagEditorPage.xaml b/Bloxstrap/UI/Elements/Menu/Pages/FastFlagEditorPage.xaml
index d13b595..f896109 100644
--- a/Bloxstrap/UI/Elements/Menu/Pages/FastFlagEditorPage.xaml
+++ b/Bloxstrap/UI/Elements/Menu/Pages/FastFlagEditorPage.xaml
@@ -15,12 +15,13 @@
+
-
+
@@ -35,12 +36,16 @@
-
-
+
+
+
+
-
+
+
+