You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/portal_config.md
+12-6
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,12 @@ Below is an example, with inline comments describing what each JSON block config
14
14
"ddEnv": "DEV", // optional; the Datadog RUM option specifying the application’s environment, for example: prod, pre-prod, staging, etc. Can be determined automatically if omitted
15
15
"ddUrl": "", // optional: the Datadog RUM site/url. Defaults to datadoghq.com
16
16
"ddSampleRate": 100, // optional; numeric; the Datadog RUM option specifying the percentage of sessions to track: 100 for all, 0 for none. Default to 100 if omitted
17
+
"grafanaFaroConfig": {
18
+
"grafanaFaroEnable": true, // optional; flag to turn on Grafana Faro RUM, default to false
19
+
"grafanaFaroEnv": "DEV", // optional; the Grafana Faro RUM option specifying the application’s environment, for example: prod, pre-prod, staging, etc. Can be determined automatically if omitted. But it is highly recommended to customize it to include project information, such as 'healprod'
20
+
"grafanaFaroUrl": "", // optional: the Grafana Faro collector url. Defaults to https://faro.planx-pla.net/collect
21
+
"grafanaFaroSampleRate": 1, // optional; numeric; the Grafana Faro option specifying the percentage of sessions to track: 1 for all, 0 for none. Default to 1 if omitted
22
+
},
17
23
"DAPTrackingURL": "https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency=AGENCY&subagency=SUB", // optional, for adding DAP tracking feature if specified (see https://github.com/digital-analytics-program/gov-wide-code#participating-in-the-dap)
18
24
"graphql": { // required; start of query section - these attributes must be in the dictionary
19
25
"boardCounts": [ // required; graphQL fields to query for the homepage chart
@@ -49,7 +55,7 @@ Below is an example, with inline comments describing what each JSON block config
49
55
"components": {
50
56
"appName": "Gen3 Generic Data Commons", // required; title of commons that appears on the homepage
51
57
"metaDescription": "", // optional; meta description used by search engines
52
-
"banner": [ // optional; banner displayed accross top of all of data portal
58
+
"banner": [ // optional; banner displayed across top of all of data portal
53
59
{
54
60
"type": "info", // Type of Alert styles, options: success, info, warning, error
55
61
"message": "I'm a banner", // message to be displayed
@@ -148,13 +154,13 @@ Below is an example, with inline comments describing what each JSON block config
148
154
"text": "This is a generic Gen3 data commons.", // optional; text on the login page
149
155
"contact": "If you have any questions about access or the registration process, please contact ", // optional; text for the contact section of the login page
"image": "gene"// optional; images displayed on the login page
152
-
"hideNavLink": false// optional default false; hide login link in main naviagion
157
+
"image": "gene",// optional; images displayed on the login page
158
+
"hideNavLink": false// optional default false; hide login link in main navigation
153
159
},
154
160
"systemUse" : { // optional; will show a Use Message in a popup, to inform users of the use policy of the commons. It will display a message which requires acceptance before a user can use the site.
155
161
"systemUseTitle" : "", // required; Title of the popup dialog
156
-
"systemUseText" : [""] // required; Message to show in a popup which is used to notify the user of site policy and use restrictions
157
-
"expireUseMsgDays": 0, // optional; the number of days to keep cookie once the "Accept" button is clicked, the default is 0 which sets the cookie to be a browser session cookie
162
+
"systemUseText" : [""],// required; Message to show in a popup which is used to notify the user of site policy and use restrictions
163
+
"expireUseMsgDays": 0, // optional; the number of days to keep cookie once the "Accept" button is clicked, the default is 0 which sets the cookie to be a browser session cookie
158
164
"showOnlyOnLogin" : false, // optional; if set to true, the USe Message will only be shown after a success login
159
165
},
160
166
"footer": {
@@ -727,7 +733,7 @@ Below is an example, with inline comments describing what each JSON block config
727
733
"connectSrcCSPWhitelist": [ // optional; Array of urls to add to the header CSP (Content-Security-Policy) connect-src 'self'
728
734
"https://example.s3.amazonaws.com"// full url to be added
729
735
],
730
-
"analysisTools": [ // analysis apps to be diplayed at the /analysis/ page.
736
+
"analysisTools": [ // analysis apps to be displayed at the /analysis/ page.
731
737
{
732
738
"appId": "myAppId", // Optional. Can be used to ensure the app path after the /analysis/ subpath is fixed, e.g. URL https://SERVER-DOMAIN/analysis/myAppId. If not set, then "title" (below) is used.
733
739
"title": "My app title", // App title/name, also displayed on the App card in the /analysis page
0 commit comments