Skip to content

Commit

Permalink
chore(server): advanced option to scene settings
Browse files Browse the repository at this point in the history
  • Loading branch information
rot1024 committed Feb 8, 2023
1 parent 6347998 commit 707601a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions server/pkg/builtin/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ func TestGetPropertySchemaByVisualizer(t *testing.T) {
func TestPlugin(t *testing.T) {
assert.NotNil(t, Plugin())
}

func TestGetPlugin(t *testing.T) {
tests := []struct {
name string
Expand Down
8 changes: 8 additions & 0 deletions server/pkg/builtin/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,14 @@ extensions:
type: string
title: Tracking ID
description: Paste your Google Analytics tracking ID here. This will be embedded in your published project.
- id: experimental
title: Advanced
fields:
- id: experimental_core
type: bool
title: Enable advanced features
defaultValue: false
description: Enable advanced features for this scene. Page reload is required to apply this setting.
linkable:
url:
schemaGroupId: indicator
Expand Down
8 changes: 7 additions & 1 deletion server/pkg/builtin/manifest_ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,13 @@ extensions:
description: Google Analyticsを有効にします。
trackingCode:
title: トラッキングID
description: ここにグーグルアナリティクスのトラッキングIDを貼り付けることで、公開プロジェクトにこのコードが埋め込まれます。
description: ここにGoogle AnalyticsのトラッキングIDを貼り付けることで、公開プロジェクトにこのコードが埋め込まれます。
experimental:
title: 高度な設定
fields:
experimental_core:
title: 先進的機能を使用
description: このシーンに対して先進的機能を有効にします。この設定を適用するにはページのリロードが必要です。
theme:
title: 公開用テーマ
description: 公開用のテーマを設定することができます。
Expand Down

0 comments on commit 707601a

Please sign in to comment.