Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/8raven #705

Merged
merged 48 commits into from
Dec 6, 2023
Merged

Feature/8raven #705

merged 48 commits into from
Dec 6, 2023

Conversation

alfredorubin96
Copy link
Collaborator

@alfredorubin96 alfredorubin96 commented Nov 21, 2023

Testing merge before introducing new changes

New features include:

  • Logging
  • Ability to add dashboards in standalone
  • Add option to add custom logo in Docker
  • Added a parameter to configure header string
  • Persist labels on dashboard overwrite (instead of doing a delete & recreate) to allow for RBAC

Other features not yet there (nice to haves):

  • Enable sharing for standalone.
  • Extension UI for handling tagging dashboards with users
    • list out user groups from dbms (and user can select 1..n for dashboards)
  • Tackle / refactor standalone mode in a more structured way.

TODO:

8Rav3n and others added 30 commits August 24, 2023 18:56
Copy link

codecov bot commented Nov 21, 2023

Codecov Report

Attention: 2094 lines in your changes are missing coverage. Please review.

Comparison is base (f151d32) 46.28% compared to head (172dd1c) 38.71%.
Report is 29 commits behind head on develop.

❗ Current head 172dd1c differs from pull request most recent head bdb5711. Consider uploading reports for the commit bdb5711 to get more accurate results

Files Patch % Lines
...ons/advancedcharts/chart/gantt/frappe/lib/index.ts 0.43% 453 Missing ⚠️
...sions/advancedcharts/chart/gantt/frappe/lib/bar.ts 0.00% 194 Missing ⚠️
src/dashboard/sidebar/DashboardSidebar.tsx 13.47% 166 Missing and 1 partial ⚠️
...dvancedcharts/chart/gantt/frappe/lib/date_utils.js 6.08% 92 Missing and 16 partials ⚠️
src/dashboard/DashboardThunks.ts 8.65% 95 Missing ⚠️
...tensions/advancedcharts/chart/gantt/GanttChart.tsx 1.13% 87 Missing ⚠️
src/extensions/forms/chart/NeoForm.tsx 1.44% 68 Missing ⚠️
.../text2cypher/component/OverrideCardQueryEditor.tsx 4.22% 68 Missing ⚠️
...advancedcharts/chart/gantt/frappe/lib/svg_utils.ts 9.83% 55 Missing ⚠️
src/extensions/text2cypher/clients/ModelClient.ts 0.00% 54 Missing ⚠️
... and 73 more
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #705      +/-   ##
===========================================
- Coverage    46.28%   38.71%   -7.58%     
===========================================
  Files          166      207      +41     
  Lines         6594     8625    +2031     
  Branches      2043     2565     +522     
===========================================
+ Hits          3052     3339     +287     
- Misses        3501     5226    +1725     
- Partials        41       60      +19     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Alfred Rubin added 2 commits November 24, 2023 16:43
Copy link

sonarcloud bot commented Nov 24, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 7 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@nielsdejong nielsdejong merged commit b56215e into develop Dec 6, 2023
3 checks passed
@nielsdejong nielsdejong mentioned this pull request Dec 7, 2023
nielsdejong added a commit that referenced this pull request Dec 7, 2023
* 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](postcss/postcss@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](postcss/postcss@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 dc36d84.

* 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](postcss/postcss@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](postcss/postcss@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 dc36d84.

* 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: ceda481 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 d137081

* man chg 0484e44

* 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

---------

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>
nielsdejong added a commit that referenced this pull request Jan 12, 2024
* 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>
nielsdejong added a commit that referenced this pull request Feb 22, 2024
* Bump follow-redirects from 1.15.2 to 1.15.4

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Niels de Jong <Niels-121@hotmail.com>
Co-authored-by: jacobbleakley-neo4j <jacob.bleakley@neo4j.com>
Co-authored-by: Alfred Rubin <alfredo.rubin@neo4j.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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants