Skip to content

Commit

Permalink
Update UI Server
Browse files Browse the repository at this point in the history
  • Loading branch information
temporal-data committed Jan 18, 2024
1 parent 8491907 commit d7c1db2
Show file tree
Hide file tree
Showing 123 changed files with 125 additions and 120 deletions.
1 change: 1 addition & 0 deletions config/development.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
publicPath:
port: 8081
enableUi: true
bannerText:
cors:
cookieInsecure: false
allowOrigins:
Expand Down
1 change: 1 addition & 0 deletions docker/config-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ temporalGrpcAddress: {{ default .Env.TEMPORAL_ADDRESS "127.0.0.1:7233" }}
port: {{ default .Env.TEMPORAL_UI_PORT "8080" }}
publicPath: {{ default .Env.TEMPORAL_UI_PUBLIC_PATH "" }}
enableUi: {{ default .Env.TEMPORAL_UI_ENABLED "true" }}
bannerText: {{ default .Env.TEMPORAL_BANNER_TEXT "" }}
cloudUi: {{ default .Env.TEMPORAL_CLOUD_UI "false" }}
defaultNamespace: {{ default .Env.TEMPORAL_DEFAULT_NAMESPACE "default" }}
feedbackUrl: {{ default .Env.TEMPORAL_FEEDBACK_URL "" }}
Expand Down
2 changes: 2 additions & 0 deletions server/api/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ type CodecResponse struct {

type SettingsResponse struct {
Auth *Auth
BannerText string
DefaultNamespace string
ShowTemporalSystemNamespace bool
FeedbackURL string
Expand Down Expand Up @@ -117,6 +118,7 @@ func GetSettings(cfgProvider *config.ConfigProviderWithRefresh) func(echo.Contex
Enabled: cfg.Auth.Enabled,
Options: options,
},
BannerText: cfg.BannerText,
DefaultNamespace: cfg.DefaultNamespace,
ShowTemporalSystemNamespace: cfg.ShowTemporalSystemNamespace,
FeedbackURL: cfg.FeedbackURL,
Expand Down
1 change: 1 addition & 0 deletions server/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ type (
EnableUI bool `yaml:"enableUi"`
CloudUI bool `yaml:"cloudUi"`
UIAssetPath string `yaml:"uiAssetPath"`
BannerText string `yaml:"bannerText"`
CORS CORS `yaml:"cors"`
DefaultNamespace string `yaml:"defaultNamespace"`
FeedbackURL string `yaml:"feedbackUrl"`
Expand Down

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions ui/assets/local/_app/immutable/assets/app.8f5d45d4.css

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion ui/assets/local/_app/immutable/assets/app.e0b3399b.css

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d7c1db2

Please sign in to comment.