Skip to content

Commit

Permalink
2.4.2 Release (#752)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
14 people authored Jan 12, 2024
1 parent 632749e commit 25b225d
Show file tree
Hide file tree
Showing 65 changed files with 1,241 additions and 901 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/master-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKER_HUB_LABS_USERNAME }}/neodash:latest,${{ secrets.DOCKER_HUB_LABS_USERNAME }}/neodash:2.4.1
tags: ${{ secrets.DOCKER_HUB_LABS_USERNAME }}/neodash:latest,${{ secrets.DOCKER_HUB_LABS_USERNAME }}/neodash:2.4.2
build-docker-legacy:
needs: build-test
runs-on: neodash-runners
Expand All @@ -103,7 +103,7 @@ jobs:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/neodash:latest,${{ secrets.DOCKER_HUB_USERNAME }}/neodash:2.4.1
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/neodash:latest,${{ secrets.DOCKER_HUB_USERNAME }}/neodash:2.4.2
deploy-gallery:
runs-on: neodash-runners
strategy:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ USER nginx
EXPOSE $NGINX_PORT

HEALTHCHECK cmd curl --fail "http://localhost:$NGINX_PORT" || exit 1
LABEL version="2.4.1"
LABEL version="2.4.2"
13 changes: 13 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## NeoDash 2.4.2
This is a release with a large amount of quality of life improvements, as well as some new features:

