Added a feature flag for the plugin system

This commit is contained in:
Thorsten Sommer 2025-03-10 15:44:55 +01:00
parent 5d3836441b
commit 0d25e96bf4
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
4 changed files with 5 additions and 0 deletions

View File

@ -8,4 +8,6 @@ public enum PreviewFeatures
//
PRE_WRITER_MODE_2024,
PRE_RAG_2024,
PRE_PLUGINS_2025,
}

View File

@ -6,6 +6,7 @@ public static class PreviewFeaturesExtensions
{
PreviewFeatures.PRE_WRITER_MODE_2024 => "Writer Mode: Experiments about how to write long texts using AI",
PreviewFeatures.PRE_RAG_2024 => "RAG: Preview of our RAG implementation where you can refer your files or integrate enterprise data within your company",
PreviewFeatures.PRE_PLUGINS_2025 => "Plugins: Preview of our plugin system where you can extend the functionality of the app",
_ => "Unknown preview feature"
};

View File

@ -25,6 +25,7 @@ public static class PreviewVisibilityExtensions
if (visibility >= PreviewVisibility.EXPERIMENTAL)
{
features.Add(PreviewFeatures.PRE_WRITER_MODE_2024);
features.Add(PreviewFeatures.PRE_PLUGINS_2025);
}
return features;

View File

@ -1 +1,2 @@
# v0.9.33, build 208 (2025-03-xx xx:xx UTC)
- Added a feature flag for the plugin system. This flag is disabled by default and can be enabled inside the app settings.