Skip to content

Commit b8d4657

Browse files
authored
Merge pull request #560 from neo4j-labs/develop
Release 2.3.2
2 parents c34adf5 + 6e15d27 commit b8d4657

File tree

89 files changed

+1957
-1638
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+1957
-1638
lines changed

.github/workflows/master-deployment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
context: .
8080
file: ./Dockerfile
8181
push: true
82-
tags: ${{ secrets.DOCKER_HUB_LABS_USERNAME }}/neodash:latest,${{ secrets.DOCKER_HUB_LABS_USERNAME }}/neodash:2.3.1
82+
tags: ${{ secrets.DOCKER_HUB_LABS_USERNAME }}/neodash:latest,${{ secrets.DOCKER_HUB_LABS_USERNAME }}/neodash:2.3.2
8383
build-docker-legacy:
8484
needs: build-test
8585
runs-on: ubuntu-latest
@@ -103,7 +103,7 @@ jobs:
103103
context: .
104104
file: ./Dockerfile
105105
push: true
106-
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/neodash:latest,${{ secrets.DOCKER_HUB_USERNAME }}/neodash:2.3.1
106+
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/neodash:latest,${{ secrets.DOCKER_HUB_USERNAME }}/neodash:2.3.2
107107
deploy-gallery:
108108
runs-on: ubuntu-latest
109109
strategy:

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,6 @@ node_modules
3737
jspm_packages
3838

3939
# Serverless directories
40-
.serverless
40+
.serverless
41+
# Sentry Auth Token
42+
.env.sentry-build-plugin

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ USER nginx
4343
EXPOSE $NGINX_PORT
4444

4545
HEALTHCHECK cmd curl --fail "http://localhost:$NGINX_PORT" || exit 1
46-
LABEL version="2.3.1"
46+
LABEL version="2.3.2"

