Skip to content

Commit ae07a93

Browse files
authored
Merge branch 'develop' into notes/release-notes-2.3.4
2 parents a11b5c9 + 55ffed8 commit ae07a93

31 files changed

+143
-48
lines changed

docs/modules/ROOT/pages/developer-guide/configuration.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ will look like this:
1616
....
1717
{
1818
"ssoEnabled": false,
19+
"ssoProviders": [],
1920
"ssoDiscoveryUrl": "https://example.com",
2021
"standalone": false,
2122
"standaloneProtocol": "neo4j",
@@ -37,6 +38,8 @@ will look like this:
3738
using SSO. This requires the app to be running in standalone mode, and a
3839
valid ssoDiscoveryUrl to be set.
3940

41+
|ssoProviders |List |[] |When using multiple SSO providers on the database, you can configure the list of providers (by id) to be used on Neodash. If empty, all providers will be displayed.
42+
4043
|ssoDiscoveryUrl |string |https://example.com |If ssoEnabled is true &
4144
standalone mode is enabled, the URL to retrieve SSO auth config from.
4245

docs/modules/ROOT/pages/developer-guide/standalone-mode.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ variables to Docker:
3939
....
4040
docker run -it --rm -p 5005:5005 \
4141
-e ssoEnabled=false \
42+
-e ssoProviders=[] \
4243
-e ssoDiscoveryUrl="https://example.com" \
4344
-e standalone=true \
4445
-e standaloneProtocol="neo4j" \

docs/modules/ROOT/pages/developer-guide/state-management.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ standalone mode.
127127
"standalone": false,
128128
"oldDashboard": null,
129129
"ssoEnabled": false,
130+
"ssoProviders": [],
130131
"ssoDiscoveryUrl": "https://example.com",
131132
"standaloneProtocol": "neo4j",
132133
"standaloneHost": "localhost",

docs/modules/ROOT/pages/quickstart.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ https://neodash.graphapp.io.
88
App Gallery].
99
. Using Docker:
1010
```
11-
docker pull neo4jlabs/neodash:latest
11+
docker pull neo4jlabs/neodash:latest
1212
docker run -it --rm -p 5005:5005 neo4jlabs/neodash
1313
```
1414

docs/modules/ROOT/pages/user-guide/reports/pie-chart.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ slice.
7373
|Margin Left (px) |number |50 |The margin in pixels on the left side of
7474
the visualization.
7575

76-
|Margin Right (px) |number |24 |The margin in pixels on the right side
76+
|Margin Right (px) |number |50 |The margin in pixels on the right side
7777
of the visualization.
7878

79-
|Margin Top (px) |number |24 |The margin in pixels on the top side of
79+
|Margin Top (px) |number |50 |The margin in pixels on the top side of
8080
the visualization.
8181

82-
|Margin Bottom (px) |number |40 |The margin in pixels on the bottom side
82+
|Margin Bottom (px) |number |50 |The margin in pixels on the bottom side
8383
of the visualization.
8484

8585
|Hide Selections |on/off |off |If enabled, hides the property selector

public/config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"ssoEnabled": false,
3+
"ssoProviders": [],
34
"ssoDiscoveryUrl": "https://example.com",
45
"standalone": false,
56
"standaloneProtocol": "neo4j",

public/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
</head>
3131

3232
<body>
33+
<div id="overlay"></div>
3334
<div id="root"></div>
3435
<noscript>Please enable JavaScript to view this site.</noscript>
3536
<script src="bundle.js"></script>

public/style.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,4 +228,11 @@
228228
transform: scale(0.95);
229229
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
230230
}
231-
}
231+
}
232+
233+
/* Workaround for Needle not handling menu placement of dropdowns on modals */
234+
#overlay {
235+
z-index: 99 !important;
236+
position: absolute;
237+
}
238+
/* End workaround */

scripts/config-entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ set -e
55
echo " \
66
{ \
77
\"ssoEnabled\": ${ssoEnabled:=false}, \
8+
\"ssoProviders\": ${ssoProviders:=[]}, \
89
\"ssoDiscoveryUrl\": \"${ssoDiscoveryUrl:='https://example.com'}\", \
910
\"standalone\": "${standalone:=false}", \
1011
\"standaloneProtocol\": \"${standaloneProtocol:='neo4j+s'}\", \

src/application/ApplicationActions.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,12 @@ export const setSSOEnabled = (enabled: boolean, discoveryUrl: string) => ({
178178
payload: { enabled, discoveryUrl },
179179
});
180180

181+
export const SET_SSO_PROVIDERS = 'APPLICATION/SET_SSO_PROVIDERS';
182+
export const setSSOProviders = (providers: []) => ({
183+
type: SET_SSO_PROVIDERS,
184+
payload: { providers },
185+
});
186+
181187
export const SET_WAIT_FOR_SSO = 'APPLICATION/SET_WAIT_FOR_SSO';
182188
export const setWaitForSSO = (wait: boolean) => ({
183189
type: SET_WAIT_FOR_SSO,

0 commit comments

Comments
 (0)