-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## NeoDash 2.1 The 2.1 release is a major update to the NeoDash application. Main updates: - Added new drag-and-drop dashboard layout - reports can be **moved** and **resized** freely within the dashboard. - Updated dashboard file format for new layout (2.0 dashboards are automatically migrated). - Pages can now be reordered by dragging and dropping. - Added three new hierarchical report types: - Treemaps - Sunburst Charts - Circle Packing Charts - Styling/usability improvements for pie charts. - Improved image download (screenshot functionality) for all report types. - Parameter select reports now resize the selector to fit the available space. Other changes: - Added continuous integration and deployment workflows. - Created a new [User Guide](https://github.com/nielsdejong/neodash/wiki/User-Guide) with documentation on all report customizations is available. - Added a new [Developer Guide](https://github.com/nielsdejong/neodash/wiki/Developer-Guide) with info on installing, building and extending the application.
- Loading branch information
1 parent
475b465
commit fef37e9
Showing
88 changed files
with
2,947 additions
and
1,153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Test/Deploy Develop | ||
|
||
on: | ||
push: | ||
branches: [ develop ] | ||
|
||
|
||
jobs: | ||
build-test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [17.x] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: rm -rf docs | ||
- run: npm install | ||
- name: Cypress run | ||
uses: cypress-io/github-action@v2 | ||
with: | ||
build: npm run build | ||
start: npm run dev | ||
wait-on: 'http://localhost:3000' | ||
build-s3: | ||
needs: build-test | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [17.x] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm install | ||
- run: npm run build | ||
- name: Set AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v1 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: us-west-1 | ||
- run: curl ${{ secrets.INDEX_HTML_DEPLOYMENT_URL }} > dist/index.html | ||
- run: aws s3 rm s3://neodash-test.graphapp.io/ --recursive && aws s3 sync dist s3://neodash-test.graphapp.io/ --acl public-read |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Test Develop | ||
|
||
on: | ||
pull_request: | ||
branches: [ develop ] | ||
|
||
|
||
jobs: | ||
build-test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [17.x] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm install | ||
- name: Cypress run | ||
uses: cypress-io/github-action@v2 | ||
with: | ||
build: npm run build | ||
start: npm run dev | ||
wait-on: 'http://localhost:3000' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
name: Test/Deploy Master | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
|
||
|
||
jobs: | ||
build-test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [17.x] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: rm -rf docs | ||
- run: npm install | ||
- name: Cypress run | ||
uses: cypress-io/github-action@v2 | ||
with: | ||
build: npm run build | ||
start: npm run dev | ||
wait-on: 'http://localhost:3000' | ||
build-s3: | ||
needs: build-test | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [17.x] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: rm -rf docs | ||
- run: npm install | ||
- run: npm run build | ||
- name: Set AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v1 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: us-west-1 | ||
- run: curl ${{ secrets.INDEX_HTML_DEPLOYMENT_URL }} > dist/index.html | ||
- run: aws s3 rm s3://neodash.graphapp.io/ --recursive && aws s3 sync dist s3://neodash.graphapp.io/ --acl public-read | ||
build-docker: | ||
needs: build-test | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [17.x] | ||
steps: | ||
- name: run Docker | ||
uses: actions/checkout@v2 | ||
- run: rm -rf docs | ||
- name: Login to Docker Hub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKER_HUB_USERNAME }} | ||
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
- name: Build and push | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: . | ||
file: ./Dockerfile | ||
push: true | ||
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/neodash:latest,${{ secrets.DOCKER_HUB_USERNAME }}/neodash:2.1 | ||
build-npm: | ||
needs: build-test | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [17.x] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: rm -rf docs | ||
- run: npm install | ||
- run: npm run-script build | ||
- run: npm pack | ||
- run: rm -rf target | ||
- run: mkdir target | ||
- run: mv *.tgz target/ | ||
- run: tar -xvf target/*.tgz | ||
- run: rm -f target/*.tgz | ||
- run: cp package/dist/favicon.ico package/favicon.ico | ||
- run: echo "${{ secrets.NEO4J_LABS_APP_KEY }}" > neo4j-labs-app.pem | ||
- run: echo "${{ secrets.NEO4J_LABS_APP_CERTIFICATE }}" > neo4j-labs-app.cert | ||
- run: npx @neo4j/code-signer --app ./package --private-key neo4j-labs-app.pem --cert neo4j-labs-app.cert --passphrase ${{ secrets.NEO4J_DESKTOP_PASSPHRASE }} | ||
- run: echo "${{ secrets.NEO4J_DESKTOP_CERTIFICATE }}" > neo4j_desktop.cert | ||
- run: npx @neo4j/code-signer --verify --app ./package --root-cert neo4j_desktop.cert | ||
- run: cd package && npm pack | ||
- run: mv package/*.tgz . | ||
- run: rm -rf package | ||
- run: tar xvf *.tgz package | ||
- run: npx @neo4j/code-signer --verify --app ./package --root-cert neo4j_desktop.cert | ||
- run: rm -rf package | ||
- name: Publish to npm registry | ||
uses: JS-DevTools/npm-publish@v1 | ||
with: | ||
token: ${{ secrets.NPM_TOKEN }} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Test Master | ||
|
||
on: | ||
pull_request: | ||
branches: [ master ] | ||
|
||
|
||
jobs: | ||
build-test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [17.x] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm install | ||
- name: Cypress run | ||
uses: cypress-io/github-action@v2 | ||
with: | ||
build: npm run build | ||
start: npm run dev | ||
wait-on: 'http://localhost:3000' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.