changelog.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
## NeoDash 2.3.2
2+
What's new in NeoDash 2.3.2? A few bug fixes, performance improvements and more important, it ships phase 2 of our migration to [Needle](https://neo4j.com/developer-blog/needle-neo4j-design-system/) !
3+
4+
- Key Features:
5+
- UI updated to use the **[Neo4j Design Language](https://www.neo4j.design/)** phase 2, giving NeoDash a similar look-and-feel to other Neo4j tools. This includes the removal of the sidebar and a complete refactor on the header component. ([@mariusconjeaud](https://github.com/mariusconjeaud),[@konsalex](https://github.com/konsalex),[@BennuFire](https://github.com/bennufire), [#552](https://github.com/neo4j-labs/neodash/pull/552))
6+
- *Experimental* Support for **Dark Mode**.
7+
- Parameter Selector Chart
8+
- New advanced setting 'Manual Parameter Save' allowing dashboard parameters propagation on demand (instead of automatically on change) ([@BennuFire](https://github.com/bennufire), [#545](https://github.com/neo4j-labs/neodash/pull/545))
9+
- Fix delete button leading to inconsistent values on click. ([@BennuFire](https://github.com/bennufire), [#545](https://github.com/neo4j-labs/neodash/pull/545))
10+
11+
- Fix search on numbers not being triggered. ([@BennuFire](https://github.com/bennufire), [#545](https://github.com/neo4j-labs/neodash/pull/545))
12+
13+
- Others
14+
- Fix performance degradation on schema calculation ([@BennuFire](https://github.com/bennufire), [#555](https://github.com/neo4j-labs/neodash/pull/555))
15+
- Fix standalone bug that prevent user from using username and password fields([@BennuFire](https://github.com/bennufire), [#551](https://github.com/neo4j-labs/neodash/pull/551))
16+
- Added Sentry Support on https://neodash.graphapp.io ([@mariusconjeaud](https://github.com/mariusconjeaud), [#546](https://github.com/neo4j-labs/neodash/pull/546))
17+
- Fix SSO redirection on editor mode ([@BennuFire](https://github.com/bennufire), [#543](https://github.com/neo4j-labs/neodash/pull/543))
18+
119
## NeoDash 2.3.1
220
What's new in NeoDash 2.3.1? A few bug fixes, improvement of natural language queries with support of Azure Open AI and parameters, Graph Vizualization relationship styling and more below!
321

cypress.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,16 @@ export default defineConfig({
55
projectId: 'a8nh14',
66
video: false,
77
e2e: {
8+
experimentalMemoryManagement: true,
9+
numTestsKeptInMemory: 0,
810
baseUrl: 'http://localhost:3000',
911
setupNodeEvents(on, config) {
1012
return require('./cypress/plugins/index.js')(on, config);
1113
},
14+
retries: {
15+
runMode: 2,
16+
openMode: 0,
17+
},
1218
},
1319
env: {
1420
codeCoverage: {

cypress/e2e/start_page.cy.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe('NeoDash E2E Tests', () => {
2727
},
2828
});
2929

30-
cy.get('#form-dialog-title', { timeout: 2000 }).should('be.visible');
30+
cy.get('#form-dialog-title', { timeout: 20000 }).should('contain', 'NeoDash - Neo4j Dashboard Builder').click();
3131

3232
cy.get('#form-dialog-title').then(($div) => {
3333
const text = $div.text();
@@ -43,7 +43,7 @@ describe('NeoDash E2E Tests', () => {
4343
// cy.contains('Yes').click()
4444
// }
4545

46-
cy.get('#form-dialog-title').should('contain', 'Connect to Neo4j');
46+
cy.get('#form-dialog-title', { timeout: 20000 }).should('contain', 'Connect to Neo4j');
4747

4848
// Connect to Neo4j database
4949
// cy.get('#protocol').click()
@@ -279,6 +279,7 @@ describe('NeoDash E2E Tests', () => {
279279
});
280280

281281
function enableAdvancedVisualizations() {
282+
cy.get('main button[aria-label="Dashboard actions').should('be.visible').click();
282283
cy.get('#extensions-sidebar-button').should('be.visible').click();
283284
cy.get('#checkbox-advanced-charts').should('be.visible').click();
284285
cy.get('.ndl-dialog-close').scrollIntoView().should('be.visible').click();
@@ -321,6 +322,9 @@ function checkInitialState() {
321322

322323
function createCard() {
323324
// Check the starter cards
324-
cy.get('main .react-grid-item:eq(2) button[aria-label="add report"]').click();
325+
cy.get('main .react-grid-item button[aria-label="add report"]', { timeout: WAITING_TIME })
326+
.should('be.visible')
327+
.click();
328+
cy.wait(1000);
325329
cy.get('main .react-grid-item:eq(2)').should('contain', 'No query specified.');
326330
}

cypress/plugins/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,12 @@ module.exports = (on, config) => {
22
require('@cypress/code-coverage/task')(on, config);
33
//Used to instrument code ran like unit tests
44
on('file:preprocessor', require('@cypress/code-coverage/use-babelrc'));
5+
on('before:browser:launch', (browser, launchOptions) => {
6+
if (browser.family === 'chromium') {
7+
console.log('Adding Chrome flag: --disable-dev-shm-usage');
8+
launchOptions.args.push('--disable-dev-shm-usage');
9+
}
10+
return launchOptions;
11+
});
512
return config;
613
};

docs/modules/ROOT/nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
** xref:developer-guide/standalone-mode.adoc[Standalone Mode]
3939
** xref:developer-guide/component-overview.adoc[Component Overview]
4040
** xref:developer-guide/design.adoc[Design]
41+
** xref:developer-guide/style-configuration.adoc[Style Configuration]
4142
** xref:developer-guide/adding-visualizations.adoc[Adding Visualizations]
4243
** xref:developer-guide/state-management.adoc[State Management]
4344
** xref:developer-guide/session-storage.adoc[Session Storage]

docs/modules/ROOT/pages/developer-guide/deploy-a-build.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Depending on the webserver type and version, this could be different directory.
3737
As an example - to copy the files to an nginx webserver using `scp`:
3838

3939
```bash
40-
scp neodash-2.3.1 username@host:/usr/share/nginx/html
40+
scp neodash-2.3.2 username@host:/usr/share/nginx/html
4141
```
4242

4343
NeoDash should now be visible by visiting your (sub)domain in the browser.

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ This guide contains information for developers looking to deploy NeoDash, or ext
66
- link:configuration[Configuration]
77
- link:standalone-mode[Standalone Mode]
88
- link:component-overview[Component Overview]
9-
- link:design[Design]
9+
- link:design[Design]
10+
- link:style-configuration[Style Configuration]
1011
- link:adding-visualizations[Adding Visualizations]
1112
- link:state-management[State Management]
1213
- link:testing[Testing]

0 commit comments

Comments
 (0)