Skip to content

Commit fef37e9

Browse files
authored
2.1 Release (#131)
## 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.
1 parent 475b465 commit fef37e9

File tree

88 files changed

+2947
-1153
lines changed

Some content is hidden

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

88 files changed

+2947
-1153
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Test/Deploy Develop
2+
3+
on:
4+
push:
5+
branches: [ develop ]
6+
7+
8+
jobs:
9+
build-test:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
node-version: [17.x]
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- run: rm -rf docs
21+
- run: npm install
22+
- name: Cypress run
23+
uses: cypress-io/github-action@v2
24+
with:
25+
build: npm run build
26+
start: npm run dev
27+
wait-on: 'http://localhost:3000'
28+
build-s3:
29+
needs: build-test
30+
runs-on: ubuntu-latest
31+
strategy:
32+
matrix:
33+
node-version: [17.x]
34+
steps:
35+
- uses: actions/checkout@v2
36+
- name: Use Node.js ${{ matrix.node-version }}
37+
uses: actions/setup-node@v1
38+
with:
39+
node-version: ${{ matrix.node-version }}
40+
- run: npm install
41+
- run: npm run build
42+
- name: Set AWS credentials
43+
uses: aws-actions/configure-aws-credentials@v1
44+
with:
45+
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
46+
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
47+
aws-region: us-west-1
48+
- run: curl ${{ secrets.INDEX_HTML_DEPLOYMENT_URL }} > dist/index.html
49+
- run: aws s3 rm s3://neodash-test.graphapp.io/ --recursive && aws s3 sync dist s3://neodash-test.graphapp.io/ --acl public-read

.github/workflows/develop-test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Test Develop
2+
3+
on:
4+
pull_request:
5+
branches: [ develop ]
6+
7+
8+
jobs:
9+
build-test:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
node-version: [17.x]
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- run: npm install
21+
- name: Cypress run
22+
uses: cypress-io/github-action@v2
23+
with:
24+
build: npm run build
25+
start: npm run dev
26+
wait-on: 'http://localhost:3000'
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
name: Test/Deploy Master
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
7+
8+
jobs:
9+
build-test:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
node-version: [17.x]
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- run: rm -rf docs
21+
- run: npm install
22+
- name: Cypress run
23+
uses: cypress-io/github-action@v2
24+
with:
25+
build: npm run build
26+
start: npm run dev
27+
wait-on: 'http://localhost:3000'
28+
build-s3:
29+
needs: build-test
30+
runs-on: ubuntu-latest
31+
strategy:
32+
matrix:
33+
node-version: [17.x]
34+
steps:
35+
- uses: actions/checkout@v2
36+
- name: Use Node.js ${{ matrix.node-version }}
37+
uses: actions/setup-node@v1
38+
with:
39+
node-version: ${{ matrix.node-version }}
40+
- run: rm -rf docs
41+
- run: npm install
42+
- run: npm run build
43+
- name: Set AWS credentials
44+
uses: aws-actions/configure-aws-credentials@v1
45+
with:
46+
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
47+
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
48+
aws-region: us-west-1
49+
- run: curl ${{ secrets.INDEX_HTML_DEPLOYMENT_URL }} > dist/index.html
50+
- run: aws s3 rm s3://neodash.graphapp.io/ --recursive && aws s3 sync dist s3://neodash.graphapp.io/ --acl public-read
51+
build-docker:
52+
needs: build-test
53+
runs-on: ubuntu-latest
54+
strategy:
55+
matrix:
56+
node-version: [17.x]
57+
steps:
58+
- name: run Docker
59+
uses: actions/checkout@v2
60+
- run: rm -rf docs
61+
- name: Login to Docker Hub
62+
uses: docker/login-action@v1
63+
with:
64+
username: ${{ secrets.DOCKER_HUB_USERNAME }}
65+
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
66+
- name: Set up Docker Buildx
67+
uses: docker/setup-buildx-action@v1
68+
- name: Build and push
69+
uses: docker/build-push-action@v2
70+
with:
71+
context: .
72+
file: ./Dockerfile
73+
push: true
74+
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/neodash:latest,${{ secrets.DOCKER_HUB_USERNAME }}/neodash:2.1
75+
build-npm:
76+
needs: build-test
77+
runs-on: ubuntu-latest
78+
strategy:
79+
matrix:
80+
node-version: [17.x]
81+
steps:
82+
- uses: actions/checkout@v2
83+
- name: Use Node.js ${{ matrix.node-version }}
84+
uses: actions/setup-node@v1
85+
with:
86+
node-version: ${{ matrix.node-version }}
87+
- run: rm -rf docs
88+
- run: npm install
89+
- run: npm run-script build
90+
- run: npm pack
91+
- run: rm -rf target
92+
- run: mkdir target
93+
- run: mv *.tgz target/
94+
- run: tar -xvf target/*.tgz
95+
- run: rm -f target/*.tgz
96+
- run: cp package/dist/favicon.ico package/favicon.ico
97+
- run: echo "${{ secrets.NEO4J_LABS_APP_KEY }}" > neo4j-labs-app.pem
98+
- run: echo "${{ secrets.NEO4J_LABS_APP_CERTIFICATE }}" > neo4j-labs-app.cert
99+
- run: npx @neo4j/code-signer --app ./package --private-key neo4j-labs-app.pem --cert neo4j-labs-app.cert --passphrase ${{ secrets.NEO4J_DESKTOP_PASSPHRASE }}
100+
- run: echo "${{ secrets.NEO4J_DESKTOP_CERTIFICATE }}" > neo4j_desktop.cert
101+
- run: npx @neo4j/code-signer --verify --app ./package --root-cert neo4j_desktop.cert
102+
- run: cd package && npm pack
103+
- run: mv package/*.tgz .
104+
- run: rm -rf package
105+
- run: tar xvf *.tgz package
106+
- run: npx @neo4j/code-signer --verify --app ./package --root-cert neo4j_desktop.cert
107+
- run: rm -rf package
108+
- name: Publish to npm registry
109+
uses: JS-DevTools/npm-publish@v1
110+
with:
111+
token: ${{ secrets.NPM_TOKEN }}
112+
113+

.github/workflows/master.test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Test Master
2+
3+
on:
4+
pull_request:
5+
branches: [ master ]
6+
7+
8+
jobs:
9+
build-test:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
node-version: [17.x]
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- run: npm install
21+
- name: Cypress run
22+
uses: cypress-io/github-action@v2
23+
with:
24+
build: npm run build
25+
start: npm run dev
26+
wait-on: 'http://localhost:3000'

.gitignore

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ target
1414

1515
# testing
1616
/coverage
17+
cypress/plugins
18+
cypress/support
19+
cypress/videos
1720

1821
# production
1922
/build
@@ -31,4 +34,11 @@ yarn-debug.log*
3134
yarn-error.log*
3235

3336
# Ignore builds
34-
*.tgz
37+
*.tgz
38+
39+
# package directories
40+
node_modules
41+
jspm_packages
42+
43+
# Serverless directories
44+
.serverless

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ WORKDIR /usr/local/src/neodash
1010

1111
# Copy sources and install/build
1212
COPY ./package.json /usr/local/src/neodash/package.json
13+
1314
RUN npm install
1415
COPY ./ /usr/local/src/neodash
1516
RUN npm run build
@@ -37,4 +38,4 @@ RUN chown -R nginx:nginx /usr/share/nginx/html/
3738
USER nginx
3839
EXPOSE 5005
3940
HEALTHCHECK cmd curl --fail http://localhost:5005 || exit 1
40-
LABEL version="2.0.15"
41+
LABEL version="2.1.0"

0 commit comments

Comments
 (0)