Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
9154fac
Updated version number
nielsdejong Dec 12, 2021
582de5b
Expandable charts when not in edit mode
Dec 15, 2021
d89d283
Merge pull request #44 from JipSogeti/expandable-charts-in-presentati…
nielsdejong Dec 16, 2021
451d72a
Apply global parameter value to selection chart
Dec 16, 2021
31e2438
Get parameter value earlier to apply as default state
Dec 16, 2021
9be8454
Minor fixes to chart interface, reorganized code to be able to avoid …
nielsdejong Dec 17, 2021
59deec3
Added example on how to use maps when returning dictionaries
nielsdejong Dec 19, 2021
28aaa1a
Made connection modal dismissable when connected to Neo4j
nielsdejong Dec 19, 2021
e0c608e
Made fullscreen reports work for maps and lines, now optionally avail…
nielsdejong Dec 19, 2021
523931b
Fixed load dashboard functionality to automatically pick up the selec…
nielsdejong Dec 19, 2021
c8bc604
Added button for returning to main menu screen
nielsdejong Dec 19, 2021
9117b82
Fixed z-index for fullscreen mode
nielsdejong Dec 19, 2021
d83ac1a
Revert some changes and add more comments
Dec 20, 2021
0815b54
Merge branch 'develop' into parameter-select-apply-value
Dec 20, 2021
cdf6097
Resolved rendering issues when loading parameter selection reports wi…
nielsdejong Dec 23, 2021
f593aab
Merged with latest develop branch
nielsdejong Dec 23, 2021
5e80068
Show placeholder when no query is specified
nielsdejong Dec 23, 2021
5ed29e2
Reset extra parameters on page load for parameter select report
nielsdejong Dec 23, 2021
b664d68
Merge pull request #47 from JipSogeti/parameter-select-apply-value
nielsdejong Dec 27, 2021
f099193
Pass Parameter Select value via hash to iframe without re-rendering (…
Dec 27, 2021
0f27f42
Cleanup of global dashboard settings menu
nielsdejong Dec 27, 2021
8f10729
Improved user interface and examples
nielsdejong Jan 2, 2022
e293981
Graph modal (#51)
Jan 2, 2022
e7f8110
Resolved bug in rendering graphs with node pairs that have relationsh…
nielsdejong Jan 2, 2022
a996dcf
Added option to manually specify node labels/property names in select…
nielsdejong Jan 2, 2022
61c5284
Updated release notes
nielsdejong Jan 2, 2022
33e0630
Added debug report button. Fixed table size issues by upgrading to la…
nielsdejong Jan 5, 2022
3a2d400
Fixed custom column width issue
nielsdejong Jan 5, 2022
23b37e4
Fixed example documentation with new styling
nielsdejong Jan 5, 2022
732a718
Support rendering native and custom types in Data Grid (#54)
Jan 7, 2022
9485dd9
Resolved error with slow queries for single value reports
nielsdejong Jan 7, 2022
bb7f681
Graph nodes stick after dragging, added option to store fixed graph l…
nielsdejong Jan 8, 2022
b61526e
Added experimental graph layouts
nielsdejong Jan 9, 2022
9b548fa
Merge branch 'master' into develop
nielsdejong Jan 9, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "neodash",
"version": "2.0.4",
"version": "2.0.5",
"description": "NeoDash - Neo4j Dashboard Builder",
"neo4jDesktop": {
"apiVersion": "^1.2.0"
Expand Down Expand Up @@ -64,13 +64,16 @@
},
"dependencies": {
"@babel/runtime": "^7.14.6",
"@emotion/react": "^11.7.1",
"@emotion/styled": "^11.6.0",
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "^4.0.0-alpha.60",
"@material-ui/styles": "^4.11.4",
"@material-ui/system": "^4.12.1",
"@material-ui/utils": "^4.11.2",
"@mui/x-data-grid": "^4.0.1",
"@mui/material": "^5.2.7",
"@mui/x-data-grid": "^5.2.1",
"@react-leaflet/core": "1.0.2",
"codemirror": "^5.63.3",
"cypher-codemirror": "^1.1.7",
Expand Down
2 changes: 1 addition & 1 deletion public/embed-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</head>

<body>
<p>I am an iFrame of the page located at <a href="http://neodash.graphapp.io/embed-test.html" target="_blank">http://neodash.graphapp.io/embed-test.html</a></p>
<p>I am an iFrame of the page located at <a href="https://neodash.graphapp.io/embed-test.html" target="_blank">https://neodash.graphapp.io/embed-test.html</a></p>
<p>I'm embedded directly into a dashboard, and dynamically passed the user-made parameter selections.</p>
<p>I will not refresh when selections are updated, but, I can see variables change.</p>
<p>You can use me to embed external visualizations that are updated together with other charts.</p>
Expand Down
7 changes: 5 additions & 2 deletions public/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@
.MuiChip-root:before {
border: none !important;
}
.MuiDataGrid-columnsContainer {
/* .MuiDataGrid-columnHeaders {
min-height: 32px !important;
max-height: 32px !important;
line-height: 32px !important;
/* border-top: 1px solid rgba(224, 224, 224, 1); */
}

.MuiDataGrid-columnSeparator{
height: 32px;
}
Expand All @@ -70,6 +70,9 @@
overflow-y: hidden !important;
overflow-x: hidden !important;
}
.MuiTablePagination-root{
margin-top: -10px;
} */
.MuiTablePagination-root{
margin-top: -10px;
}
Expand Down
18 changes: 18 additions & 0 deletions release-notes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@

## NeoDash 2.0.5
Graph report:
- Fixed node position after dragging nodes.
- Added option to 'lock' graph views, storing the current positions of the nodes in the graph.
- Added experimental graph layouts.

Table:
- Fixed bug where the report freezes for very wide tables.
- Added support for rendering native/custom Neo4j types in the table.

Parameter select:
- Fixed issue where the dashboard crashes for slow connections.

Editor:
- Added button to create a debug file from the 'About' screen.


## NeoDash 2.0.4
New features:
- Added option dashboard setting to let users view reports in a fullscreen pop-up.
Expand Down
8 changes: 5 additions & 3 deletions src/application/Application.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import NeoNotificationModal from '../modal/NotificationModal';
import NeoWelcomeScreenModal from '../modal/WelcomeScreenModal';
import { removeReportRequest } from '../page/PageThunks';
import { connect } from 'react-redux';
import { applicationGetConnection, applicationGetShareDetails, applicationGetOldDashboard, applicationHasNeo4jDesktopConnection, applicationHasAboutModalOpen, applicationHasCachedDashboard, applicationHasConnectionModalOpen, applicationIsConnected, applicationHasWelcomeScreenOpen } from '../application/ApplicationSelectors';
import { applicationGetConnection, applicationGetShareDetails, applicationGetOldDashboard, applicationHasNeo4jDesktopConnection, applicationHasAboutModalOpen, applicationHasCachedDashboard, applicationHasConnectionModalOpen, applicationIsConnected, applicationHasWelcomeScreenOpen, applicationGetDebugState } from '../application/ApplicationSelectors';
import { createConnectionThunk, createConnectionFromDesktopIntegrationThunk, setDatabaseFromNeo4jDesktopIntegrationThunk, handleSharedDashboardsThunk, onConfirmLoadSharedDashboardThunk } from '../application/ApplicationThunks';
import { clearDesktopConnectionProperties, clearNotification, resetShareDetails, setAboutModalOpen, setConnected, setConnectionModalOpen, setDashboardToLoadAfterConnecting, setOldDashboard, setStandAloneMode, setWelcomeScreenOpen } from '../application/ApplicationActions';
import { resetDashboardState } from '../dashboard/DashboardActions';
Expand All @@ -29,7 +29,7 @@ import { NeoLoadSharedDashboardModal } from '../modal/LoadSharedDashboardModal';
const Application = ({ connection, connected, hasCachedDashboard, oldDashboard, clearOldDashboard,
connectionModalOpen, aboutModalOpen, loadDashboard, hasNeo4jDesktopConnection, shareDetails,
createConnection, createConnectionFromDesktopIntegration, onResetShareDetails, onConfirmLoadSharedDashboard,
initializeApplication, resetDashboard, onAboutModalOpen, onAboutModalClose,
initializeApplication, resetDashboard, onAboutModalOpen, onAboutModalClose, getDebugState,
welcomeScreenOpen, setWelcomeScreenOpen, onConnectionModalOpen, onConnectionModalClose }) => {

const [initialized, setInitialized] = React.useState(false);
Expand All @@ -48,7 +48,8 @@ const Application = ({ connection, connected, hasCachedDashboard, oldDashboard,
{(connected) ? <Dashboard></Dashboard> : <></>}
<NeoAboutModal
open={aboutModalOpen}
handleClose={onAboutModalClose}>
handleClose={onAboutModalClose}
getDebugState={getDebugState}>
</NeoAboutModal>
<NeoConnectionModal
open={connectionModalOpen}
Expand Down Expand Up @@ -90,6 +91,7 @@ const mapStateToProps = state => ({
aboutModalOpen: applicationHasAboutModalOpen(state),
welcomeScreenOpen: applicationHasWelcomeScreenOpen(state),
hasCachedDashboard: applicationHasCachedDashboard(state),
getDebugState: () => {return applicationGetDebugState(state)},
hasNeo4jDesktopConnection: applicationHasNeo4jDesktopConnection(state),
});

Expand Down
12 changes: 12 additions & 0 deletions src/application/ApplicationSelectors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,16 @@ export const applicationHasCachedDashboard = (state: any) => {
return false;
}
return !_.isEqual(state.dashboard, initialState);
}

/**
* Deep-copy the current state, and remove the password.
*/
export const applicationGetDebugState = (state: any) => {
const copy = JSON.parse(JSON.stringify(state));
copy.application.connection.password = "************";
if(copy.application.desktopConnection){
copy.application.desktopConnection.password = "************";
}
return copy;
}
Loading