Skip to content

Commit

Permalink
2.1 Release (#131)
Browse files Browse the repository at this point in the history
## 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
nielsdejong committed May 19, 2022
1 parent 475b465 commit fef37e9
Show file tree
Hide file tree
Showing 88 changed files with 2,947 additions and 1,153 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/develop-deployment.yml
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
26 changes: 26 additions & 0 deletions .github/workflows/develop-test.yml
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'
113 changes: 113 additions & 0 deletions .github/workflows/master-deployment.yml
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 }}


26 changes: 26 additions & 0 deletions .github/workflows/master.test.yml
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'
12 changes: 11 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ target

# testing
/coverage
cypress/plugins
cypress/support
cypress/videos

# production
/build
Expand All @@ -31,4 +34,11 @@ yarn-debug.log*
yarn-error.log*

# Ignore builds
*.tgz
*.tgz

# package directories
node_modules
jspm_packages

# Serverless directories
.serverless
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ WORKDIR /usr/local/src/neodash

# Copy sources and install/build
COPY ./package.json /usr/local/src/neodash/package.json

RUN npm install
COPY ./ /usr/local/src/neodash
RUN npm run build
Expand Down Expand Up @@ -37,4 +38,4 @@ RUN chown -R nginx:nginx /usr/share/nginx/html/
USER nginx
EXPOSE 5005
HEALTHCHECK cmd curl --fail http://localhost:5005 || exit 1
LABEL version="2.0.15"
LABEL version="2.1.0"
Loading

0 comments on commit fef37e9

Please sign in to comment.