Make the Enabled properties advanced, show in GUI, and change name

Update GUI hash to show enabled property
This commit is contained in:
Emma Broman
2023-04-25 11:29:41 +02:00
parent 297fa5b274
commit 1762bec1c2
10 changed files with 15 additions and 15 deletions

View File

@@ -3,7 +3,7 @@ asset.require("./static_server")
local guiCustomization = asset.require("customization/gui")
-- Select which commit hashes to use for the frontend and backend
local frontendHash = "aaca14dffeb9aed1163c01651e2a6c3c5a01d2ec"
local frontendHash = "7fc3d9550dbdf64740519c7c5d7fc8e5385b7191"
local dataProvider = "data.openspaceproject.com/files/webgui"
local frontend = asset.syncedResource({

View File

@@ -40,7 +40,7 @@
namespace {
constexpr openspace::properties::Property::PropertyInfo EnabledInfo = {
"Enabled",
"Is Enabled",
"Enabled",
"This setting determines whether the browser should be enabled or not",
openspace::properties::Property::Visibility::AdvancedUser
};

View File

@@ -60,9 +60,9 @@ namespace {
constexpr openspace::properties::Property::PropertyInfo EnabledInfo = {
"Enabled",
"Is Enabled",
"Enabled",
"This setting determines whether this object will be visible or not",
openspace::properties::Property::Visibility::NoviceUser
openspace::properties::Property::Visibility::AdvancedUser
};
constexpr openspace::properties::Property::PropertyInfo FileInfo = {

View File

@@ -54,7 +54,7 @@ namespace {
constexpr openspace::properties::Property::PropertyInfo EnabledInfo = {
"Enabled",
"Is Enabled",
"Enabled",
"This setting determines whether this object will be visible or not",
openspace::properties::Property::Visibility::Developer
};

View File

@@ -27,7 +27,7 @@
namespace {
constexpr openspace::properties::Property::PropertyInfo EnabledInfo = {
"Enabled",
"Is Enabled",
"Enabled",
"This setting determines whether this object will be visible or not",
// @VISIBILITY(3.4)
openspace::properties::Property::Visibility::AdvancedUser

View File

@@ -39,7 +39,7 @@ namespace {
constexpr openspace::properties::Property::PropertyInfo EnabledInfo = {
"Enabled",
"Is Enabled",
"Enabled",
"This setting determines whether this server interface is enabled or not",
openspace::properties::Property::Visibility::AdvancedUser
};

View File

@@ -41,11 +41,11 @@ namespace {
constexpr openspace::properties::Property::PropertyInfo EnabledInfo = {
"Enabled",
"Is Enabled",
"Enabled",
"This setting determines whether the labels will be visible or not. They are "
"disabled per default",
// @VISIBILITY(?)
openspace::properties::Property::Visibility::NoviceUser
openspace::properties::Property::Visibility::AdvancedUser
};
constexpr openspace::properties::Property::PropertyInfo FileInfo = {

View File

@@ -36,10 +36,10 @@ namespace {
constexpr openspace::properties::Property::PropertyInfo EnabledInfo = {
"Enabled",
"Is Enabled",
"Enabled",
"If this value is set to 'true' this dashboard item is shown in the dashboard",
// @VISIBILITY(1.75)
openspace::properties::Property::Visibility::NoviceUser
openspace::properties::Property::Visibility::AdvancedUser
};
struct [[codegen::Dictionary(DashboardItem)]] Parameters {

View File

@@ -44,10 +44,10 @@ namespace {
constexpr openspace::properties::Property::PropertyInfo EnabledInfo = {
"Enabled",
"Is Enabled",
"Enabled",
"This setting determines whether this object will be visible or not",
// @VISIBILITY(0.33)
openspace::properties::Property::Visibility::NoviceUser
openspace::properties::Property::Visibility::AdvancedUser
};
constexpr openspace::properties::Property::PropertyInfo RenderableTypeInfo = {

View File

@@ -49,9 +49,9 @@ namespace {
constexpr openspace::properties::Property::PropertyInfo EnabledInfo = {
"Enabled",
"Is Enabled",
"Enabled",
"This setting determines whether this sceen space plane will be visible or not",
openspace::properties::Property::Visibility::NoviceUser
openspace::properties::Property::Visibility::AdvancedUser
};
constexpr openspace::properties::Property::PropertyInfo