diff --git a/satellite/console/consoleweb/server.go b/satellite/console/consoleweb/server.go index 4b3a0d44c..837d4caf8 100644 --- a/satellite/console/consoleweb/server.go +++ b/satellite/console/consoleweb/server.go @@ -93,6 +93,7 @@ type Config struct { PathwayOverviewEnabled bool `help:"indicates if the overview onboarding step should render with pathways" default:"true"` NewOnboarding bool `help:"indicates if new onboarding flow should be rendered" default:"true"` NewNavigation bool `help:"indicates if new navigation structure should be rendered" default:"false"` + NewBrowser bool `help:"indicates if new browser should be used" default:"false"` // RateLimit defines the configuration for the IP and userID rate limiters. RateLimit web.RateLimiterConfig @@ -375,6 +376,7 @@ func (server *Server) appHandler(w http.ResponseWriter, r *http.Request) { DefaultPaidStorageLimit memory.Size DefaultPaidBandwidthLimit memory.Size NewNavigation bool + NewBrowser bool } data.ExternalAddress = server.config.ExternalAddress @@ -404,6 +406,7 @@ func (server *Server) appHandler(w http.ResponseWriter, r *http.Request) { data.RecaptchaSiteKey = server.config.Recaptcha.SiteKey data.NewOnboarding = server.config.NewOnboarding data.NewNavigation = server.config.NewNavigation + data.NewBrowser = server.config.NewBrowser if server.templates.index == nil { server.log.Error("index template is not set") diff --git a/scripts/testdata/satellite-config.yaml.lock b/scripts/testdata/satellite-config.yaml.lock index 00c6f719d..c563bd586 100755 --- a/scripts/testdata/satellite-config.yaml.lock +++ b/scripts/testdata/satellite-config.yaml.lock @@ -127,6 +127,9 @@ compensation.withheld-percents: 75,75,75,50,50,50,25,25,25,0,0,0,0,0,0 # url link for linksharing requests # console.linksharing-url: https://link.us1.storjshare.io +# indicates if new browser should be used +# console.new-browser: false + # indicates if new navigation structure should be rendered # console.new-navigation: false diff --git a/web/satellite/index.html b/web/satellite/index.html index b70a328fa..e3bd72205 100644 --- a/web/satellite/index.html +++ b/web/satellite/index.html @@ -29,6 +29,7 @@ + {{ .SatelliteName }} diff --git a/web/satellite/src/components/objects/UploadFile.vue b/web/satellite/src/components/objects/UploadFile.vue index 50454cdfb..fd5afdcf6 100644 --- a/web/satellite/src/components/objects/UploadFile.vue +++ b/web/satellite/src/components/objects/UploadFile.vue @@ -12,7 +12,7 @@