Skip to content

Commit 07b848a

Browse files
committed
Updated README
1 parent d864529 commit 07b848a

File tree

9 files changed

+66
-24
lines changed

9 files changed

+66
-24
lines changed

.github/workflows/master-deployment.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
5656
aws-region: us-west-1
5757
- run: curl ${{ secrets.INDEX_HTML_DEPLOYMENT_URL }} > dist/index.html
58+
- run: curl https://gist.githubusercontent.com/nielsdejong/944d8f8f30dd2719f9b275e31df22f92/raw/f363cf5280eb5095e12e56a278f6616b6220adcf/config.json > dist/config.json
5859
- run: aws s3 rm s3://neodash.graphapp.io/ --recursive && aws s3 sync dist s3://neodash.graphapp.io/ --acl public-read
5960
build-docker:
6061
needs: build-test
@@ -149,6 +150,7 @@ jobs:
149150
- run: rm -rf docs
150151
- run: yarn install
151152
- run: PRODUCTION=true && yarn run build-minimal
153+
- run: curl https://gist.githubusercontent.com/nielsdejong/944d8f8f30dd2719f9b275e31df22f92/raw/f363cf5280eb5095e12e56a278f6616b6220adcf/config.json > dist/config.json
152154
- run: curl ${{ secrets.INDEX_HTML_DEPLOYMENT_URL }} > dist/index.html
153155
- run: npm pack
154156
- run: rm -rf target

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
## NeoDash Labs
22
NeoDash is a dashboard builder for Neo4j, letting you build a graph dashboard in minutes.
33

4-
**This project will be archived on August 31st, 2025.** If you'd like to continue building NeoDash dashboards, you can:
4+
**This project will be archived on August 31st, 2025.** If you'd like to continue building dashboards, you can:
55

