Skip to content

Commit 25b225d

Browse files
nielsdejongjacobbleakley-neo4jalfredorubin96dependabot[bot]BennuFire
authored
2.4.2 Release (#752)
* Made API keys hidden (password fields) in the query translator module * Legend on bottom, working on scrolling * Scrolling added, legend gets cut off. Need to set width according to content * Set autowidth depending on length of array * wednesday * Added new report action type for tables: multiselect checkboxes (#664) * Work in progress on table checkboxes * Fix handling external updates of parameter values in parameter selector * Improved handling of multiselector parameters for tables with checkboxes * Removed console log statement. Fix invalid behaviour * Updated comments * Added multiselect value limit * Clean up action rule create modal * Added docs on multiple selection with table rows and report actions * Fix handling external updates of parameter values in parameter selector (#663) * Fix handling external updates of parameter values in parameter selector * Removed console log statement. Fix invalid behaviour * Updated comments * Feature/new dashboard load UI (#657) * Added sidebar prototype * Return of the sidebar * Add database selector to sidebar * Iterating on the dashboard sidebar interface * Fixed usage of hardcoded color * Updated dashboard loading mechanism, iterating * Updated dashboard loading mechanism, iterating * Updated file structure for dashboard sidebar * Improved modal/menu handling for dashboard load * Import/export dashboards * New dashboard sharing interface * Removed old save/load modal * Finalized v1 of the new multi-dashboard UI * removing useless imports * Removed old isLoaded in state of dashboard load screen. Updated warning buttons --------- Co-authored-by: Alfred Rubin <[email protected]> * monday * Horizontal/Vertical legend switch * Sorted graph sizing with padding * Tuesday Afternoon * Mapped bar chart event to standardized action event * Wednesday Morning * Added event handling for actions on bar charts * Fixed styling for bar chart report action * Bump @babel/traverse from 7.21.4 to 7.23.2 in /gallery (#670) Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.4 to 7.23.2. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse) --- updated-dependencies: - dependency-name: "@babel/traverse" dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Harold Agudelo <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @babel/traverse from 7.20.13 to 7.23.2 (#669) Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.13 to 7.23.2. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse) --- updated-dependencies: - dependency-name: "@babel/traverse" dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Harold Agudelo <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Niels de Jong <[email protected]> * Bump postcss from 8.4.23 to 8.4.31 in /gallery (#656) Bumps [postcss](https://github.com/postcss/postcss) from 8.4.23 to 8.4.31. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.4.23...8.4.31) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Harold Agudelo <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Niels de Jong <[email protected]> * Bump postcss from 8.4.21 to 8.4.31 (#655) Bumps [postcss](https://github.com/postcss/postcss) from 8.4.21 to 8.4.31. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.4.21...8.4.31) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Harold Agudelo <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Niels de Jong <[email protected]> * added minimum bar height * Text hard to read on dark theme (#668) * Hiding columns in Table does not work #374 * Revert "Hiding columns in Table does not work #374" This reverts commit dc36d84e9cc3de2dc3f8bd093328b991b22aadbb. * Text hard to read on Dark Theme #667 * Fixed code style --------- Co-authored-by: Niels de Jong <[email protected]> * Monday * Hotfix for wrong default parameter replacement in markdown * Add back arrow on connection modal (#675) * fix: add back arrow on connection modal * WIP on improved back arrow for connection modal * Fixed dismissable connection modal based on connected state and standalone mode --------- Co-authored-by: Niels de Jong <[email protected]> * VULCAN-126/Override default message (#683) * Override default message * Refactored code * refactored code * Added docs --------- Co-authored-by: Monish <[email protected]> * Added report action functionality in bar chart when using BarComponent * Fix/hiding columns in table (#685) * fixed the issues with not being able to close columns in table chart * reverted back to orignal testpass --------- Co-authored-by: aleksandarneo4j <[email protected]> * Fix parameters values (#641) Co-authored-by: Niels de Jong <[email protected]> * Removed adjustedData state for min bar height * Added comments to BarChart.tsx * Updated dashboard format to 2.4. Double resolution for horizontal and vertical card placement. Fixed several small usability issues (#682) * Updated dashboard format to 2.4. Double resolution for horizontal and vertical card placement. Fixed several small usability issues * Handling for dashboards in standalone mode * cleaning code followign SonarCloud code smells * changed migration function to reduce duplication, tested on twitter example dashboard * changed how we fetch the latest version of the code * changed migration function to reduce duplication, to test for applicationThunks --------- Co-authored-by: Alfred Rubin <[email protected]> * Feature/gantt chart (#684) * Added forms skeleton * Completed form skeleton * WIP on forms interface * Form framework (data entry, running, success, error) added * Added comments * Adding fields specification interface * UI for specifying individual parameter in a form * changing Dockerfile to enable args during build * fixing typo on argument in dockerfile * reverting dockerfile to older version * Rendering parameters inside the form component * Added docs for forms. Improved stability on form * Fixed warnings in console * Finished IT test for forms report * Added package * added new field to disable a parameter selector (in this way it works only with actions) * Gantt Chart Visualization * Fixed issue where parameter values were not updated on external changes * Fixed styling on freetext spinner * Workaround for clipping menu selectors in Needle * fix(rule based styling): js doing is magic with parseFloat (some strings were casted to floats event if they were just strings starting with 0 * Added save button to form create UI * removing console logs * Fix for needle dropdowns not showing on modals * Sortable list for form parameters * Improving the drag 'n drop * Iterating on form interface * Final version of forms * Disabling test * Gantt chart with live data * Improved robustness of form / parameter select component * Improve Gantt chart customizability. Added report action for Gantt charts * Added wait-logic for form submission, so that all fields are debounced and set correctly * Added multiline support for freetext parameter selector * Added support for drilled-down parameters used in the forms component * Fixed issues with parameter selector/forms, improve usability * Added default advanced settings to form * hanging if orders to prevent wrong casting to number for certain edge cases (EX: string with numbers and E : 00E1304) * adding more options to gantt chart and adding variable calendar type * Prototype of Frappe Gantt implementation * Improved version of frappe gantt * work in progress on new gantt chart * Clean up code structure * Clean up and documenting Gantt chart * Gantt chart stability & arrow directions * Handling task dependency directions in Gantt chart * Improved styling * More optimization & style fixes. * Added docs for Gantt Chart * Added rule-based styling and actions to Gantt chart * Finalized Gantt chart docs, examples, and fallback date parsing * removing code smells * trying to plug quarter date format and cleaning code * cleaning code accordingly to SonarCloud * Fixed UI not populating correctly for rule-based styling and actions * Gantt - fixed default width/height for bars. Visible labels. Handling quarters * Updated label positions * Fixed inspect modal for Gantt chart, fixed arrow spacing between tasks * Fixed linting issues --------- Co-authored-by: Niels de Jong <[email protected]> Co-authored-by: Alfred Rubin <[email protected]> * adding in advanced config for the graph viz more graph layout config … (#690) * adding in advanced config for the graph viz more graph layout config options * added doc about the new advanced setting --------- Co-authored-by: aleksandarneo4j <[email protected]> * Adding form widget as a new extension (#568) * Added forms skeleton * Completed form skeleton * WIP on forms interface * Form framework (data entry, running, success, error) added * Added comments * Adding fields specification interface * UI for specifying individual parameter in a form * changing Dockerfile to enable args during build * fixing typo on argument in dockerfile * reverting dockerfile to older version * Rendering parameters inside the form component * Added docs for forms. Improved stability on form * Fixed warnings in console * Finished IT test for forms report * added new field to disable a parameter selector (in this way it works only with actions) * Fixed issue where parameter values were not updated on external changes * Fixed styling on freetext spinner * Workaround for clipping menu selectors in Needle * fix(rule based styling): js doing is magic with parseFloat (some strings were casted to floats event if they were just strings starting with 0 * Added save button to form create UI * removing console logs * Fix for needle dropdowns not showing on modals * Sortable list for form parameters * Improving the drag 'n drop * Iterating on form interface * Final version of forms * Disabling test * Improved robustness of form / parameter select component * Updated docs, added clear form button * removing code smells * cleaning code followign SonarCloud code smells * cleaning code followign SonarCloud code smells * removing code smells * Intelligent parameters clearing in forms --------- Co-authored-by: Alfred Rubin <[email protected]> * Removed dependencies, reverted reportconfig bar chart order * Changed BarComponent always renders now so pointer always shows on bar. Changed lamda if statement to more readable syntax, removed handleBarClick function because unused. Removed minBarHeight arg from useEffect * moved onClick logic to handleBarClick const * Model Examples and LLM improvements (#600) * now when changing database in a card the query will retrigger correctly * adding schema sampling with apoc.meta.data and changing system prompt * cleaning code and adding examples management * starting working on plugging examples to the model * examples plugged to state and to the modelClient to add the example prompy * fixed examples in modelCLient because the there was a missing edge case * added Q&A form for AI training * Updated styling, added validation * validation on q&a form (to talk with Marius about UX and styling) * watching smells on sonarqube * Question Answer form updated with tailwind and needle styling * WIP creating edit Q&A modal * working on examples modal * WIP trying to get index prop to pass for ExampleEditorModal to work properly * fix * WIP * latest * plugging modelExamples table to the state and changing folder structure * Issue with addModelExample action call * working on model examples and fixing prompt behaviour * Paginated table implemented. Needs styling. * pagination done * Added cypher code editor. No line numbers right now - would be useful. Also no label for cypher editor * Added loading button when saving, error message if cypher editor is empty upon submission, removed legacy code * latest * ready for review * changing prompt * Updated. Fixed editing. Ready for Review * fixing code smells * WIP * WIP ExampleDisplayTable2 * styling and pagination needed * table done with styling, pagination * deleted old table * code smell 2/7 check * check smells * Checking smells * moving component inside const * Table ready for review * Added initial pageSize * Fixed instructions on 'tweak model' screen * Fixed instructions on 'tweak model' screen * Got rid of show number of queries per page * checking code smells * removing useless row from task definition * changing folder names and changin from lazy import to normal on in ExtensionConfig * removing code smells * removing code smells * removing code smells * Fixed double dependency on react-table * refactoring code according to Sonarcube code smelles and fixed play button on card vie w to rerun the chatCompletion * Improved names * Usability improvements for LLM extension * Updating docs * Added docs for custom LLM examples --------- Co-authored-by: Alfred Rubin <[email protected]> Co-authored-by: jacobbleakley-neo4j <[email protected]> Co-authored-by: Niels de Jong <[email protected]> * Extracted margin logic from BarChartComponent into new const * Extracted legend logic into separate function * extracted onChange and onInputChange to separate functions * Issue with setting customWidth * refactor: add explicit enum constants * Added release notes for 2.4 + bonus feature (keyboard shortcut to run query from the editor) (#694) * Release notes for 2.4 * Updated release notes. Added quick feature to run reports with keyboard shortcuts * Finalized release notes * Hotfix for not clearing disabled parameters in forms * Finalized release notes * Removed old gantt chart dependency * Bump docs version to 2.4 * Fixed issue with CodeMirror editor not capturing keys in Cypress test * Hotfix for automigrated tree layouts * Hotfixes for Sonarqube issues * minor fix in the forms where it wasn't getting the correct value in the settings * Fix hiding column prefix (#695) * fixing missing feature that was hiding columns starting with __ * removing test console log * removing code smell * removing code smell * fixing test * Bumped outdated version numbers --------- Co-authored-by: Alfred Rubin <[email protected]> Co-authored-by: Niels de Jong <[email protected]> * fixing merge * Added manual legendWidth back in * Font-color not changed in graph contextual popups when in dark mode #621 * Fixed styling of report action and moved visualisation logic to outside table elements in ARCM * Friday * refactor: extract unions to explicit types * Updated documentation * fixed most code smells * Fix for only displaying active databases in the sidebar (#698) * Removed checked in html file * fixed typos, dependencies, UX * Fix bugs in actions helper * refactor: add value to input * refactor: update any types * Enabled page switch actions on bar charts * Change on filter tooltip to avoid hide table data * removing code smells * Fixed bug (hopefully) * Added comments for styles naming convention * Bump @adobe/css-tools from 4.3.1 to 4.3.2 (#720) * 2.4.0 update (#696) * Made API keys hidden (password fields) in the query translator module * Added new report action type for tables: multiselect checkboxes (#664) * Work in progress on table checkboxes * Fix handling external updates of parameter values in parameter selector * Improved handling of multiselector parameters for tables with checkboxes * Removed console log statement. Fix invalid behaviour * Updated comments * Added multiselect value limit * Clean up action rule create modal * Added docs on multiple selection with table rows and report actions * Fix handling external updates of parameter values in parameter selector (#663) * Fix handling external updates of parameter values in parameter selector * Removed console log statement. Fix invalid behaviour * Updated comments * Feature/new dashboard load UI (#657) * Added sidebar prototype * Return of the sidebar * Add database selector to sidebar * Iterating on the dashboard sidebar interface * Fixed usage of hardcoded color * Updated dashboard loading mechanism, iterating * Updated dashboard loading mechanism, iterating * Updated file structure for dashboard sidebar * Improved modal/menu handling for dashboard load * Import/export dashboards * New dashboard sharing interface * Removed old save/load modal * Finalized v1 of the new multi-dashboard UI * removing useless imports * Removed old isLoaded in state of dashboard load screen. Updated warning buttons --------- Co-authored-by: Alfred Rubin <[email protected]> * Bump @babel/traverse from 7.21.4 to 7.23.2 in /gallery (#670) Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.4 to 7.23.2. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse) --- updated-dependencies: - dependency-name: "@babel/traverse" dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Harold Agudelo <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @babel/traverse from 7.20.13 to 7.23.2 (#669) Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.13 to 7.23.2. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse) --- updated-dependencies: - dependency-name: "@babel/traverse" dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Harold Agudelo <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Niels de Jong <[email protected]> * Bump postcss from 8.4.23 to 8.4.31 in /gallery (#656) Bumps [postcss](https://github.com/postcss/postcss) from 8.4.23 to 8.4.31. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.4.23...8.4.31) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Harold Agudelo <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Niels de Jong <[email protected]> * Bump postcss from 8.4.21 to 8.4.31 (#655) Bumps [postcss](https://github.com/postcss/postcss) from 8.4.21 to 8.4.31. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.4.21...8.4.31) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Harold Agudelo <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Niels de Jong <[email protected]> * Text hard to read on dark theme (#668) * Hiding columns in Table does not work #374 * Revert "Hiding columns in Table does not work #374" This reverts commit dc36d84e9cc3de2dc3f8bd093328b991b22aadbb. * Text hard to read on Dark Theme #667 * Fixed code style --------- Co-authored-by: Niels de Jong <[email protected]> * Hotfix for wrong default parameter replacement in markdown * Add back arrow on connection modal (#675) * fix: add back arrow on connection modal * WIP on improved back arrow for connection modal * Fixed dismissable connection modal based on connected state and standalone mode --------- Co-authored-by: Niels de Jong <[email protected]> * VULCAN-126/Override default message (#683) * Override default message * Refactored code * refactored code * Added docs --------- Co-authored-by: Monish <[email protected]> * Fix/hiding columns in table (#685) * fixed the issues with not being able to close columns in table chart * reverted back to orignal testpass --------- Co-authored-by: aleksandarneo4j <[email protected]> * Fix parameters values (#641) Co-authored-by: Niels de Jong <[email protected]> * Updated dashboard format to 2.4. Double resolution for horizontal and vertical card placement. Fixed several small usability issues (#682) * Updated dashboard format to 2.4. Double resolution for horizontal and vertical card placement. Fixed several small usability issues * Handling for dashboards in standalone mode * cleaning code followign SonarCloud code smells * changed migration function to reduce duplication, tested on twitter example dashboard * changed how we fetch the latest version of the code * changed migration function to reduce duplication, to test for applicationThunks --------- Co-authored-by: Alfred Rubin <[email protected]> * Feature/gantt chart (#684) * Added forms skeleton * Completed form skeleton * WIP on forms interface * Form framework (data entry, running, success, error) added * Added comments * Adding fields specification interface * UI for specifying individual parameter in a form * changing Dockerfile to enable args during build * fixing typo on argument in dockerfile * reverting dockerfile to older version * Rendering parameters inside the form component * Added docs for forms. Improved stability on form * Fixed warnings in console * Finished IT test for forms report * Added package * added new field to disable a parameter selector (in this way it works only with actions) * Gantt Chart Visualization * Fixed issue where parameter values were not updated on external changes * Fixed styling on freetext spinner * Workaround for clipping menu selectors in Needle * fix(rule based styling): js doing is magic with parseFloat (some strings were casted to floats event if they were just strings starting with 0 * Added save button to form create UI * removing console logs * Fix for needle dropdowns not showing on modals * Sortable list for form parameters * Improving the drag 'n drop * Iterating on form interface * Final version of forms * Disabling test * Gantt chart with live data * Improved robustness of form / parameter select component * Improve Gantt chart customizability. Added report action for Gantt charts * Added wait-logic for form submission, so that all fields are debounced and set correctly * Added multiline support for freetext parameter selector * Added support for drilled-down parameters used in the forms component * Fixed issues with parameter selector/forms, improve usability * Added default advanced settings to form * hanging if orders to prevent wrong casting to number for certain edge cases (EX: string with numbers and E : 00E1304) * adding more options to gantt chart and adding variable calendar type * Prototype of Frappe Gantt implementation * Improved version of frappe gantt * work in progress on new gantt chart * Clean up code structure * Clean up and documenting Gantt chart * Gantt chart stability & arrow directions * Handling task dependency directions in Gantt chart * Improved styling * More optimization & style fixes. * Added docs for Gantt Chart * Added rule-based styling and actions to Gantt chart * Finalized Gantt chart docs, examples, and fallback date parsing * removing code smells * trying to plug quarter date format and cleaning code * cleaning code accordingly to SonarCloud * Fixed UI not populating correctly for rule-based styling and actions * Gantt - fixed default width/height for bars. Visible labels. Handling quarters * Updated label positions * Fixed inspect modal for Gantt chart, fixed arrow spacing between tasks * Fixed linting issues --------- Co-authored-by: Niels de Jong <[email protected]> Co-authored-by: Alfred Rubin <[email protected]> * adding in advanced config for the graph viz more graph layout config … (#690) * adding in advanced config for the graph viz more graph layout config options * added doc about the new advanced setting --------- Co-authored-by: aleksandarneo4j <[email protected]> * Adding form widget as a new extension (#568) * Added forms skeleton * Completed form skeleton * WIP on forms interface * Form framework (data entry, running, success, error) added * Added comments * Adding fields specification interface * UI for specifying individual parameter in a form * changing Dockerfile to enable args during build * fixing typo on argument in dockerfile * reverting dockerfile to older version * Rendering parameters inside the form component * Added docs for forms. Improved stability on form * Fixed warnings in console * Finished IT test for forms report * added new field to disable a parameter selector (in this way it works only with actions) * Fixed issue where parameter values were not updated on external changes * Fixed styling on freetext spinner * Workaround for clipping menu selectors in Needle * fix(rule based styling): js doing is magic with parseFloat (some strings were casted to floats event if they were just strings starting with 0 * Added save button to form create UI * removing console logs * Fix for needle dropdowns not showing on modals * Sortable list for form parameters * Improving the drag 'n drop * Iterating on form interface * Final version of forms * Disabling test * Improved robustness of form / parameter select component * Updated docs, added clear form button * removing code smells * cleaning code followign SonarCloud code smells * cleaning code followign SonarCloud code smells * removing code smells * Intelligent parameters clearing in forms --------- Co-authored-by: Alfred Rubin <[email protected]> * Model Examples and LLM improvements (#600) * now when changing database in a card the query will retrigger correctly * adding schema sampling with apoc.meta.data and changing system prompt * cleaning code and adding examples management * starting working on plugging examples to the model * examples plugged to state and to the modelClient to add the example prompy * fixed examples in modelCLient because the there was a missing edge case * added Q&A form for AI training * Updated styling, added validation * validation on q&a form (to talk with Marius about UX and styling) * watching smells on sonarqube * Question Answer form updated with tailwind and needle styling * WIP creating edit Q&A modal * working on examples modal * WIP trying to get index prop to pass for ExampleEditorModal to work properly * fix * WIP * latest * plugging modelExamples table to the state and changing folder structure * Issue with addModelExample action call * working on model examples and fixing prompt behaviour * Paginated table implemented. Needs styling. * pagination done * Added cypher code editor. No line numbers right now - would be useful. Also no label for cypher editor * Added loading button when saving, error message if cypher editor is empty upon submission, removed legacy code * latest * ready for review * changing prompt * Updated. Fixed editing. Ready for Review * fixing code smells * WIP * WIP ExampleDisplayTable2 * styling and pagination needed * table done with styling, pagination * deleted old table * code smell 2/7 check * check smells * Checking smells * moving component inside const * Table ready for review * Added initial pageSize * Fixed instructions on 'tweak model' screen * Fixed instructions on 'tweak model' screen * Got rid of show number of queries per page * checking code smells * removing useless row from task definition * changing folder names and changin from lazy import to normal on in ExtensionConfig * removing code smells * removing code smells * removing code smells * Fixed double dependency on react-table * refactoring code according to Sonarcube code smelles and fixed play button on card vie w to rerun the chatCompletion * Improved names * Usability improvements for LLM extension * Updating docs * Added docs for custom LLM examples --------- Co-authored-by: Alfred Rubin <[email protected]> Co-authored-by: jacobbleakley-neo4j <[email protected]> Co-authored-by: Niels de Jong <[email protected]> * Added release notes for 2.4 + bonus feature (keyboard shortcut to run query from the editor) (#694) * Release notes for 2.4 * Updated release notes. Added quick feature to run reports with keyboard shortcuts * Finalized release notes * Hotfix for not clearing disabled parameters in forms * Finalized release notes * Removed old gantt chart dependency * Bump docs version to 2.4 * Fixed issue with CodeMirror editor not capturing keys in Cypress test * Hotfix for automigrated tree layouts * Hotfixes for Sonarqube issues * minor fix in the forms where it wasn't getting the correct value in the settings * Fix hiding column prefix (#695) * fixing missing feature that was hiding columns starting with __ * removing test console log * removing code smell * removing code smell * fixing test * Bumped outdated version numbers --------- Co-authored-by: Alfred Rubin <[email protected]> Co-authored-by: Niels de Jong <[email protected]> * fixing merge --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Alfred Rubin <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Harold Agudelo <[email protected]> Co-authored-by: Jon Ander Oribe <[email protected]> Co-authored-by: Antônio Hugo <[email protected]> Co-authored-by: Monish <[email protected]> Co-authored-by: Aleksandar <[email protected]> Co-authored-by: aleksandarneo4j <[email protected]> Co-authored-by: alfredorubin96 <[email protected]> Co-authored-by: jacobbleakley-neo4j <[email protected]> * Bump @adobe/css-tools from 4.3.1 to 4.3.2 Bumps [@adobe/css-tools](https://github.com/adobe/css-tools) from 4.3.1 to 4.3.2. - [Changelog](https://github.com/adobe/css-tools/blob/main/History.md) - [Commits](https://github.com/adobe/css-tools/commits) --- updated-dependencies: - dependency-name: "@adobe/css-tools" dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Niels de Jong <[email protected]> Co-authored-by: Alfred Rubin <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Harold Agudelo <[email protected]> Co-authored-by: Jon Ander Oribe <[email protected]> Co-authored-by: Antônio Hugo <[email protected]> Co-authored-by: Monish <[email protected]> Co-authored-by: Aleksandar <[email protected]> Co-authored-by: aleksandarneo4j <[email protected]> Co-authored-by: alfredorubin96 <[email protected]> Co-authored-by: jacobbleakley-neo4j <[email protected]> * Feature/8raven (#705) * Title not editable in standalone mode * standalone load v1 (working) * load from database refinements with new conf var * config.json reset to defaults * first implementation - needs few refinements * index on feature/log: ceda481c first implementation - needs few refinements * added Tooltip for Save button in standalone mode * polished * fix on error notification * minor refinement in documentation * hide logout button in standalone mode * man merge d137081cfde4b2d5dcf1192b8a9be675e953bd0b * man chg 0484e44ed345e8a9008fcebc8753ddf881f038f1 * added configuration to allow multiple data DBs * fix on config-entrypoint and reorder parameters * bugfix on config-entrypoint.sh * fix to update standaloneDB for standaloneMultiDB * added useffect in card.tsx to save DB * query modified in saveDashboardThunks * updated config-entrypoint * added config parameter to set cusom Header * documentation * fix dirt in style.config * fix dirt in config.json * Update ApplicationConfig.ts fix dirt * moving logging logic to its own reducer * fixing new selector and small refactorings * cleaning code and testing standalone * adding database list check * changing version to 3.18 to address address Cve-2023-4863 and cve-2023-38039 * removing unused imports * working on final release * fixed dashboards sidebar error when the db doesn't contain any dashboard and tested standalone * removing useless import * removing change in runCypherQuery and reusing the status of the queryResult correctly to trigger db change * removing change in runCypherQuery and reusing the status of the queryResult correctly to trigger db change --------- Co-authored-by: BlackRaven <[email protected]> Co-authored-by: BlackRaven <[email protected]> Co-authored-by: Alfred Rubin <[email protected]> * Fixed menu placement for node property selector in form modal * Fix race condition caused by incorrect date casted from serialized dashboard format * Parameter selector suggestions are now sorted by length * Improved styling of dashboard header buttons, download CSV button (#729) * Bumped version to 2.4.1 & added release notes (#731) * Bumped version to 2.4.1 * Updated release notes * Removed duplicate key in dependencies * Added release note detail on bar charts * fixing rule based styling wrong casting at number * Hotfix for broken custom header deployments * changing report config default options (#724) * changing report config default options * Minor style fixes --------- Co-authored-by: Alfred Rubin <[email protected]> Co-authored-by: Niels de Jong <[email protected]> * Browser tab titles (#708) * 2.4.0 update (#696) * Made API keys hidden (password fields) in the query translator module * Added new report action type for tables: multiselect checkboxes (#664) * Work in progress on table checkboxes * Fix handling external updates of parameter values in parameter selector * Improved handling of multiselector parameters for tables with checkboxes * Removed console log statement. Fix invalid behaviour * Updated comments * Added multiselect value limit * Clean up action rule create modal * Added docs on multiple selection with table rows and report actions * Fix handling external updates of parameter values in parameter selector (#663) * Fix handling external updates of parameter values in parameter selector * Removed console log statement. Fix invalid behaviour * Updated comments * Feature/new dashboard load UI (#657) * Added sidebar prototype * Return of the sidebar * Add database selector to sidebar * Iterating on the dashboard sidebar interface * Fixed usage of hardcoded color * Updated dashboard loading mechanism, iterating * Updated dashboard loading mechanism, iterating * Updated file structure for dashboard sidebar * Improved modal/menu handling for dashboard load * Import/export dashboards * New dashboard sharing interface * Removed old save/load modal * Finalized v1 of the new multi-dashboard UI * removing useless imports * Removed old isLoaded in state of dashboard load screen. Updated warning buttons --------- Co-authored-by: Alfred Rubin <[email protected]> * Bump @babel/traverse from 7.21.4 to 7.23.2 in /gallery (#670) Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.4 to 7.23.2. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse) --- updated-dependencies: - dependency-name: "@babel/traverse" dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Harold Agudelo <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @babel/traverse from 7.20.13 to 7.23.2 (#669) Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.13 to 7.23.2. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse) --- updated-dependencies: - dependency-name: "@babel/traverse" dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Harold Agudelo <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Niels de Jong <[email protected]> * Bump postcss from 8.4.23 to 8.4.31 in /gallery (#656) Bumps [postcss](https://github.com/postcss/postcss) from 8.4.23 to 8.4.31. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.4.23...8.4.31) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Harold Agudelo <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Niels de Jong <[email protected]> * Bump postcss from 8.4.21 to 8.4.31 (#655) Bumps [postcss](https://github.com/postcss/postcss) from 8.4.21 to 8.4.31. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.4.21...8.4.31) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Harold Agudelo <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Niels de Jong <[email protected]> * Text hard to read on dark theme (#668) * Hiding columns in Table does not work #374 * Revert "Hiding columns in Table does not work #374" This reverts commit dc36d84e9cc3de2dc3f8bd093328b991b22aadbb. * Text hard to read on Dark Theme #667 * Fixed code style --------- Co-authored-by: Niels de Jong <[email protected]> * Hotfix for wrong default parameter replacement in markdown * Add back arrow on connection modal (#675) * fix: add back arrow on connection modal * WIP on improved back arrow for connection modal * Fixed dismissable connection modal based on connected state and standalone mode --------- Co-authored-by: Niels de Jong <[email protected]> * VULCAN-126/Override default message (#683) * Override default message * Refactored code * refactored code * Added docs --------- Co-authored-by: Monish <[email protected]> * Fix/hiding columns in table (#685) * fixed the issues with not being able to close columns in table chart * reverted back to orignal testpass --------- Co-authored-by: aleksandarneo4j <[email protected]> * Fix parameters values (#641) Co-authored-by: Niels de Jong <[email protected]> * Updated dashboard format to 2.4. Double resolution for horizontal and vertical card placement. Fixed several small usability issues (#682) * Updated dashboard format to 2.4. Double resolution for horizontal and vertical card placement. Fixed several small usability issues * Handling for dashboards in standalone mode * cleaning code followign SonarCloud code smells * changed migration function to reduce duplication, tested on twitter example dashboard * changed how we fetch the latest version of the code * changed migration function to reduce duplication, to test for applicationThunks --------- Co-authored-by: Alfred Rubin <[email protected]> * Feature/gantt chart (#684) * Added forms skeleton * Completed form skeleton * WIP on forms interface * Form framework (data entry, running, success, error) added * Added comments * Adding fields specification interface * UI for specifying individual parameter in a form * changing Dockerfile to enable args during build * fixing typo on argument in dockerfile * reverting dockerfile to older version * Rendering parameters inside the form component * Added docs for forms. Improved stability on form * Fixed warnings in console * Finished IT test for forms report * Added package * added new field to disable a parameter selector (in this way it works only with actions) * Gantt Chart Visualization * Fixed issue where parameter values were not updated on external changes * Fixed styling on freetext spinner * Workaround for clipping menu selectors in Needle * fix(rule based styling): js doing is magic with parseFloat (some strings were casted to floats event if they were just strings starting with 0 * Added save button to form create UI * removing console logs * Fix for needle dropdowns not showing on modals * Sortable list for form parameters * Improving the drag 'n drop * Iterating on form interface * Final version of forms * Disabling test * Gantt chart with live data * Improved robustness of form / parameter select component * Improve Gantt chart customizability. Added report action for Gantt charts * Added wait-logic for form submission, so that all fields are debounced and set correctly * Added multiline support for freetext parameter selector * Added support for drilled-down parameters used in the forms component * Fixed issues with parameter selector/forms, improve usability * Added default advanced settings to form * hanging if orders to prevent wrong casting to number for certain edge cases (EX: string with numbers and E : 00E1304) * adding more options to gantt chart and adding variable calendar type * Prototype of Frappe Gantt implementation * Improved version of frappe gantt * work in progress on new gantt chart * Clean up code structure * Clean up and documenting Gantt chart * Gantt chart stability & arrow directions * Handling task dependency directions in Gantt chart * Improved styling * More optimization & style fixes. * Added docs for Gantt Chart * Added rule-based styling and actions to Gantt chart * Finalized Gantt chart docs, examples, and fallback date parsing * removing code smells * trying to plug quarter date format and cleaning code * cleaning code accordingly to SonarCloud * Fixed UI not populating correctly for rule-based styling and actions * Gantt - fixed default width/height for bars. Visible labels. Handling quarters * Updated label positions * Fixed inspect modal for Gantt chart, fixed arrow spacing between tasks * Fixed linting issues --------- Co-authored-by: Niels de Jong <[email protected]> Co-authored-by: Alfred Rubin <[email protected]> * adding in advanced config for the graph viz more graph layout config … (#690) * adding in advanced config for the graph viz more graph layout config options * added doc about the new advanced setting --------- Co-authored-by: aleksandarneo4j <[email protected]> * Adding form widget as a new extension (#568) * Added forms skeleton * Completed form skeleton * WIP on forms interface * Form framework (data entry, running, success, error) added * Added comments * Adding fields specification interface * UI for specifying individual parameter in a form * changing Dockerfile to enable args during build * fixing typo on argument in dockerfile * reverting dockerfile to older version * Rendering parameters inside the form component * Added docs for forms. Improved stability on form * Fixed warnings in console * Finished IT test for forms report * added new field to disable a parameter selector (in this way it works only with actions) * Fixed issue where parameter values were not updated on external changes * Fixed styling on freetext spinner * Workaround for clipping menu selectors in Needle * fix(rule based styling): js doing is magic with parseFloat (some strings were casted to floats event if they were just strings starting with 0 * Added save button to form create UI * removing console logs * Fix for needle dropdowns not showing on modals * Sortable list for form parameters * Improving the drag 'n drop * Iterating on form interface * Final version of forms * Disabling test * Improved robustness of form / parameter select component * Updated docs, added clear form button * removing code smells * cleaning code followign SonarCloud code smells * cleaning code followign SonarCloud code smells * removing code smells * Intelligent parameters clearing in forms --------- Co-authored-by: Alfred Rubin <[email protected]> * Model Examples and LLM improvements (#600) * now when changing database in a card the query will retrigger correctly * adding schema sampling with apoc.meta.data and changing system prompt * cleaning code and adding examples management * starting working on plugging examples to the model * examples plugged to state and to the modelClient to add the example prompy * fixed examples in modelCLient because the there was a missing edge case * added Q&A form for AI training * Updated styling, added validation * validation on q&a form (to talk with Marius about UX and styling) * watching smells on sonarqube * Question Answer form updated with tailwind and needle styling * WIP creating edit Q&A modal * working on examples modal * WIP trying to get index prop to pass for ExampleEditorModal to work properly * fix * WIP * latest * plugging modelExamples table to the state and changing folder structure * Issue with addModelExample action call * working on model examples and fixing prompt behaviour * Paginated table implemented. Needs styling. * pagination done * Added cypher code editor. No line numbers right now - would be useful. Also no label for cypher editor * Added loading button when saving, error message if cypher editor is empty upon submission, removed legacy code * latest * ready for review * changing prompt * Updated. Fixed editing. Ready for Review * fixing code smells * WIP * WIP ExampleDisplayTable2 * styling and pagination needed * table done with styling, pagination * deleted old table * code smell 2/7 check * check smells * Checking smells * moving component inside const * Table ready for review * Added initial pageSize * Fixed instructions on 'tweak model' screen * Fixed instructions on 'tweak model' screen * Got rid of show number of queries per page * checking code smells * removing useless row from task definition * changing folder names and changin from lazy import to normal on in ExtensionConfig * removing code smells * removing code smells * removing code smells * Fixed double dependency on react-table * refactoring code according to Sonarcube code smelles and fixed play button on card vie w to rerun the chatCompletion * Improved names * Usability improvements for LLM extension * Updating docs * Added docs for custom LLM examples --------- Co-authored-by: Alfred Rubin <[email protected]> Co-authored-by: jacobbleakley-neo4j <[email protected]> Co-authored-by: Niels de Jong <[email protected]> * Added release notes for 2.4 + bonus feature (keyboard shortcut to run query from the editor) (#694) * Release notes for 2.4 * Updated release notes. Added quick feature to run reports with keyboard shortcuts * Finalized release notes * Hotfix for not clearing disabled parameters in forms * Finalized release notes * Removed old gantt chart dependency * Bump docs version to 2.4 * Fixed issue with CodeMirror editor not capturing keys in Cypress test * Hotfix for automigrated tree layouts * Hotfixes for Sonarqube issues * minor fix in the forms where it wasn't getting the correct value in the settings * Fix hiding column prefix (#695) * fixing missing feature that was hiding columns starting with __ * removing test console log * removing code smell * removing code smell * fixing test * Bumped outdated version numbers --------- Co-authored-by: Alfred Rubin <[email protected]> Co-authored-by: Niels de Jong <[email protected]> * fixing merge --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Alfred Rubin <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Harold Agudelo <[email protected]> Co-authored-by: Jon Ander Oribe <[email protected]> Co-authored-by: Antônio Hugo <[email protected]> Co-authored-by: Monish <[email protected]> Co-authored-by: Aleksandar <[email protected]> Co-authored-by: aleksandarneo4j <[email protected]> Co-authored-by: alfredorubin96 <[email protected]> Co-authored-by: jacobbleakley-neo4j <[email protected]> * Browser Tab titles * fix: dashboard tab title change * Added default tab title --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Niels de Jong <[email protected]> Co-authored-by: Alfred Rubin <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Harold Agudelo <[email protected]> Co-authored-by: Jon Ander Oribe <[email protected]> Co-authored-by: Antônio Hugo <[email protected]> Co-authored-by: Aleksandar <[email protected]> Co-authored-by: aleksandarneo4j <[email protected]> Co-authored-by: alfredorubin96 <[email protected]> Co-authored-by: jacobbleakley-neo4j <[email protected]> * Fixed linting. Added dark mode fix for graphs (#743) * Adding in 3D graph visualization as an advanced visualization (#737) * Multiple relationships between nodes in 3D graph & self-loops * Refactoring graph code * Renamed files for graph visualization interface * Refactored 2D/3D graph to share a common base * Enabled report actions * Finalized 3D graph code * Added docs for 3D graph * Fixed non-https placeholder for advanced setting * Actions/rule-based styling for 3d graph * Improved handling of draft dashboards in the sidebar, allowing to distinguish between save/overwrite (#734) * Improved handling of draft dashboards in the sidebar, allowing to distinguish between logical saves/overwrites * Ordering dashboard list by name rather than edit date * Added parameter select setting for autopopulating first selector value (#746) * Added setting for autoselecting first parameter select value * Sorting returned auto selector values * Selecting the first value of the suggestions correctly * 2.4.2 Release Notes (#745) * Added 2.4.2 release notes template * WIP on changelog * Finalized release notes * Collection of bug fixes for the 2.4.2 release (#744) * Fixed issue where table action rule creation modal displayed invalid suggestions * Add support for links in table actions, as well as improved rendering of links in markdown * No longer rendering empty buttons for missing values in table actions * Fix number formatting to always use en-US locale * Fixed issue where dashboard database was not set correctly for share links without credentials * Fixed dashboard title visibility in sidebar * Added missing setting to pie chart configuration * Clean up code, remove old console.log statements * Stability and UX for table checkbox actiosn * Handling shared dashboards in standalone mode * Added hidden setting for hiding the plaintext password warning. Fixed issue with casting null dates * Style tweaks for reports without footers * Fixed styling defaults for bar chart * Fixed fullscreen views * Freetext parameter with manual save style fixes * clean up graph editing modal * Correction to release notes * Robustness of actions rule create modal * Improved comments * Hotfix for typo in release notes * Final docs for 2.4.2 release --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: jacobbleakley-neo4j <[email protected]> Co-authored-by: Alfred Rubin <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Harold Agudelo <[email protected]> Co-authored-by: Jon Ander Oribe <[email protected]> Co-authored-by: Antônio Hugo <[email protected]> Co-authored-by: Monish <[email protected]> Co-authored-by: Aleksandar <[email protected]> Co-authored-by: aleksandarneo4j <[email protected]> Co-authored-by: alfredorubin96 <[email protected]> Co-authored-by: Felipe Rodrigues de Santana Freitag <[email protected]> Co-authored-by: BlackRaven <[email protected]> Co-authored-by: BlackRaven <[email protected]>
1 parent 632749e commit 25b225d

File tree

65 files changed

+1241
-901
lines changed

Some content is hidden

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

65 files changed

+1241
-901
lines changed

.github/workflows/master-deployment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
context: .
8080
file: ./Dockerfile
8181
push: true
82-
tags: ${{ secrets.DOCKER_HUB_LABS_USERNAME }}/neodash:latest,${{ secrets.DOCKER_HUB_LABS_USERNAME }}/neodash:2.4.1
82+
tags: ${{ secrets.DOCKER_HUB_LABS_USERNAME }}/neodash:latest,${{ secrets.DOCKER_HUB_LABS_USERNAME }}/neodash:2.4.2
8383
build-docker-legacy:
8484
needs: build-test
8585
runs-on: neodash-runners
@@ -103,7 +103,7 @@ jobs:
103103
context: .
104104
file: ./Dockerfile
105105
push: true
106-
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/neodash:latest,${{ secrets.DOCKER_HUB_USERNAME }}/neodash:2.4.1
106+
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/neodash:latest,${{ secrets.DOCKER_HUB_USERNAME }}/neodash:2.4.2
107107
deploy-gallery:
108108
runs-on: neodash-runners
109109
strategy:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ USER nginx
4343
EXPOSE $NGINX_PORT
4444

4545
HEALTHCHECK cmd curl --fail "http://localhost:$NGINX_PORT" || exit 1
46-
LABEL version="2.4.1"
46+
LABEL version="2.4.2"

changelog.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
## NeoDash 2.4.2
2+
This is a release with a large amount of quality of life improvements, as well as some new features:
3+
4+
- Visualize graphs in 3D with the new 3D graph report. [#737](https://github.com/neo4j-labs/neodash/pull/737)
5+
- Improved dashboard management sidebar and handling of drafts. [#734](https://github.com/neo4j-labs/neodash/pull/734)
6+
- Added parameter select setting for autopopulating first selector value. [#746](https://github.com/neo4j-labs/neodash/pull/746)
7+
- Improved UX for editing page names & dashboard titles. [#743](https://github.com/neo4j-labs/neodash/pull/743)
8+
- Unified common settings for each report type. [#724](https://github.com/neo4j-labs/neodash/pull/724)
9+
- Title of the browser tab NeoDash runs on is now automatically set to the dashboard name. [#708](https://github.com/neo4j-labs/neodash/pull/708)
10+
- Fixed issue where invisible table columns were not handled correctly. [#695](https://github.com/neo4j-labs/neodash/pull/695)
11+
- Miscellaneous bug fixes, style improvements & stability fixes. [#744](https://github.com/neo4j-labs/neodash/pull/744)
12+
13+
114
## NeoDash 2.4.1
215
This is a patch release following 2.4.0. It contains several new features for self-hosted (standalone) NeoDash deployments, as well as a variety of UX improvements for dashboard editors.
316

docs/modules/ROOT/images/graph3d.png

52.4 KB
Loading
71.7 KB
Loading

docs/modules/ROOT/nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
*** xref:user-guide/reports/bar-chart.adoc[Bar Chart]
1010
*** xref:user-guide/reports/pie-chart.adoc[Pie Chart]
1111
*** xref:user-guide/reports/line-chart.adoc[Line Chart]
12+
*** xref:user-guide/reports/graph3d.adoc[3D Graph]
1213
*** xref:user-guide/reports/sunburst.adoc[Sunburst]
1314
*** xref:user-guide/reports/circle-packing.adoc[Circle Packing]
1415
*** xref:user-guide/reports/choropleth.adoc[Choropleth]

docs/modules/ROOT/pages/developer-guide/deploy-a-build.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Depending on the webserver type and version, this could be different directory.
3737
As an example - to copy the files to an nginx webserver using `scp`:
3838

3939
```bash
40-
scp neodash-2.4.1 username@host:/usr/share/nginx/html
40+
scp neodash-2.4.2 username@host:/usr/share/nginx/html
4141
```
4242

4343
NeoDash should now be visible by visiting your (sub)domain in the browser.

docs/modules/ROOT/pages/user-guide/extensions/advanced-visualizations.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ For specific use-cases, these visualizations may convey information that a simpl
55
To use advanced visualizations, enable them in the **Extensions Window**. This makes them selectable inside reports, as well as add examples to the Example window.
66

77
The following visualizations are part of this extension:
8-
8+
- A link:../../reports/graph3d[3D Graph] to visualize a graph in three dimensions.
99
- A link:../../reports/sankey[Sankey Chart] to visualize flows.
1010
- Three charts to plot hierarchical data (link:../../reports/sunburst[Sunburst], link:../../reports/circle-packing[Circle Packing], link:../../reports/treemap[Treemap])
1111
- A link:../../reports/gauge-chart[Gauge Chart] to show percentages.

docs/modules/ROOT/pages/user-guide/reports/graph.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RETURN p, a, m
2626

2727
image::graph.png[Basic Graph]
2828

29-
== Virtual Graph (apoc is required)
29+
== Virtual Graph
3030

3131
....
3232
MATCH (p:Person)-[:ACTED_IN]->(m:Movie)<-[:ACTED_IN]-(p2:Person)
Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
= 3D Graph
2+
3+
link:../../extensions/advanced-visualizations[label:Advanced&nbsp;Visualization[]]
4+
5+
The 3D graph report extends the default graph visualization with another dimension.
6+
It supports most of the features & customizations for the regular (2D) graph, including rule-based styling and report actions.
7+
Users can explore the 3D graph by zooming and panning through 3D space.
8+
9+
10+
== Examples
11+
12+
=== Basic Graph
13+
14+
....
15+
MATCH (p:Person)-[a:ACTED_IN]->(m:Movie)
16+
WHERE m.title = 'The Matrix'
17+
RETURN p, a, m
18+
....
19+
20+
image::graph3d.png[Basic 3D Graph]
21+
22+
== Virtual Graph
23+
24+
....
25+
MATCH (p:Person)-[:ACTED_IN]->(m:Movie)<-[:ACTED_IN]-(p2:Person)
26+
WHERE m.title = "The Matrix"
27+
RETURN p, p2, apoc.create.vRelationship(p, "KNOWS", {}, p2)
28+
....
29+
30+
image::graph3dvirtual.png[Virtual 3D Graph]
31+
32+
== Advanced Settings
33+
34+
[width="100%",cols="12%,2%,3%,83%",options="header",]
35+
|===
36+
|Name |Type |Default Value |Description
37+
|Node Color Scheme |List |neodash |The color scheme to use for the node
38+
labels. Colors are assigned automatically (consequitevely) to the
39+
different labels returned by the Cypher query.
40+
41+
|Node Label Color |Text |black |The color of the labels drawn on the
42+
nodes.
43+
44+
|Node Label Font Size |Number |3.5 |Size of the labels drawn on the
45+
nodes.
46+
47+
|Node Size |Number |2 |Default size of a node in the graph
48+
visualization. This size is applied if no custom size styling is defined
49+
and no Rule-Based styling is active.
50+
51+
|Node Size Property |Text |size |Optionally, the name of the node
52+
property to map to the node size. This lets you define sizes on a
53+
node-specific level, if you have a property that directly maps to the
54+
numeric size value.
55+
56+
|Node Color Property |Text |color |Optionally, the name of the node
57+
property to map to the node color. This lets you define colors on a
58+
node-specific level, if you have a property that directly maps to the
59+
HTML color value.
60+
61+
|Relationship Color |Text |#a0a0a0 |The color used for drawing the
62+
relationship arrows in the visualization.
63+
64+
|Relationship Width |Text |1 |The (default) width of the relationship
65+
arrows in the visualization.
66+
67+
|Relationship Label Color |Text |#a0a0a0 |The color of the labels
68+
(relationship type) drawn next to the relationship arrows.
69+
70+
|Relationship Label Font Size |Text |2.75 |The font size of the labels
71+
(relationship type) drawn next to the relationship arrows.
72+
73+
|Relationship Color Property |Text |color |Optionally, the name of the
74+
relationship property to map to the arrow color. This lets you define
75+
colors on a relationship-specific level, if you have a property that
76+
directly maps to the HTML color value.
77+
78+
|Relationship Width Property |Text |width |Optionally, the name of the
79+
relationship property to map to the arrow width. This lets you define
80+
widths on a relationship-specific level, if you have a property that
81+
directly maps to the width value.
82+
83+
|Animated Particles on Relationships |on/off |off |If enabled, draw
84+
relationships with animated particles on them, moving in the direction
85+
of the relationship.
86+
87+
|Arrow head size |Number |3 |Use this to set the length of the arrow head, size is adjusted automatically.
88+
If 0, no arrow will be drawn.
89+
90+
|Background Color |Text |#fafafa |The background color of the
91+
visualization.
92+
93+
|Layout (experimental) |List |force-directed |tree-top-down |tree-bottom-up |tree-left-right |tree-right-left |radial | Use this to switch from
94+
the main (force-directed) layout to one of the experimental layouts
95+
(tree, radial). For the experimental layouts, make sure
96+
your graph is a DAG (directed acyclic graph).
97+
98+
| Graph Depth Separation | Number | 30 | Specify the level distance for the tree layout.
99+
This setting controls the separation between different levels in the tree hierarchy. Adjusting this value impacts the overall spacing of the tree layout in your graph visualization.
100+
101+
|Enable graph exploration |on/off |on |Enables basic exploration functionality for the graph. Exploration can be done by right clicking on a node, and choosing 'Expand' to choose a type to traverse. Data is retrieved real-time and not cached in the visualization.
102+
103+
|Enable graph editing |on/off |off |Enables editing of nodes and relationships in the graph from the right-click context menu. In addition, lets users create new relationships with existing types/property keys as present in the database.
104+
105+
|Show pop-up on Hover |on/off |on |if enabled, shows a pop-up when a
106+
user hovers over one of the nodes/relationships in the visualization.
107+
The pop-up contains the label and properties of the node/relationship.
108+
109+
|Show properties on Click |on/off |on |if enabled, opens up a window
110+
when a user clicks on one of the nodes/relationships in the
111+
visualization. The window contains the label and properties of the
112+
node/relationship.
113+
114+
|Drilldown Link |Text (URL) |(no value) |Specifying a URL here will
115+
display a floating button on the top right of the visualization. This
116+
button can be used to drilldown into a different tool (e.g. Bloom) so
117+
that the graph can be explored further. Dynamic Dashboard Parameters
118+
(e.g. $neodash_person_name) can be used in these links as well.
119+
120+
|Hide Selections |on/off |off |If enabled, hides the property selector
121+
(footer of the visualization).
122+
123+
|Override no data message |Text |Query returned no data. |Override the message displayed to the user when their query returns no data.
124+
125+
|Auto-run query |on/off |on |when activated automatically runs the query
126+
when the report is displayed. When set to `off', the query is displayed
127+
and will need to be executed manually.
128+
|Report Description |markdown text | | When specified, adds another button the report header that opens a pop-up. This pop-up contains the rendered markdown from this setting.
129+
|===
130+
131+
== Rule-Based Styling
132+
133+
Using the link:../#_rule_based_styling[Rule-Based Styling] menu, the
134+
following style rules can be applied to the graph:
135+
136+
- The background color of a node.
137+
- The label color of a node.

docs/modules/ROOT/pages/user-guide/reports/index.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ pages:
9393
- link:bar-chart[Bar Chart]
9494
- link:pie-chart[Pie Chart]
9595
- link:line-chart[Line Chart]
96+
- link:graph3d[3D Graph]
9697
- link:sunburst[Sunburst]
9798
- link:circle-packing[Circle Packing]
9899
- link:treemap[Treemap]

gallery/tsconfig.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
{
22
"compilerOptions": {
33
"target": "es5",
4-
"lib": [
5-
"dom",
6-
"dom.iterable",
7-
"esnext"
8-
],
4+
"lib": ["dom", "dom.iterable", "esnext"],
95
"allowJs": true,
106
"skipLibCheck": true,
117
"esModuleInterop": true,
@@ -20,7 +16,5 @@
2016
"noEmit": true,
2117
"jsx": "react-jsx"
2218
},
23-
"include": [
24-
"src"
25-
],
19+
"include": ["src"]
2620
}

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "neodash",
3-
"version": "2.4.1",
3+
"version": "2.4.2",
44
"description": "NeoDash - Neo4j Dashboard Builder",
55
"neo4jDesktop": {
66
"apiVersion": "^1.2.0"
@@ -81,6 +81,7 @@
8181
"react-cool-dimensions": "^2.0.7",
8282
"react-dom": "^17.0.2",
8383
"react-force-graph-2d": "^1.23.8",
84+
"react-force-graph-3d": "^1.24.1",
8485
"react-gauge-chart": "^0.4.1",
8586
"react-grid-layout": "^1.3.4",
8687
"react-leaflet": "^3.2.5",
@@ -97,6 +98,8 @@
9798
"remark-gfm": "^3.0.1",
9899
"reselect": "^4.1.8",
99100
"tailwindcss": "^3.3.2",
101+
"three": "^0.159.0",
102+
"three-spritetext": "^1.8.1",
100103
"use-neo4j": "^0.3.13",
101104
"yaml": "^2.2.1"
102105
},

public/style.css

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@
9595
}
9696

9797
.react-resizable-handle {
98-
bottom: 1px !important;
98+
bottom: 4px !important;
99+
right: -2px !important;
99100
opacity: 0.5;
100101
color: rgb(222, 222, 222);
101102
}
@@ -165,7 +166,7 @@
165166
white-space: pre;
166167
background-position: 0px -11px;
167168
padding-right: 0px !important;
168-
margin-top: 0px !important;
169+
margin-top: 0px;
169170
padding-left: 30px;
170171
padding-top: 0px !important;
171172
padding-bottom: 0px !important;
@@ -216,7 +217,7 @@
216217
}
217218

218219
.card-view .MuiTablePagination-root {
219-
margin-top: -40px;
220+
margin-top: 0px;
220221

221222
}
222223

@@ -253,3 +254,7 @@
253254
display: none;
254255
}
255256
/* End Gantt chart workaround */
257+
258+
.markdown-widget a {
259+
text-decoration: underline;
260+
}

release-notes.md

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,11 @@
1-
## NeoDash 2.4.1
2-
This is a patch release following 2.4.0. It contains several new features for self-hosted (standalone) NeoDash deployments, as well as a variety of UX improvements for dashboard editors.
3-
4-
5-
Included:
6-
- Improvements to customizability of the bar chart (styling, legend customization, report actions). [#689](https://github.com/neo4j-labs/neodash/pull/689)
7-
- Improved dashboard settings interface, fixed alignment for table download button. [#729](https://github.com/neo4j-labs/neodash/pull/729)
8-
- Adjusted ordering of suggested labels/properties for parameter selectors. [#728](https://github.com/neo4j-labs/neodash/pull/728)
9-
- Better handling of date parameters when saving/loading dashboards. [#727](https://github.com/neo4j-labs/neodash/pull/727)
10-
- Fixed incorrect z-index issue for form creation modals. [#726](https://github.com/neo4j-labs/neodash/pull/726)
11-
- Adjusted filtering tooltip on tables to avoid hiding result data. [#712](https://github.com/neo4j-labs/neodash/pull/712)
12-
- Fixed uncontrolled component issue for dashboard import modal. [#711](https://github.com/neo4j-labs/neodash/pull/711)
13-
- Adjusted font color of graph context popups to use theme colors. [#699](https://github.com/neo4j-labs/neodash/pull/699)
14-
- Adjust sidebar database selector to only show active databases. [#698](https://github.com/neo4j-labs/neodash/pull/698)
15-
- Incorporated logging functionality for self-hosted NeoDash deployments. [#705](https://github.com/neo4j-labs/neodash/pull/705)
16-
- Improved dashboard management in standalone-mode deployments. [#705](https://github.com/neo4j-labs/neodash/pull/705)
17-
- Added Docker parameter for overriding the app's logo & custom header. [#705](https://github.com/neo4j-labs/neodash/pull/705)
18-
- Changed the dashboard 'save' action to a logical merge, rather than a delete + create, allowing to persist labels across saves. [#705](https://github.com/neo4j-labs/neodash/pull/705)
19-
- Docker: Updated Alpine base image to mitigate CVE-2023-38039 & CVE-2023-4863. [#705](https://github.com/neo4j-labs/neodash/pull/705)
1+
## NeoDash 2.4.2
2+
This is a release with a large amount of quality of life improvements, as well as some new features:
203

4+
- Visualize graphs in 3D with the new 3D graph report. [#737](https://github.com/neo4j-labs/neodash/pull/737)
5+
- Improved dashboard management sidebar and handling of drafts. [#734](https://github.com/neo4j-labs/neodash/pull/734)
6+
- Added parameter select setting for autopopulating first selector value. [#746](https://github.com/neo4j-labs/neodash/pull/746)
7+
- Improved UX for editing page names & dashboard titles. [#743](https://github.com/neo4j-labs/neodash/pull/743)
8+
- Unified common settings for each report type. [#724](https://github.com/neo4j-labs/neodash/pull/724)
9+
- Title of the browser tab NeoDash runs on is now automatically set to the dashboard name. [#708](https://github.com/neo4j-labs/neodash/pull/708)
10+
- Fixed issue where invisible table columns were not handled correctly. [#695](https://github.com/neo4j-labs/neodash/pull/695)
11+
- Miscellaneous bug fixes, style improvements & stability fixes. [#744](https://github.com/neo4j-labs/neodash/pull/744)

src/application/ApplicationActions.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ export const setStandaloneEnabled = (
150150
standaloneDashboardURL: string,
151151
standaloneUsername: string,
152152
standalonePassword: string,
153+
standalonePasswordWarningHidden: boolean,
153154
standaloneAllowLoad: boolean,
154155
standaloneLoadFromOtherDatabases: boolean,
155156
standaloneMultiDatabase: boolean,
@@ -167,6 +168,7 @@ export const setStandaloneEnabled = (
167168
standaloneDashboardURL,
168169
standaloneUsername,
169170
standalonePassword,
171+
standalonePasswordWarningHidden,
170172
standaloneAllowLoad,
171173
standaloneLoadFromOtherDatabases,
172174
standaloneMultiDatabase,

src/application/ApplicationReducer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ export const applicationReducer = (state = initialState, action: { type: any; pa
195195
standaloneDashboardURL,
196196
standaloneUsername,
197197
standalonePassword,
198+
standalonePasswordWarningHidden,
198199
standaloneAllowLoad,
199200
standaloneLoadFromOtherDatabases,
200201
standaloneMultiDatabase,
@@ -211,6 +212,7 @@ export const applicationReducer = (state = initialState, action: { type: any; pa
211212
standaloneDashboardURL: standaloneDashboardURL,
212213
standaloneUsername: standaloneUsername,
213214
standalonePassword: standalonePassword,
215+
standalonePasswordWarningHidden: standalonePasswordWarningHidden,
214216
standaloneAllowLoad: standaloneAllowLoad,
215217
standaloneLoadFromOtherDatabases: standaloneLoadFromOtherDatabases,
216218
standaloneMultiDatabase: standaloneMultiDatabase,

src/application/ApplicationSelectors.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ export const applicationGetStandaloneSettings = (state: any) => {
9494
standaloneDashboardURL: state.application.standaloneDashboardURL,
9595
standaloneUsername: state.application.standaloneUsername,
9696
standalonePassword: state.application.standalonePassword,
97+
standalonePasswordWarningHidden: state.application.standalonePasswordWarningHidden,
9798
standaloneAllowLoad: state.application.standaloneAllowLoad,
9899
standaloneLoadFromOtherDatabases: state.application.standaloneLoadFromOtherDatabases,
99100
standaloneMultiDatabase: state.application.standaloneMultiDatabase,

0 commit comments

Comments
 (0)