mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 11:39:49 -06:00
Make the Enabled properties advanced, show in GUI, and change name
Update GUI hash to show enabled property
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -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
|
||||
};
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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
|
||||
};
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
};
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user