satellite/console: add feature flag for onboarding overview step pathway rendering
Change-Id: I2edfeb868e356b714c8d2535332713c1f64d35f9
This commit is contained in:
parent
8f13dcacb9
commit
9591e75574
@ -90,6 +90,7 @@ type Config struct {
|
|||||||
FileBrowserFlowDisabled bool `help:"indicates if file browser flow is disabled" default:"true"`
|
FileBrowserFlowDisabled bool `help:"indicates if file browser flow is disabled" default:"true"`
|
||||||
CSPEnabled bool `help:"indicates if Content Security Policy is enabled" devDefault:"false" releaseDefault:"true"`
|
CSPEnabled bool `help:"indicates if Content Security Policy is enabled" devDefault:"false" releaseDefault:"true"`
|
||||||
LinksharingURL string `help:"url link for linksharing requests" default:"https://link.tardigradeshare.io"`
|
LinksharingURL string `help:"url link for linksharing requests" default:"https://link.tardigradeshare.io"`
|
||||||
|
PathwayOverviewEnabled bool `help:"indicates if the overview onboarding step should render with pathways" default:"false"`
|
||||||
|
|
||||||
RateLimit web.IPRateLimiterConfig
|
RateLimit web.IPRateLimiterConfig
|
||||||
|
|
||||||
@ -317,6 +318,7 @@ func (server *Server) appHandler(w http.ResponseWriter, r *http.Request) {
|
|||||||
CouponCodeUIEnabled bool
|
CouponCodeUIEnabled bool
|
||||||
FileBrowserFlowDisabled bool
|
FileBrowserFlowDisabled bool
|
||||||
LinksharingURL string
|
LinksharingURL string
|
||||||
|
PathwayOverviewEnabled bool
|
||||||
}
|
}
|
||||||
|
|
||||||
data.ExternalAddress = server.config.ExternalAddress
|
data.ExternalAddress = server.config.ExternalAddress
|
||||||
@ -337,6 +339,7 @@ func (server *Server) appHandler(w http.ResponseWriter, r *http.Request) {
|
|||||||
data.CouponCodeUIEnabled = server.config.CouponCodeUIEnabled
|
data.CouponCodeUIEnabled = server.config.CouponCodeUIEnabled
|
||||||
data.FileBrowserFlowDisabled = server.config.FileBrowserFlowDisabled
|
data.FileBrowserFlowDisabled = server.config.FileBrowserFlowDisabled
|
||||||
data.LinksharingURL = server.config.LinksharingURL
|
data.LinksharingURL = server.config.LinksharingURL
|
||||||
|
data.PathwayOverviewEnabled = server.config.PathwayOverviewEnabled
|
||||||
|
|
||||||
if server.templates.index == nil {
|
if server.templates.index == nil {
|
||||||
server.log.Error("index template is not set")
|
server.log.Error("index template is not set")
|
||||||
|
3
scripts/testdata/satellite-config.yaml.lock
vendored
3
scripts/testdata/satellite-config.yaml.lock
vendored
@ -136,6 +136,9 @@ compensation.withheld-percents: 75,75,75,50,50,50,25,25,25,0,0,0,0,0,0
|
|||||||
# names of partnered satellites
|
# names of partnered satellites
|
||||||
# console.partnered-satellite-names: US-Central-1,Europe-West-1,Asia-East-1
|
# console.partnered-satellite-names: US-Central-1,Europe-West-1,Asia-East-1
|
||||||
|
|
||||||
|
# indicates if the overview onboarding step should render with pathways
|
||||||
|
# console.pathway-overview-enabled: false
|
||||||
|
|
||||||
# url link to project limit increase request page
|
# url link to project limit increase request page
|
||||||
# console.project-limits-increase-request-url: https://support.tardigrade.io/hc/en-us/requests/new?ticket_form_id=360000683212
|
# console.project-limits-increase-request-url: https://support.tardigrade.io/hc/en-us/requests/new?ticket_form_id=360000683212
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user