Skip to content

Commit 615ece7

Browse files
authored
Merge pull request #37 from nielsdejong/develop
2.0.2 stability improvements
2 parents 9362682 + becec2b commit 615ece7

File tree

7 files changed

+52
-8
lines changed

7 files changed

+52
-8
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "neodash",
3-
"version": "2.0.0",
3+
"version": "2.0.2",
44
"description": "NeoDash - Neo4j Dashboard Builder",
55
"neo4jDesktop": {
66
"apiVersion": "^1.2.0"
@@ -37,7 +37,7 @@
3737
"@babel/preset-react": "^7.16.0",
3838
"@babel/preset-typescript": "^7.14.5",
3939
"@babel/register": "^7.14.5",
40-
"@graphapps/charts": "github:nielsdejong/charts#c88bc2aeae77c3541578c0455d05f2a6f9edc4f4",
40+
"@graphapps/charts": "github:nielsdejong/charts#cd8bf3707d48f2c34ec6a1ad126cfd28b5ac3065",
4141
"@types/chai": "^4.2.21",
4242
"@types/expect": "^24.3.0",
4343
"@types/leaflet": "^1.7.5",

release-notes.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
## NeoDash 2.0 (Stable)
2+
3+
- Added new Cypher editor with syntax highlighting / live syntax validation.
4+
- Redesigned Cypher query runner to be 2x more performant.
5+
- Easy custom styling of reports with the "advanced report settings" window.
6+
- New table view with post-query sorting and filtering, and highlighting of native Neo4j types.
7+
- Updated graph visualization library to a canvas-based renderer, handling 4x larger graphs.
8+
- Added custom node/relationship styling with custom colors, width, and font-size.
9+
- New bar/line chart visualizations based on @adam.cowley Charts.
10+
- Added support for multi-line charts, stacked/grouped bar charts.
11+
- Added custom styling options to map visualizations.
12+
- Added single value report.
13+
- Improved property selection report.
14+
- Added in-built documentation with example queries and visualizations.
15+
- Updated dashboard layout to better use screen real estate.
16+
- Added setting to turn entire dashboard into 'Presentation mode'.
17+
- Added option to save/load dashboards from both files and text.
18+
- New "Try a demo" button on the welcome screen.
19+
- Added "Share as standalone dashboard" feature to share window.
20+
- Added more examples to the documentation modal.
21+
- added save/load to Neo4j database feature.
22+
- Added log scale + explicit limit setting to bar/line charts.
23+
- Added optional "clear parameter" setting to parameter selection report.
24+
- Auto-convert older versions of NeoDash on load.
25+
- Added dictionary-based point property rendering on maps.
26+
- Added Dashboard sharing feature.
27+
- Custom styling (text alignment) of single value reports.
28+
- property selector now uses the filter to gather more results.
29+
- Fixed array display in table reports.
30+
- Better property display on graph visualization hover.

src/chart/TableChart.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,11 @@ function RenderTableValue(value, key = 0) {
5151
} else if (valueIsObject(value)) {
5252
return JSON.stringify(value);
5353
}
54-
return value.toString();
54+
const str = value.toString();
55+
if (str.startsWith("http") || str.startsWith("https")){
56+
return <a target="_blank" href={str}>{str}</a>;
57+
}
58+
return str;
5559
}
5660
const NeoTableChart = (props: ChartProps) => {
5761
if (props.records == null || props.records.length == 0 || props.records[0].keys == null) {

src/dashboard/DashboardHeaderPageButton.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,19 @@ export const NeoPageButton = ({ title, index, disabled = false, selected = false
3333
<InputBase
3434
value={titleText}
3535
onChange={(event) => {
36+
if(disabled){
37+
return;
38+
}
3639
onTitleUpdate(event);
3740
setTitleText(event.target.value);
3841
}}
39-
disabled={disabled}
42+
onFocus={(e) => {
43+
if(disabled){
44+
e.preventDefault();
45+
e.stopPropagation();
46+
}
47+
}}
48+
readonly={disabled}
4049
inputProps={{ style: { textTransform: 'none', cursor: 'pointer', fontWeight: 'normal' } }}
4150
style={{ height: "36px", width: "185px", paddingLeft: "10px", color: selected ? 'black' : '#888', textAlign: "center", textTransform: "uppercase" }}
4251
placeholder="Page name..."

src/modal/AboutModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import Badge from '@material-ui/core/Badge';
1212
export const NeoAboutModal = ({ open, handleClose }) => {
1313
const app = "NeoDash - Neo4j Dashboard Builder";
1414
const email = "[email protected]";
15-
const version = "2.0.0";
15+
const version = "2.0.1";
1616

1717
return (
1818
<div>

src/modal/LoadSharedDashboardModal.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,12 @@ export const NeoLoadSharedDashboardModal = ({ shareDetails, onResetShareDetails,
5151
</DialogTitle>
5252
<DialogContent>
5353
<DialogContentText>
54-
{/* You are loading a shared Neo4j dashboard: <b>My First Dashboard</b>.<br/> */}
54+
{shareDetails !== undefined ? <>
5555
You are loading a Neo4j dashboard.<br />
5656
{shareDetails && shareDetails.url ? <>You will be connected to <b>{shareDetails && shareDetails.url}</b>.</> : <>You will still need to specify a connection manually.</>}
5757
<br /> <br />
5858
This will override your current dashboard (if any). Continue?
59+
</> : <><br/><br/><br/></>}
5960
<br/>
6061

6162
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />

publish.sh renamed to tools/publish.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PWD=~/IdeaProjects/neodash/
1+
PWD=~/PycharmProjects/neodash/
22
APPNAME=NeoDash
33

44
cd $PWD
@@ -11,7 +11,7 @@ mv *.tgz target/
1111
cd target/
1212
tar -xvf *.tgz
1313
rm -f *.tgz
14-
# cp -r package/build package/dist
14+
mv package/build package/dist
1515
cp package/dist/favicon.ico package/favicon.ico
1616

1717
# Remove certificates and keys

0 commit comments

Comments
 (0)