Skip to content

Commit

Permalink
2.4.9 Release (#973)
Browse files Browse the repository at this point in the history
* Bump es5-ext from 0.10.62 to 0.10.64

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.62 to 0.10.64.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.62...v0.10.64)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Disable form button until all parameters in given

* fix: check empty string as well

* Bump webpack-dev-middleware from 5.3.3 to 5.3.4

Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/v5.3.4/CHANGELOG.md)
- [Commits](webpack/webpack-dev-middleware@v5.3.3...v5.3.4)

---
updated-dependencies:
- dependency-name: webpack-dev-middleware
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /gallery

Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/v5.3.4/CHANGELOG.md)
- [Commits](webpack/webpack-dev-middleware@v5.3.3...v5.3.4)

---
updated-dependencies:
- dependency-name: webpack-dev-middleware
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump express from 4.18.1 to 4.19.2 in /docs

Bumps [express](https://github.com/expressjs/express) from 4.18.1 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.18.1...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump express from 4.18.2 to 4.19.2 in /gallery

Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump express from 4.18.2 to 4.19.2

Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* added cypress

* Added cypress

* Add a dependabot config file

* Add docs directory to dependabot

* Fix dependabot yarn to npm

* Migrate DataGrid to 7.x #850 ; Initial changes

* Fix compact x wrapping

* feat: Updated JSDoc

* Bump micromatch from 4.0.5 to 4.0.8 in /gallery (#948)

Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](micromatch/micromatch@4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Niels de Jong <[email protected]>

* Bump webpack from 5.77.0 to 5.94.0 (#947)

Bumps [webpack](https://github.com/webpack/webpack) from 5.77.0 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.77.0...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump fast-loops from 1.1.3 to 1.1.4 in /gallery (#920)

Bumps [fast-loops](https://github.com/robinweser/fast-loops) from 1.1.3 to 1.1.4.
- [Commits](https://github.com/robinweser/fast-loops/commits)

---
updated-dependencies:
- dependency-name: fast-loops
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ws from 8.12.1 to 8.17.1 (#911)

Bumps [ws](https://github.com/websockets/ws) from 8.12.1 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@8.12.1...8.17.1)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump braces from 3.0.2 to 3.0.3 in /gallery (#908)

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Niels de Jong <[email protected]>

* Bump follow-redirects from 1.15.4 to 1.15.6 in /gallery (#831)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.15.4...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump follow-redirects from 1.15.4 to 1.15.6 (#830)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.15.4...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Added evolution notice

* Fixed typo in README

* Fixed typo in README

* Bumped version number to 2.4.9

* Improve method for checking "low" property existence in downloadCSV function (#951)

Co-authored-by: “Bastien <“[email protected]”>

* Update configuration.adoc (#946)

Default loggingDatabase is logs not neo4j, updated same in document.

Issue Closed : #915

Document Referred : 
https://github.com/neo4j-labs/neodash/blob/42b196a3ec9a1d5740e4c81420a762646b1295b7/scripts/config-entrypoint.sh#L26
https://neo4j.com/labs/neodash/2.4/developer-guide/configuration/#_configuration_options

Signed-off-by: Singh, Jyotsana <[email protected]>

* Feature/rule based styling table colouring (#944)

* rule based styling cell colouring feature

* changing cell text/background colour now plays nicely

* TODO note about row/cell rule mix and match behaviour

* Bugfix/array table wrap (#943)

* table wrap bug fix

* typo fix

* changes to add ssl support (#935)

Signed-off-by: Parekh, Geet <[email protected]>

* adding param to manage SSO redirection (#918)

* adding param to manage SSO redirection

* added standalone when not sharing credentials

* Removed superfluous log statements

---------

Co-authored-by: Niels de Jong <[email protected]>

* Add possibility to hide Y axes and grid lines in BarChart (#895)

* Add possibility to hide Y axes and grid lines in BarChart

* Add Husky prepare stage

* Fix stacked grouped function test

* Fix pie chart e2e test in start_page.cy

* Add Bar chart Y axis e2e tests

* Add Cypress support in eslintrc.json

* Create Page helper class for Cypress

* Update browserlist

* Fix e2e bar tests by removing within

---------

Co-authored-by: “Bastien <“[email protected]”>
Co-authored-by: Niels de Jong <[email protected]>

* Markdown tables not rendered #836 (#893)

Co-authored-by: Marius Conjeaud <[email protected]>

* Added banner to all docs pages referring to new docs

* Updated README

* Current Users or ALL Users getting deleted in an Update (#906)

* fixed: when updating a user permission by DELETING a user from a certain role, it drops ALL the users. Also if you add a user to a role it will still keep the role on previously added users

* updated the code so that if datbase selected is empty we show feedback there is nothing to fetch and do not provide labels and also enable to save users to role even though db is empty

---------

Co-authored-by: Niels de Jong <[email protected]>

* Finalized release notes and updated README for 2.4.9

* [Feature #884] Helm chart for Kubernetes deployments PR#902 (#971)

* Include the Helm Chart and Kubernetes YAMLs

- Includes the Helm chart required for the NeoDash deployment for the
  Kubernetes clusters
- Includes the example YAML files for the Kubernetes manifests
- Appropriate document changes to include the new Kubernetes
  deployments.

Signed-off-by: Lolla, Venkata <[email protected]>

* Fix the chart notes

Signed-off-by: Lolla, Venkata <[email protected]>

* Patch a typo in the build-and-run.adoc file

Signed-off-by: Lolla, Venkata <[email protected]>

* Resolves SonarCloud warning

Signed-off-by: Lolla, Venkata <[email protected]>

* Review + small fixes, LGTM

---------

Signed-off-by: Lolla, Venkata <[email protected]>
Co-authored-by: Lolla, Venkata <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Singh, Jyotsana <[email protected]>
Signed-off-by: Parekh, Geet <[email protected]>
Signed-off-by: Lolla, Venkata <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Monish <[email protected]>
Co-authored-by: Marius Conjeaud <[email protected]>
Co-authored-by: MariusC <[email protected]>
Co-authored-by: Bastien Hubert <[email protected]>
Co-authored-by: “Bastien <“[email protected]”>
Co-authored-by: JyotsanaSingh <[email protected]>
Co-authored-by: LiamEdwardsLamarche <[email protected]>
Co-authored-by: geetparekh <[email protected]>
Co-authored-by: alfredorubin96 <[email protected]>
Co-authored-by: Aleksandar <[email protected]>
Co-authored-by: Morgan Senechal <[email protected]>
Co-authored-by: Lolla, Venkata <[email protected]>
  • Loading branch information
14 people authored Nov 14, 2024
1 parent 42b196a commit 601c95f
Show file tree
Hide file tree
Showing 109 changed files with 2,489 additions and 1,303 deletions.
7 changes: 6 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"extends": ["eslint:recommended", "prettier", "plugin:@typescript-eslint/recommended"], // this is optional
"env": {
"browser": true,
"node": true
"node": true,
"jest": true
},
"settings": {
"react": {
Expand Down Expand Up @@ -166,5 +167,9 @@
],
"symbol-description": "error",
"yoda": "error"
},
"globals": {
"cy": "readonly",
"Cypress": "readonly"
}
}
19 changes: 19 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: 2
updates:
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'weekly'
target-branch: 'develop'

- package-ecosystem: 'npm'
directory: '/gallery'
schedule:
interval: 'weekly'
target-branch: 'develop'

- package-ecosystem: 'npm'
directory: '/docs'
schedule:
interval: 'weekly'
target-branch: 'develop'
4 changes: 2 additions & 2 deletions .github/workflows/master-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKER_HUB_LABS_USERNAME }}/neodash:latest,${{ secrets.DOCKER_HUB_LABS_USERNAME }}/neodash:2.4.8
tags: ${{ secrets.DOCKER_HUB_LABS_USERNAME }}/neodash:latest,${{ secrets.DOCKER_HUB_LABS_USERNAME }}/neodash:2.4.9
build-docker-legacy:
needs: build-test
runs-on: neodash-runners
Expand All @@ -103,7 +103,7 @@ jobs:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/neodash:latest,${{ secrets.DOCKER_HUB_USERNAME }}/neodash:2.4.8
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/neodash:latest,${{ secrets.DOCKER_HUB_USERNAME }}/neodash:2.4.9
deploy-gallery:
runs-on: neodash-runners
strategy:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ USER nginx
EXPOSE $NGINX_PORT

HEALTHCHECK cmd curl --fail "http://localhost:$NGINX_PORT" || exit 1
LABEL version="2.4.8"
LABEL version="2.4.9"
22 changes: 15 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@

## NeoDash - Neo4j Dashboard Builder
NeoDash is an open source tool for visualizing your Neo4j data. It lets you group visualizations together as dashboards, and allow for interactions between reports.
## NeoDash Labs - Neo4j Dashboard Builder

![screenshot](public/screenshot.png)
![screenshot](evolving.png)

In September 2024 **Neo4j [announced](https://www.datanami.com/2024/09/04/neo4j-simplifies-graph-database-in-the-cloud/#:~:text=NeoDash%20is%20an%20open%20source,was%20open%20source%2C%20not%20supported) NeoDash is evolving into a fully supported dashboard builder, as part of the Neo4j product suite**.

This project (NeoDash Labs) will still be available and contain experimental features, but will **not** have official support. If you're interested to get official support for NeoDash as part of a Neo4j License agreement, please reach out to your Neo4j contact person.

## About NeoDash Labs
NeoDash is a web-based tool for visualizing your Neo4j data. It lets you group visualizations together as dashboards, and allow for interactions between reports.

Neodash supports presenting your data as tables, graphs, bar charts, line charts, maps and more. It contains a Cypher editor to directly write the Cypher queries that populate the reports. You can save dashboards to your database, and share them with others.

## Try NeoDash
## Try NeoDash Labs
You can run NeoDash in one of three ways:

1. You can install NeoDash into Neo4j Desktop from the [graph app gallery](https://install.graphapp.io). NeoDash will automatically connect to your active database.
2. You can run NeoDash from a web browser by visiting http://neodash.graphapp.io.
1. You can install NeoDash Labs into Neo4j Desktop from the [graph app gallery](https://install.graphapp.io). NeoDash will automatically connect to your active database.
> Note: never versions of Neo4j Desktop do not support adding experimental graph apps such as NeoDash.
2. You can run NeoDash Labs from a web browser by visiting http://neodash.graphapp.io.
3. For on-prem deployments, you can build the application yourself, or pull the latest Docker image from Docker Hub.
```
# Run the application on http://localhost:5005
Expand Down Expand Up @@ -79,4 +87,4 @@ If you have any questions about NeoDash, please reach out to the maintainers:
- Connect with us on the [Neo4j Discord](https://neo4j.com/developer/discord/).
- Create a post on the Neo4j [Community Forum](https://community.neo4j.com/).

> NeoDash is a free and open-source tool developed by the Neo4j community - not an official Neo4j product. If you have a need for a commercial agreement around training, custom extensions or other services, please contact the [Neo4j Professional Services](https://neo4j.com/professional-services/) team.
> NeoDash Labs is a free and open-source tool developed by the Neo4j community - not an official Neo4j product. Use at your own risk!
20 changes: 20 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
## NeoDash 2.4.9
This release adds some minor changes to documentation and implements some community contributions.
- Added notice about project evolution: [#967](https://github.com/neo4j-labs/neodash/pull/967)
- Added community contributions and bug fixes:
[#967](https://github.com/neo4j-labs/neodash/pull/967)
[#894](https://github.com/neo4j-labs/neodash/pull/894)
[#822](https://github.com/neo4j-labs/neodash/pull/822)
[#951](https://github.com/neo4j-labs/neodash/pull/951)
[#946](https://github.com/neo4j-labs/neodash/pull/946)
[#944](https://github.com/neo4j-labs/neodash/pull/944)
[#943](https://github.com/neo4j-labs/neodash/pull/943)
[#938](https://github.com/neo4j-labs/neodash/pull/938)
[#935](https://github.com/neo4j-labs/neodash/pull/935)
[#918](https://github.com/neo4j-labs/neodash/pull/918)
[#908](https://github.com/neo4j-labs/neodash/pull/908)
[#906](https://github.com/neo4j-labs/neodash/pull/906)
[#902](https://github.com/neo4j-labs/neodash/pull/902)
[#895](https://github.com/neo4j-labs/neodash/pull/895)
[#893](https://github.com/neo4j-labs/neodash/pull/893)

## NeoDash 2.4.8
This is a minor release containing an important fix and other minor fixes:

Expand Down
1 change: 1 addition & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default defineConfig({
projectId: 'a8nh14',
video: false,
e2e: {
defaultCommandTimeout: 20000,
experimentalMemoryManagement: true,
numTestsKeptInMemory: 0,
baseUrl: 'http://localhost:3000',
Expand Down
156 changes: 156 additions & 0 deletions cypress/Page.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
const DB_URL = 'localhost';
const DB_USERNAME = 'neo4j';
const DB_PASSWORD = 'test1234';

export class Page {
constructor(cardSelector) {
this.cardSelector = cardSelector;
}

init() {
cy.viewport(1920, 1080);
cy.visit('/', {
onBeforeLoad(win) {
win.localStorage.clear();
},
});
return this;
}

createNewDashboard() {
cy.get('#form-dialog-title').then(($div) => {
const text = $div.text();
if (text == 'NeoDash - Neo4j Dashboard Builder') {
cy.wait(100);
// Create new dashboard
cy.contains('New Dashboard').click();
}
});
return this;
}

connectToNeo4j() {
cy.get('#form-dialog-title', { timeout: 20000 }).should('contain', 'Connect to Neo4j');
cy.get('#url').clear().type(DB_URL);
cy.get('#dbusername').clear().type(DB_USERNAME);
cy.get('#dbpassword').type(DB_PASSWORD);
cy.get('button').contains('Connect').click();
cy.wait(100);
return this;
}

enableReportActions() {
cy.get('main button[aria-label="Extensions').should('be.visible').click();
cy.get('#checkbox-actions').scrollIntoView();
cy.get('#checkbox-actions').should('be.visible').click();
cy.get('.ndl-dialog-close').scrollIntoView().should('be.visible').click();
cy.wait(100);
return this;
}

enableAdvancedVisualizations() {
cy.get('main button[aria-label="Extensions').should('be.visible').click();
cy.get('#checkbox-advanced-charts').should('be.visible').click();
cy.get('.ndl-dialog-close').scrollIntoView().should('be.visible').click();
cy.wait(100);
return this;
}

enableFormsExtension() {
cy.get('main button[aria-label="Extensions').should('be.visible').click();
cy.get('#checkbox-forms').scrollIntoView();
cy.get('#checkbox-forms').should('be.visible').click();
cy.get('.ndl-dialog-close').scrollIntoView().should('be.visible').click();
cy.wait(100);
return this;
}

selectReportOfType(type) {
cy.get('main .react-grid-item button[aria-label="add report"]').should('be.visible').click();
cy.get('main .react-grid-item')
.contains('No query specified.')
.parentsUntil('.react-grid-item')
.find('button[aria-label="settings"]', { timeout: 2000 })
.should('be.visible')
.click();
cy.get(`${this.cardSelector} #type`, { timeout: 2000 }).should('be.visible').click();
cy.contains(type).click();
cy.wait(100);
return this;
}

createReportOfType(type, query, fast = false, run = true) {
this.selectReportOfType(type);
if (fast) {
cy.get(`${this.cardSelector} .ReactCodeMirror`).type(query, {
delay: 1,
parseSpecialCharSequences: false,
});
} else {
cy.get(`${this.cardSelector} .ReactCodeMirror`).type(query, { parseSpecialCharSequences: false });
}
cy.wait(400);

if (run) {
this.closeSettings();
}

cy.wait(100);
return this;
}

openSettings() {
cy.get(this.cardSelector).find('button[aria-label="settings"]', { WAITING_TIME: 2000 }).click();
cy.wait(100);
return this;
}

closeSettings() {
cy.get(`${this.cardSelector} button[aria-label="run"]`).click();
cy.wait(100);
return this;
}

openAdvancedSettings() {
this.openSettings();
cy.get(this.cardSelector).contains('Advanced settings').click();
cy.wait(100);
return this;
}

closeAdvancedSettings() {
cy.get(this.cardSelector).contains('Advanced settings').click();
this.closeSettings();
return this;
}

openReportActionsMenu() {
this.openSettings();
cy.get(this.cardSelector).find('button[aria-label="custom actions"]').click();
cy.wait(100);
return this;
}

updateDropdownAdvancedSetting(settingLabel, targetValue) {
this.openAdvancedSettings();
cy.get(`${this.cardSelector} .ndl-dropdown`).contains(settingLabel).siblings('div').click();
cy.contains(targetValue).click();
this.closeAdvancedSettings();
return this;
}

updateChartQuery(query) {
this.openSettings();

cy.get(this.cardSelector)
.find('.ndl-cypher-editor div[role="textbox"]')
.should('be.visible')
.click()
.clear()
.type(query);
cy.wait(100);

this.closeSettings();
return this;
}
}
Loading

0 comments on commit 601c95f

Please sign in to comment.