66
1. [Upgrade](https://console-preview.neo4j.io/tools/dashboards) to Dashboards in the Neo4j Console (free for everyone).
77
2. If you'd like to keep using NeoDash for free, you can fork this repository and [run NeoDash yourself](https://github.com/neo4j-labs/neodash/blob/master/about.md).
8-
3. If you're in need of a support & stable version of NeoDash, you can [purchase](https://neo4j.com/docs/neodash-commercial/current/#_getting_access_to_neodash_commercial) a NeoDash commercial license as part of a Neo4j Enterprise license.
8+
3. If you're in need of a supported version of NeoDash, you can [purchase](https://neo4j.com/docs/neodash-commercial/current/#_getting_access_to_neodash_commercial) a NeoDash commercial license together with a Neo4j Enterprise license.
99

gallery/src/App.tsx

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import './App.css';
3-
import { Button, TextInput, HeroIcon, Tag } from '@neo4j-ndl/react';
3+
import { Button, TextInput, HeroIcon, Tag, Alert } from '@neo4j-ndl/react';
44

55
// These are the read-only credentials of the public database where the gallery exists.
66
const uri = 'neo4j+s://acb5b6ae.databases.neo4j.io';
@@ -44,6 +44,32 @@ function App() {
4444

4545
return (
4646
<div className='n-bg-neutral-20 h-100'>
47+
<Alert
48+
title='Deprecation notice'
49+
type='warning'
50+
// closeable={true}
51+
icon={true}
52+
// onClose={() => setBannerOpen(false)}
53+
>
54+
This app will no longer be available after August 31st. &nbsp;
55+
<u>
56+
<b>
57+
<a target='_blank' href='https://console-preview.neo4j.io/tools/dashboards'>
58+
Migrate
59+
</a>
60+
</b>
61+
</u>
62+
&nbsp;your dashboards to the Neo4j Console, or{' '}
63+
<u>
64+
<b>
65+
<a target='_blank' href='https://github.com/neo4j-labs/neodash'>
66+
visit
67+
</a>
68+
</b>
69+
</u>{' '}
70+
the NeoDash repository to run NeoDash yourself.
71+
</Alert>
72+
4773
{/* Header */}
4874
<div className='n-bg-neutral-10'>
4975
<div className='md:container md:mx-auto m-5 p-8 '>

gallery/yarn.lock

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3054,7 +3054,7 @@ braces@~3.0.2:
30543054
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107"
30553055
integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==
30563056
dependencies:
3057-
fill-range "^7.1.1"
3057+
fill-range "^7.0.1"
30583058

30593059
browser-process-hrtime@^1.0.0:
30603060
version "1.0.0"
@@ -4613,14 +4613,7 @@ filesize@^8.0.6:
46134613
resolved "https://registry.yarnpkg.com/filesize/-/filesize-8.0.7.tgz#695e70d80f4e47012c132d57a059e80c6b580bd8"
46144614
integrity sha512-pjmC+bkIF8XI7fWaH8KxHcZL3DPybs1roSKP4rKDvy20tAWwIObE4+JIseG2byfGKhud5ZnM4YSGKBz7Sh0ndQ==
46154615

4616-
fill-range@^7.1.1:
4617-
version "7.1.1"
4618-
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292"
4619-
integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==
4620-
dependencies:
4621-
to-regex-range "^5.0.1"
4622-
4623-
fill-range@^7.1.1:
4616+
fill-range@^7.0.1, fill-range@^7.1.1:
46244617
version "7.1.1"
46254618
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292"
46264619
integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==
@@ -7899,9 +7892,9 @@ react-scripts@^5.0.1:
78997892
fsevents "^2.3.2"
79007893

79017894
react-select@^5.3.2:
7902-
version "5.7.2"
7903-
resolved "https://registry.yarnpkg.com/react-select/-/react-select-5.7.2.tgz#ccd40071b9429277983bf15526e7a5773a060e09"
7904-
integrity sha512-cTlJkQ8YjV6T/js8wW0owTzht0hHGABh29vjLscY4HfZGkv7hc3FFTmRp9NzY/Ib1uQ36GieAKEjxpHdpCFpcA==
7895+
version "5.10.2"
7896+
resolved "https://registry.yarnpkg.com/react-select/-/react-select-5.10.2.tgz#8dffc69dfd7d74684d9613e6eb27204e3b99e127"
7897+
integrity sha512-Z33nHdEFWq9tfnfVXaiM12rbJmk+QjFEztWLtmXqQhz6Al4UZZ9xc0wiatmGtUOCCnHN0WizL3tCMYRENX4rVQ==
79057898
dependencies:
79067899
"@babel/runtime" "^7.12.0"
79077900
"@emotion/cache" "^11.4.0"
@@ -7911,7 +7904,7 @@ react-select@^5.3.2:
79117904
memoize-one "^6.0.0"
79127905
prop-types "^15.6.0"
79137906
react-transition-group "^4.3.0"
7914-
use-isomorphic-layout-effect "^1.1.2"
7907+
use-isomorphic-layout-effect "^1.2.0"
79157908

79167909
react-syntax-highlighter@^15.5.0:
79177910
version "15.5.0"
@@ -9246,10 +9239,10 @@ url-parse@^1.5.3:
92469239
querystringify "^2.1.1"
92479240
requires-port "^1.0.0"
92489241

9249-
use-isomorphic-layout-effect@^1.1.2:
9250-
version "1.1.2"
9251-
resolved "https://registry.yarnpkg.com/use-isomorphic-layout-effect/-/use-isomorphic-layout-effect-1.1.2.tgz#497cefb13d863d687b08477d9e5a164ad8c1a6fb"
9252-
integrity sha512-49L8yCO3iGT/ZF9QttjwLF/ZD9Iwto5LnH5LmEdk/6cFmXddqi2ulF0edxTwjj+7mqvpVVGQWvbXZdn32wRSHA==
9242+
use-isomorphic-layout-effect@^1.2.0:
9243+
version "1.2.1"
9244+
resolved "https://registry.yarnpkg.com/use-isomorphic-layout-effect/-/use-isomorphic-layout-effect-1.2.1.tgz#2f11a525628f56424521c748feabc2ffcc962fce"
9245+
integrity sha512-tpZZ+EX0gaghDAiFR37hj5MgY6ZN55kLiPkJsKxBMZ6GZdOSPJXiOzPM984oPYZ5AnehYx5WQp1+ME8I/P/pRA==
92539246

92549247
util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1:
92559248
version "1.0.2"

src/application/Application.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import {
1616
applicationGetSsoSettings,
1717
applicationHasReportHelpModalOpen,
1818
applicationIsStandalone,
19+
applicationIsDeprecated,
1920
} from '../application/ApplicationSelectors';
2021
import {
2122
createConnectionThunk,
@@ -77,6 +78,7 @@ const Application = ({
7778
aboutModalOpen,
7879
loadDashboard,
7980
hasNeo4jDesktopConnection,
81+
deprecated,
8082
shareDetails,
8183
createConnection,
8284
createConnectionFromDesktopIntegration,
@@ -126,15 +128,15 @@ const Application = ({
126128
ref={ref}
127129
className={`n-bg-palette-neutral-bg-default n-h-screen n-w-screen n-flex n-flex-col n-overflow-hidden`}
128130
>
129-
{bannerOpen && connected ? (
131+
{deprecated && bannerOpen && connected ? (
130132
<Banner
131133
title='Deprecation notice'
132134
type='warning'
133135
closeable={true}
134136
icon={true}
135137
onClose={() => setBannerOpen(false)}
136138
>
137-
This demo environment will no longer be available after August 31st. &nbsp;
139+
This app will no longer be available after August 31st. &nbsp;
138140
<u>
139141
<b>
140142
<a target='_blank' href='https://console-preview.neo4j.io/tools/dashboards'>
@@ -150,7 +152,7 @@ const Application = ({
150152
</a>
151153
</b>
152154
</u>{' '}
153-
the NeoDash repository to learn more.
155+
the NeoDash repository to run NeoDash yourself.
154156
</Banner>
155157
) : (
156158
<></>
@@ -232,6 +234,7 @@ const mapStateToProps = (state) => ({
232234
reportHelpModalOpen: applicationHasReportHelpModalOpen(state),
233235
welcomeScreenOpen: applicationHasWelcomeScreenOpen(state),
234236
hasCachedDashboard: applicationHasCachedDashboard(state),
237+
deprecated: applicationIsDeprecated(state),
235238
getDebugState: () => {
236239
return applicationGetDebugState(state);
237240
}, // TODO - change this to be variable instead of a function?

src/application/ApplicationActions.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,3 +235,9 @@ export const setCustomHeader = (customHeader: any) => ({
235235
type: SET_CUSTOM_HEADER,
236236
payload: { customHeader },
237237
});
238+
239+
export const SET_DEPRECATION_NOTICE = 'APPLICATION/SET_DEPRECATION_NOTICE';
240+
export const setDeprecationNotice = (deprecated: boolean) => ({
241+
type: SET_DEPRECATION_NOTICE,
242+
payload: { deprecated },
243+
});

src/application/ApplicationReducer.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ import {
3939
SET_WAIT_FOR_SSO,
4040
SET_WELCOME_SCREEN_OPEN,
4141
SET_CUSTOM_HEADER,
42+
SET_DEPRECATION_NOTICE,
4243
} from './ApplicationActions';
4344
import {
4445
SET_LOGGING_MODE,
@@ -322,6 +323,11 @@ export const applicationReducer = (state = initialState, action: { type: any; pa
322323
state = update(state, { customHeader: customHeader });
323324
return state;
324325
}
326+
case SET_DEPRECATION_NOTICE: {
327+
const { deprecated } = payload;
328+
state = update(state, { deprecated: deprecated });
329+
return state;
330+
}
325331
default: {
326332
return state;
327333
}

src/application/ApplicationSelectors.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ export const applicationHasWelcomeScreenOpen = (state: any) => {
106106
return state.application.welcomeScreenOpen;
107107
};
108108

109+
export const applicationIsDeprecated = (state: any) => {
110+
return state.application.deprecated;
111+
};
112+
109113
export const applicationHasCachedDashboard = (state: any) => {
110114
// Avoid this expensive check when the application is connected, as it's only for the welcome screen.
111115
if (state.application.connected) {

src/application/ApplicationThunks.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ import {
4040
setReportHelpModalOpen,
4141
setDraft,
4242
setCustomHeader,
43+
setDeprecationNotice,
4344
} from './ApplicationActions';
4445
import { setLoggingMode, setLoggingDatabase, setLogErrorNotification } from './logging/LoggingActions';
4546
import { version } from '../modal/AboutModal';
@@ -397,6 +398,7 @@ export const loadApplicationConfigThunk = () => async (dispatch: any, getState:
397398
standaloneMultiDatabase: false,
398399
standaloneDatabaseList: 'neo4j',
399400
customHeader: '',
401+
deprecationNotice: false,
400402
};
401403
try {
402404
config = await (await fetch('config.json')).json();
@@ -463,7 +465,7 @@ export const loadApplicationConfigThunk = () => async (dispatch: any, getState:
463465
dispatch(setLogErrorNotification('3'));
464466

465467
dispatch(setConnectionModalOpen(false));
466-
468+
dispatch(setDeprecationNotice(config.deprecationNotice));
467469
dispatch(setCustomHeader(config.customHeader));
468470

469471
// Auto-upgrade the dashboard version if an old version is cached.

0 commit comments

Comments
 (0)