Skip to content

Commit a9eb6c4

Browse files
merging with develop
2 parents a49801f + 6753676 commit a9eb6c4

File tree

164 files changed

+7350
-1559
lines changed

Some content is hidden

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

164 files changed

+7350
-1559
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.5
82+
tags: ${{ secrets.DOCKER_HUB_LABS_USERNAME }}/neodash:latest,${{ secrets.DOCKER_HUB_LABS_USERNAME }}/neodash:2.4.0
8383
build-docker-legacy:
8484
needs: build-test
8585
runs-on: neodash-runners
@@ -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.5
106+
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/neodash:latest,${{ secrets.DOCKER_HUB_USERNAME }}/neodash:2.4.0
107107
deploy-gallery:
108108
runs-on: neodash-runners
109109
strategy:

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.5"
46+
LABEL version="2.4.0"

changelog.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
1+
## NeoDash 2.4.0
2+
NeoDash 2.4 is out! 🎂 This release packs a ton of new features, as well as improvements to the existing visualizations.
3+
4+
Key new features:
5+
- A new sidebar with support for managing, save and load multiple dashboards directly from the UI.
6+
[#657](https://github.com/neo4j-labs/neodash/pull/657)
7+
- Added **Forms** as a new extension. Forms let you combine multiple parameter selectors in one card and have users edit/submit data to Neo4j. [#568](https://github.com/neo4j-labs/neodash/pull/568)
8+
- Added a new advanced visualization type: Gantt charts. [#684](https://github.com/neo4j-labs/neodash/pull/684)
9+
- Doubled the grid resolution for dashboards, giving you more freedom to arrange visualizations. [#682](https://github.com/neo4j-labs/neodash/pull/682)
10+
- Several improvements for the natural language queries extension - including customizable prompting, and faster schema retrieval. [#600](https://github.com/neo4j-labs/neodash/pull/600)
11+
12+
Other improvements:
13+
- Support for multiselect checkboxes as a report action for tables. [#688](https://github.com/neo4j-labs/neodash/pull/688/commits)
14+
- Added keyboard shortcuts (CMD/CTRL+Enter) for running Cypher queries from the editor. [#694](https://github.com/neo4j-labs/neodash/pull/694/)
15+
- Added new experimental graph layouts (trees in various directions), with customizable level distance. [#690](https://github.com/neo4j-labs/neodash/pull/690)
16+
- Increased customizability for the Pie chart's styling. [#638](https://github.com/neo4j-labs/neodash/pull/638/)
17+
- Fixed issues with parameter selector: Better handling of integer / long parameters and processing external updates. [#641](https://github.com/neo4j-labs/neodash/pull/641/)
18+
- Improvements on text readability for the experimental dark mode. [#668](https://github.com/neo4j-labs/neodash/pull/668/)
19+
- UX improvements on database connection interface. [#675](https://github.com/neo4j-labs/neodash/pull/675/)
20+
- Added option to provide a custom message when no data is returned by a report. [#683](https://github.com/neo4j-labs/neodash/pull/683/)
21+
- Fixed issue where column names were not hidden correctly. [#685](https://github.com/neo4j-labs/neodash/pull/685/commits)
22+
23+
Thanks to all the contributors for this release:
24+
[alfredorubin96](https://github.com/alfredorubin96),
25+
[AleSim94](https://github.com/AleSim94),
26+
[BennuFire](https://github.com/BennuFire),
27+
[jacobbleakley-neo4j](https://github.com/jacobbleakley-neo4j),
28+
[hugorplobo](https://github.com/hugorplobo),
29+
[brahmprakashMishra](https://github.com/brahmprakashMishra),
30+
[m-o-n-i-s-h](https://github.com/m-o-n-i-s-h),
31+
[JonanOribe](https://github.com/JonanOribe),
32+
[nielsdejong](https://github.com/nielsdejong)
33+
134
## NeoDash 2.3.5
235
This is a bugfix / stability release directly following 2.3.4.
336

cypress/e2e/start_page.cy.js

Lines changed: 34 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
loadDashboardURL,
99
sankeyChartCypherQuery,
1010
gaugeChartCypherQuery,
11+
formCypherQuery,
1112
} from '../fixtures/cypher_queries';
1213

1314
const WAITING_TIME = 20000;
@@ -244,13 +245,28 @@ describe('NeoDash E2E Tests', () => {
244245
cy.get('main .react-grid-item:eq(2) .MuiCardContent-root h1', { timeout: 45000 }).should('have.text', 'Hello');
245246
});
246247

247-
// it('creates a radar report', () => {
248-
// // TODO - create a test for radar.
249-
// })
248+
it.skip('creates a form report', () => {
249+
enableFormsExtension();
250+
checkInitialState();
251+
createReportOfType('Form', formCypherQuery, true, false);
252+
cy.get('main .react-grid-item:eq(2) .form-add-parameter').click();
253+
cy.wait(200);
254+
cy.get('#autocomplete-label-type').type('Movie');
255+
cy.get('#autocomplete-label-type-option-0').click();
256+
cy.wait(200);
257+
cy.get('#autocomplete-property').type('title');
258+
cy.get('#autocomplete-property-option-0').click();
250259

251-
// it('creates a sankey report', () => {
252-
// // TODO - create a test for sankey charts.
253-
// })
260+
cy.get('.ndl-dialog-close').click();
261+
262+
cy.get('main .react-grid-item:eq(2) button[aria-label="run"]').scrollIntoView().should('be.visible').click();
263+
cy.wait(500);
264+
cy.get('#autocomplete').type('The Matrix');
265+
cy.get('#autocomplete-option-0').click();
266+
cy.get('#form-submit').click();
267+
cy.wait(500);
268+
cy.get('.form-submitted-message').should('have.text', 'Form Submitted.Reset Form');
269+
});
254270

255271
// Test load stress-test dashboard from file
256272
// TODO - this test is flaky, especially in GitHub actions environment.
@@ -285,6 +301,14 @@ function enableAdvancedVisualizations() {
285301
cy.wait(200);
286302
}
287303

304+
function enableFormsExtension() {
305+
cy.get('main button[aria-label="Extensions').should('be.visible').click();
306+
cy.get('#checkbox-forms').scrollIntoView();
307+
cy.get('#checkbox-forms').should('be.visible').click();
308+
cy.get('.ndl-dialog-close').scrollIntoView().should('be.visible').click();
309+
cy.wait(200);
310+
}
311+
288312
function selectReportOfType(type) {
289313
cy.get('main .react-grid-item button[aria-label="add report"]').should('be.visible').click();
290314
cy.get('main .react-grid-item')
@@ -298,7 +322,7 @@ function selectReportOfType(type) {
298322
cy.wait(100);
299323
}
300324

301-
function createReportOfType(type, query, fast = false) {
325+
function createReportOfType(type, query, fast = false, run = true) {
302326
selectReportOfType(type);
303327
if (fast) {
304328
cy.get('main .react-grid-item:eq(2) .ReactCodeMirror').type(query, { delay: 1, parseSpecialCharSequences: false });
@@ -308,8 +332,9 @@ function createReportOfType(type, query, fast = false) {
308332
cy.wait(400);
309333

310334
cy.get('main .react-grid-item:eq(2)').contains('Advanced settings').click();
311-
312-
cy.get('main .react-grid-item:eq(2) button[aria-label="run"]').click();
335+
if (run) {
336+
cy.get('main .react-grid-item:eq(2) button[aria-label="run"]').click();
337+
}
313338
}
314339

315340
function checkInitialState() {

cypress/fixtures/cypher_queries.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ An external workflow picks up this directory, embeds it into the Neo4j docs, and
66
```
77
https://neo4j.com/labs/neodash/{version}
88
```
9-
For example: https://neo4j.com/labs/neodash/2.3
9+
For example: https://neo4j.com/labs/neodash/2.4
1010

1111
## Local Build
1212
To compile and view the documentation locally, navigate to this (`./docs`) folder and run:

docs/antora.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: neodash
2-
version: 2.3
2+
version: 2.4
33
title: NeoDash
44
start_page: ROOT:index.adoc
55
nav:
66
- modules/ROOT/nav.adoc
77

88
asciidoc:
99
attributes:
10-
docs-version: 2.3
10+
docs-version: 2.4
1111
page-product: NeoDash
1212
page-type: NeoDash Manual
1313
page-canonical-root: /labs
879 KB
Loading
171 KB
Loading

docs/modules/ROOT/images/forms.png

51.3 KB
Loading

0 commit comments

Comments
 (0)