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 <alfredo.rubin@neo4j.com> * 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] <support@github.com> Co-authored-by: Harold Agudelo <agudeloharold13@gmail.com> 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] <support@github.com> Co-authored-by: Harold Agudelo <agudeloharold13@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Niels de Jong <Niels-121@hotmail.com> * 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] <support@github.com> Co-authored-by: Harold Agudelo <agudeloharold13@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Niels de Jong <Niels-121@hotmail.com> * 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] <support@github.com> Co-authored-by: Harold Agudelo <agudeloharold13@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Niels de Jong <Niels-121@hotmail.com> * 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 <niels-121@hotmail.com> * 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 <niels-121@hotmail.com> * VULCAN-126/Override default message (#683) * Override default message * Refactored code * refactored code * Added docs --------- Co-authored-by: Monish <139316519+m-o-n-i-s-h@users.noreply.github.com> * 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 <aleksandar.simeunovic@neotechnology.com> * Fix parameters values (#641) Co-authored-by: Niels de Jong <Niels-121@hotmail.com> * 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 <alfredo.rubin@neo4j.com> * 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 <niels-121@hotmail.com> Co-authored-by: Alfred Rubin <alfredo.rubin@neo4j.com> * 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 <aleksandar.simeunovic@neotechnology.com> * 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 <alfredo.rubin@neo4j.com> * 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 <alfredo.rubin@neo4j.com> Co-authored-by: jacobbleakley-neo4j <jacob.bleakley@neo4j.com> Co-authored-by: Niels de Jong <niels-121@hotmail.com> * 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 <alfredo.rubin@neo4j.com> Co-authored-by: Niels de Jong <niels-121@hotmail.com> * 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 <alfredo.rubin@neo4j.com> * 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] <support@github.com> Co-authored-by: Harold Agudelo <agudeloharold13@gmail.com> 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] <support@github.com> Co-authored-by: Harold Agudelo <agudeloharold13@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Niels de Jong <Niels-121@hotmail.com> * 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] <support@github.com> Co-authored-by: Harold Agudelo <agudeloharold13@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Niels de Jong <Niels-121@hotmail.com> * 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] <support@github.com> Co-authored-by: Harold Agudelo <agudeloharold13@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Niels de Jong <Niels-121@hotmail.com> * 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 <niels-121@hotmail.com> * 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 <niels-121@hotmail.com> * VULCAN-126/Override default message (#683) * Override default message * Refactored code * refactored code * Added docs --------- Co-authored-by: Monish <139316519+m-o-n-i-s-h@users.noreply.github.com> * 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 <aleksandar.simeunovic@neotechnology.com> * Fix parameters values (#641) Co-authored-by: Niels de Jong <Niels-121@hotmail.com> * 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 <alfredo.rubin@neo4j.com> * 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 <niels-121@hotmail.com> Co-authored-by: Alfred Rubin <alfredo.rubin@neo4j.com> * 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 <aleksandar.simeunovic@neotechnology.com> * 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 <alfredo.rubin@neo4j.com> * 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 <alfredo.rubin@neo4j.com> Co-authored-by: jacobbleakley-neo4j <jacob.bleakley@neo4j.com> Co-authored-by: Niels de Jong <niels-121@hotmail.com> * 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 <alfredo.rubin@neo4j.com> Co-authored-by: Niels de Jong <niels-121@hotmail.com> * fixing merge --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Alfred Rubin <alfredo.rubin@neo4j.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Harold Agudelo <agudeloharold13@gmail.com> Co-authored-by: Jon Ander Oribe <jonan.oribe@gmail.com> Co-authored-by: Antônio Hugo <hugorplobo@gmail.com> Co-authored-by: Monish <139316519+m-o-n-i-s-h@users.noreply.github.com> Co-authored-by: Aleksandar <aleksandar.simeunovic94@gmail.com> Co-authored-by: aleksandarneo4j <aleksandar.simeunovic@neotechnology.com> Co-authored-by: alfredorubin96 <103421036+alfredorubin96@users.noreply.github.com> Co-authored-by: jacobbleakley-neo4j <jacob.bleakley@neo4j.com> * 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] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Niels de Jong <Niels-121@hotmail.com> Co-authored-by: Alfred Rubin <alfredo.rubin@neo4j.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Harold Agudelo <agudeloharold13@gmail.com> Co-authored-by: Jon Ander Oribe <jonan.oribe@gmail.com> Co-authored-by: Antônio Hugo <hugorplobo@gmail.com> Co-authored-by: Monish <139316519+m-o-n-i-s-h@users.noreply.github.com> Co-authored-by: Aleksandar <aleksandar.simeunovic94@gmail.com> Co-authored-by: aleksandarneo4j <aleksandar.simeunovic@neotechnology.com> Co-authored-by: alfredorubin96 <103421036+alfredorubin96@users.noreply.github.com> Co-authored-by: jacobbleakley-neo4j <jacob.bleakley@neo4j.com> * 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 <p.baldinixx@gmail.com> Co-authored-by: BlackRaven <35220904+8Rav3n@users.noreply.github.com> Co-authored-by: Alfred Rubin <alfredo.rubin@neo4j.com> * 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 <alfredo.rubin@neo4j.com> Co-authored-by: Niels de Jong <niels-121@hotmail.com> * 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 <alfredo.rubin@neo4j.com> * 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] <support@github.com> Co-authored-by: Harold Agudelo <agudeloharold13@gmail.com> 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] <support@github.com> Co-authored-by: Harold Agudelo <agudeloharold13@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Niels de Jong <Niels-121@hotmail.com> * 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] <support@github.com> Co-authored-by: Harold Agudelo <agudeloharold13@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Niels de Jong <Niels-121@hotmail.com> * 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] <support@github.com> Co-authored-by: Harold Agudelo <agudeloharold13@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Niels de Jong <Niels-121@hotmail.com> * 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 <niels-121@hotmail.com> * 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 <niels-121@hotmail.com> * VULCAN-126/Override default message (#683) * Override default message * Refactored code * refactored code * Added docs --------- Co-authored-by: Monish <139316519+m-o-n-i-s-h@users.noreply.github.com> * 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 <aleksandar.simeunovic@neotechnology.com> * Fix parameters values (#641) Co-authored-by: Niels de Jong <Niels-121@hotmail.com> * 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 <alfredo.rubin@neo4j.com> * 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 <niels-121@hotmail.com> Co-authored-by: Alfred Rubin <alfredo.rubin@neo4j.com> * 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 <aleksandar.simeunovic@neotechnology.com> * 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 <alfredo.rubin@neo4j.com> * 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 <alfredo.rubin@neo4j.com> Co-authored-by: jacobbleakley-neo4j <jacob.bleakley@neo4j.com> Co-authored-by: Niels de Jong <niels-121@hotmail.com> * 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 <alfredo.rubin@neo4j.com> Co-authored-by: Niels de Jong <niels-121@hotmail.com> * fixing merge --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Alfred Rubin <alfredo.rubin@neo4j.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Harold Agudelo <agudeloharold13@gmail.com> Co-authored-by: Jon Ander Oribe <jonan.oribe@gmail.com> Co-authored-by: Antônio Hugo <hugorplobo@gmail.com> Co-authored-by: Monish <139316519+m-o-n-i-s-h@users.noreply.github.com> Co-authored-by: Aleksandar <aleksandar.simeunovic94@gmail.com> Co-authored-by: aleksandarneo4j <aleksandar.simeunovic@neotechnology.com> Co-authored-by: alfredorubin96 <103421036+alfredorubin96@users.noreply.github.com> Co-authored-by: jacobbleakley-neo4j <jacob.bleakley@neo4j.com> * Browser Tab titles * fix: dashboard tab title change * Added default tab title --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Niels de Jong <Niels-121@hotmail.com> Co-authored-by: Alfred Rubin <alfredo.rubin@neo4j.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Harold Agudelo <agudeloharold13@gmail.com> Co-authored-by: Jon Ander Oribe <jonan.oribe@gmail.com> Co-authored-by: Antônio Hugo <hugorplobo@gmail.com> Co-authored-by: Aleksandar <aleksandar.simeunovic94@gmail.com> Co-authored-by: aleksandarneo4j <aleksandar.simeunovic@neotechnology.com> Co-authored-by: alfredorubin96 <103421036+alfredorubin96@users.noreply.github.com> Co-authored-by: jacobbleakley-neo4j <jacob.bleakley@neo4j.com> * 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] <support@github.com> Co-authored-by: jacobbleakley-neo4j <jacob.bleakley@neo4j.com> Co-authored-by: Alfred Rubin <alfredo.rubin@neo4j.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Harold Agudelo <agudeloharold13@gmail.com> Co-authored-by: Jon Ander Oribe <jonan.oribe@gmail.com> Co-authored-by: Antônio Hugo <hugorplobo@gmail.com> Co-authored-by: Monish <139316519+m-o-n-i-s-h@users.noreply.github.com> Co-authored-by: Aleksandar <aleksandar.simeunovic94@gmail.com> Co-authored-by: aleksandarneo4j <aleksandar.simeunovic@neotechnology.com> Co-authored-by: alfredorubin96 <103421036+alfredorubin96@users.noreply.github.com> Co-authored-by: Felipe Rodrigues de Santana Freitag <felipefreitag08@hotmail.com> Co-authored-by: BlackRaven <p.baldinixx@gmail.com> Co-authored-by: BlackRaven <35220904+8Rav3n@users.noreply.github.com>
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.

0 commit comments

Comments
 (0)