- Visualize graphs in 3D with the new 3D graph report. [#737](https://github.com/neo4j-labs/neodash/pull/737)
- Improved dashboard management sidebar and handling of drafts. [#734](https://github.com/neo4j-labs/neodash/pull/734)
- Added parameter select setting for autopopulating first selector value. [#746](https://github.com/neo4j-labs/neodash/pull/746)
- Improved UX for editing page names & dashboard titles. [#743](https://github.com/neo4j-labs/neodash/pull/743)
- Unified common settings for each report type. [#724](https://github.com/neo4j-labs/neodash/pull/724)
- 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)
- Fixed issue where invisible table columns were not handled correctly. [#695](https://github.com/neo4j-labs/neodash/pull/695)
- Miscellaneous bug fixes, style improvements & stability fixes. [#744](https://github.com/neo4j-labs/neodash/pull/744)


## NeoDash 2.4.1
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.

Expand Down
Binary file added docs/modules/ROOT/images/graph3d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/modules/ROOT/images/graph3dvirtual.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*** xref:user-guide/reports/bar-chart.adoc[Bar Chart]
*** xref:user-guide/reports/pie-chart.adoc[Pie Chart]
*** xref:user-guide/reports/line-chart.adoc[Line Chart]
*** xref:user-guide/reports/graph3d.adoc[3D Graph]
*** xref:user-guide/reports/sunburst.adoc[Sunburst]
*** xref:user-guide/reports/circle-packing.adoc[Circle Packing]
*** xref:user-guide/reports/choropleth.adoc[Choropleth]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Depending on the webserver type and version, this could be different directory.
As an example - to copy the files to an nginx webserver using `scp`:

```bash
scp neodash-2.4.1 username@host:/usr/share/nginx/html
scp neodash-2.4.2 username@host:/usr/share/nginx/html
```

NeoDash should now be visible by visiting your (sub)domain in the browser.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ For specific use-cases, these visualizations may convey information that a simpl
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.

The following visualizations are part of this extension:

- A link:../../reports/graph3d[3D Graph] to visualize a graph in three dimensions.
- A link:../../reports/sankey[Sankey Chart] to visualize flows.
- Three charts to plot hierarchical data (link:../../reports/sunburst[Sunburst], link:../../reports/circle-packing[Circle Packing], link:../../reports/treemap[Treemap])
- A link:../../reports/gauge-chart[Gauge Chart] to show percentages.
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/user-guide/reports/graph.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RETURN p, a, m

image::graph.png[Basic Graph]

== Virtual Graph (apoc is required)
== Virtual Graph

....
MATCH (p:Person)-[:ACTED_IN]->(m:Movie)<-[:ACTED_IN]-(p2:Person)
Expand Down
137 changes: 137 additions & 0 deletions docs/modules/ROOT/pages/user-guide/reports/graph3d.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
= 3D Graph

link:../../extensions/advanced-visualizations[label:Advanced&nbsp;Visualization[]]

The 3D graph report extends the default graph visualization with another dimension.
It supports most of the features & customizations for the regular (2D) graph, including rule-based styling and report actions.
Users can explore the 3D graph by zooming and panning through 3D space.


== Examples

=== Basic Graph

....
MATCH (p:Person)-[a:ACTED_IN]->(m:Movie)
WHERE m.title = 'The Matrix'
RETURN p, a, m
....

image::graph3d.png[Basic 3D Graph]

== Virtual Graph

....
MATCH (p:Person)-[:ACTED_IN]->(m:Movie)<-[:ACTED_IN]-(p2:Person)
WHERE m.title = "The Matrix"
RETURN p, p2, apoc.create.vRelationship(p, "KNOWS", {}, p2)
....

image::graph3dvirtual.png[Virtual 3D Graph]

== Advanced Settings

[width="100%",cols="12%,2%,3%,83%",options="header",]
|===
|Name |Type |Default Value |Description
|Node Color Scheme |List |neodash |The color scheme to use for the node
labels. Colors are assigned automatically (consequitevely) to the
different labels returned by the Cypher query.

|Node Label Color |Text |black |The color of the labels drawn on the
nodes.

|Node Label Font Size |Number |3.5 |Size of the labels drawn on the
nodes.

|Node Size |Number |2 |Default size of a node in the graph
visualization. This size is applied if no custom size styling is defined
and no Rule-Based styling is active.

|Node Size Property |Text |size |Optionally, the name of the node
property to map to the node size. This lets you define sizes on a
node-specific level, if you have a property that directly maps to the
numeric size value.

|Node Color Property |Text |color |Optionally, the name of the node
property to map to the node color. This lets you define colors on a
node-specific level, if you have a property that directly maps to the
HTML color value.

|Relationship Color |Text |#a0a0a0 |The color used for drawing the
relationship arrows in the visualization.

|Relationship Width |Text |1 |The (default) width of the relationship
arrows in the visualization.

|Relationship Label Color |Text |#a0a0a0 |The color of the labels
(relationship type) drawn next to the relationship arrows.

|Relationship Label Font Size |Text |2.75 |The font size of the labels
(relationship type) drawn next to the relationship arrows.

|Relationship Color Property |Text |color |Optionally, the name of the
relationship property to map to the arrow color. This lets you define
colors on a relationship-specific level, if you have a property that
directly maps to the HTML color value.

|Relationship Width Property |Text |width |Optionally, the name of the
relationship property to map to the arrow width. This lets you define
widths on a relationship-specific level, if you have a property that
directly maps to the width value.

|Animated Particles on Relationships |on/off |off |If enabled, draw
relationships with animated particles on them, moving in the direction
of the relationship.

|Arrow head size |Number |3 |Use this to set the length of the arrow head, size is adjusted automatically.
If 0, no arrow will be drawn.

|Background Color |Text |#fafafa |The background color of the
visualization.

|Layout (experimental) |List |force-directed |tree-top-down |tree-bottom-up |tree-left-right |tree-right-left |radial | Use this to switch from
the main (force-directed) layout to one of the experimental layouts
(tree, radial). For the experimental layouts, make sure
your graph is a DAG (directed acyclic graph).

| Graph Depth Separation | Number | 30 | Specify the level distance for the tree layout.
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.

|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.

|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.

|Show pop-up on Hover |on/off |on |if enabled, shows a pop-up when a
user hovers over one of the nodes/relationships in the visualization.
The pop-up contains the label and properties of the node/relationship.

|Show properties on Click |on/off |on |if enabled, opens up a window
when a user clicks on one of the nodes/relationships in the
visualization. The window contains the label and properties of the
node/relationship.

|Drilldown Link |Text (URL) |(no value) |Specifying a URL here will
display a floating button on the top right of the visualization. This
button can be used to drilldown into a different tool (e.g. Bloom) so
that the graph can be explored further. Dynamic Dashboard Parameters
(e.g. $neodash_person_name) can be used in these links as well.

|Hide Selections |on/off |off |If enabled, hides the property selector
(footer of the visualization).

|Override no data message |Text |Query returned no data. |Override the message displayed to the user when their query returns no data.

|Auto-run query |on/off |on |when activated automatically runs the query
when the report is displayed. When set to `off', the query is displayed
and will need to be executed manually.
|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.
|===

== Rule-Based Styling

Using the link:../#_rule_based_styling[Rule-Based Styling] menu, the
following style rules can be applied to the graph:

- The background color of a node.
- The label color of a node.
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/user-guide/reports/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ pages:
- link:bar-chart[Bar Chart]
- link:pie-chart[Pie Chart]
- link:line-chart[Line Chart]
- link:graph3d[3D Graph]
- link:sunburst[Sunburst]
- link:circle-packing[Circle Packing]
- link:treemap[Treemap]
Expand Down
10 changes: 2 additions & 8 deletions gallery/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
Expand All @@ -20,7 +16,5 @@
"noEmit": true,
"jsx": "react-jsx"
},
"include": [
"src"
],
"include": ["src"]
}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "neodash",
"version": "2.4.1",
"version": "2.4.2",
"description": "NeoDash - Neo4j Dashboard Builder",
"neo4jDesktop": {
"apiVersion": "^1.2.0"
Expand Down Expand Up @@ -81,6 +81,7 @@
"react-cool-dimensions": "^2.0.7",
"react-dom": "^17.0.2",
"react-force-graph-2d": "^1.23.8",
"react-force-graph-3d": "^1.24.1",
"react-gauge-chart": "^0.4.1",
"react-grid-layout": "^1.3.4",
"react-leaflet": "^3.2.5",
Expand All @@ -97,6 +98,8 @@
"remark-gfm": "^3.0.1",
"reselect": "^4.1.8",
"tailwindcss": "^3.3.2",
"three": "^0.159.0",
"three-spritetext": "^1.8.1",
"use-neo4j": "^0.3.13",
"yaml": "^2.2.1"
},
Expand Down
11 changes: 8 additions & 3 deletions public/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@
}

.react-resizable-handle {
bottom: 1px !important;
bottom: 4px !important;
right: -2px !important;
opacity: 0.5;
color: rgb(222, 222, 222);
}
Expand Down Expand Up @@ -165,7 +166,7 @@
white-space: pre;
background-position: 0px -11px;
padding-right: 0px !important;
margin-top: 0px !important;
margin-top: 0px;
padding-left: 30px;
padding-top: 0px !important;
padding-bottom: 0px !important;
Expand Down Expand Up @@ -216,7 +217,7 @@
}

.card-view .MuiTablePagination-root {
margin-top: -40px;
margin-top: 0px;

}

Expand Down Expand Up @@ -253,3 +254,7 @@
display: none;
}
/* End Gantt chart workaround */

.markdown-widget a {
text-decoration: underline;
}
29 changes: 10 additions & 19 deletions release-notes.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
## NeoDash 2.4.1
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.


Included:
- Improvements to customizability of the bar chart (styling, legend customization, report actions). [#689](https://github.com/neo4j-labs/neodash/pull/689)
- Improved dashboard settings interface, fixed alignment for table download button. [#729](https://github.com/neo4j-labs/neodash/pull/729)
- Adjusted ordering of suggested labels/properties for parameter selectors. [#728](https://github.com/neo4j-labs/neodash/pull/728)
- Better handling of date parameters when saving/loading dashboards. [#727](https://github.com/neo4j-labs/neodash/pull/727)
- Fixed incorrect z-index issue for form creation modals. [#726](https://github.com/neo4j-labs/neodash/pull/726)
- Adjusted filtering tooltip on tables to avoid hiding result data. [#712](https://github.com/neo4j-labs/neodash/pull/712)
- Fixed uncontrolled component issue for dashboard import modal. [#711](https://github.com/neo4j-labs/neodash/pull/711)
- Adjusted font color of graph context popups to use theme colors. [#699](https://github.com/neo4j-labs/neodash/pull/699)
- Adjust sidebar database selector to only show active databases. [#698](https://github.com/neo4j-labs/neodash/pull/698)
- Incorporated logging functionality for self-hosted NeoDash deployments. [#705](https://github.com/neo4j-labs/neodash/pull/705)
- Improved dashboard management in standalone-mode deployments. [#705](https://github.com/neo4j-labs/neodash/pull/705)
- Added Docker parameter for overriding the app's logo & custom header. [#705](https://github.com/neo4j-labs/neodash/pull/705)
- 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)
- Docker: Updated Alpine base image to mitigate CVE-2023-38039 & CVE-2023-4863. [#705](https://github.com/neo4j-labs/neodash/pull/705)
## NeoDash 2.4.2
This is a release with a large amount of quality of life improvements, as well as some new features:

- Visualize graphs in 3D with the new 3D graph report. [#737](https://github.com/neo4j-labs/neodash/pull/737)
- Improved dashboard management sidebar and handling of drafts. [#734](https://github.com/neo4j-labs/neodash/pull/734)
- Added parameter select setting for autopopulating first selector value. [#746](https://github.com/neo4j-labs/neodash/pull/746)
- Improved UX for editing page names & dashboard titles. [#743](https://github.com/neo4j-labs/neodash/pull/743)
- Unified common settings for each report type. [#724](https://github.com/neo4j-labs/neodash/pull/724)
- 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)
- Fixed issue where invisible table columns were not handled correctly. [#695](https://github.com/neo4j-labs/neodash/pull/695)
- Miscellaneous bug fixes, style improvements & stability fixes. [#744](https://github.com/neo4j-labs/neodash/pull/744)
2 changes: 2 additions & 0 deletions src/application/ApplicationActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ export const setStandaloneEnabled = (
standaloneDashboardURL: string,
standaloneUsername: string,
standalonePassword: string,
standalonePasswordWarningHidden: boolean,
standaloneAllowLoad: boolean,
standaloneLoadFromOtherDatabases: boolean,
standaloneMultiDatabase: boolean,
Expand All @@ -167,6 +168,7 @@ export const setStandaloneEnabled = (
standaloneDashboardURL,
standaloneUsername,
standalonePassword,
standalonePasswordWarningHidden,
standaloneAllowLoad,
standaloneLoadFromOtherDatabases,
standaloneMultiDatabase,
Expand Down
2 changes: 2 additions & 0 deletions src/application/ApplicationReducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ export const applicationReducer = (state = initialState, action: { type: any; pa
standaloneDashboardURL,
standaloneUsername,
standalonePassword,
standalonePasswordWarningHidden,
standaloneAllowLoad,
standaloneLoadFromOtherDatabases,
standaloneMultiDatabase,
Expand All @@ -211,6 +212,7 @@ export const applicationReducer = (state = initialState, action: { type: any; pa
standaloneDashboardURL: standaloneDashboardURL,
standaloneUsername: standaloneUsername,
standalonePassword: standalonePassword,
standalonePasswordWarningHidden: standalonePasswordWarningHidden,
standaloneAllowLoad: standaloneAllowLoad,
standaloneLoadFromOtherDatabases: standaloneLoadFromOtherDatabases,
standaloneMultiDatabase: standaloneMultiDatabase,
Expand Down
1 change: 1 addition & 0 deletions src/application/ApplicationSelectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export const applicationGetStandaloneSettings = (state: any) => {
standaloneDashboardURL: state.application.standaloneDashboardURL,
standaloneUsername: state.application.standaloneUsername,
standalonePassword: state.application.standalonePassword,
standalonePasswordWarningHidden: state.application.standalonePasswordWarningHidden,
standaloneAllowLoad: state.application.standaloneAllowLoad,
standaloneLoadFromOtherDatabases: state.application.standaloneLoadFromOtherDatabases,
standaloneMultiDatabase: state.application.standaloneMultiDatabase,
Expand Down
Loading

0 comments on commit 25b225d

Please sign in to comment.