Skip to content

Commit

Permalink
Hotfix for v2.4 label in dashboards (#86)
Browse files Browse the repository at this point in the history
* Renamed docs portal

* Release 2.3.4 (neo4j-labs#580)

* Improved contrast for light and dark theme interfaces

* Improve styling for actions model. Improved robustness of card settings content

* First draft

* Fix editing

* Clean console

* Clean  drawer

* Fixed issue where users cannot return to edit mode after turning off editing. Make extensions a seperate FAB. Improved styling for rule-based styling creation modal

* circular dependencies

* circular dependencies 2

* circular dependencies 3

* circular dependencies 4

* circular dependencies 5

* Last clean

* Deleting Sidebar and Workflow

* Final touch

* Icons migration 1

* Icons material free

* Reducing duplication

* Smells

* uuid migration

* Added user agent to driver object

* Bumped version

* Added better version format

* Moving circular to dev dep

* Smells

* Adding release notes

* Updated Github runners

* Fixed IT test for advanced settings

* remove luma + markers pin

* Selector options

* Fixed double scroll bar

* Tooltips nivo contrast

* Runs on non drafts

* Color picker selection

* Version bump and release notes

* Fix on Nivo Canvas

* Fixing unused import

* Fix version 2.3.4 (neo4j-labs#581)

* Hotfix for outdated version config on some components

---------

Co-authored-by: Niels de Jong <niels-121@hotmail.com>

* Fix axis color on non canvas

* Moving Header Text color up

* Adjusting to default
Pie Margins default neo4j-labs#486

* Bump @adobe/css-tools from 4.1.0 to 4.3.1

Bumps [@adobe/css-tools](https://github.com/adobe/css-tools) from 4.1.0 to 4.3.1.
- [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>

* Removed hardcoded subpath
Signed off: monish.nandakumaran@mercedes-benz.com

* Fix multiple providers

* Update quickstart.adoc

change docker pull to use neo4jlabs repo instead of Niels

* Fix if

* Base config

* Docs on ssoProviders

* Optional Params

* Fix bar colors

* Cherry Cleaned

* Extra colors

* Fix

* Improve robustness for edge header title

* Fix locale and link prep

* Clean logs

* Changelog

* Version bumps

* Tests

* Change start to prod

* back to dev

* back to prod

* Version package

* bump cypress

* bump cypress

* Font on pies

* FIxes

* FIxes

* Made API keys hidden (password fields) in the query translator module

* Added new report action type for tables: multiselect checkboxes (neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#668)

* Hiding columns in Table does not work neo4j-labs#374

* Revert "Hiding columns in Table does not work neo4j-labs#374"

This reverts commit dc36d84.

* Text hard to read on Dark Theme neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#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 … (neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#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) (neo4j-labs#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

* 2.4 Release (neo4j-labs#688)

* Made API keys hidden (password fields) in the query translator module

* Added new report action type for tables: multiselect checkboxes (neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#668)

* Hiding columns in Table does not work neo4j-labs#374

* Revert "Hiding columns in Table does not work neo4j-labs#374"

This reverts commit dc36d84.

* Text hard to read on Dark Theme neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#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 … (neo4j-labs#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 (neo4j-labs#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 (neo4j-labs#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) (neo4j-labs#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

---------

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>

* Fix hiding column prefix (neo4j-labs#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

* Dynamic height report

* Refactored

* Wrapping NeoDashboardSidebar in a div to prevent rendering issues

* Neodash Bug Fixes

* opens landing page in new url

* Added landing page link to logo

* Removed obsolete code

* Bug Fixes (#82)

* Changed dockerfile version (#85)

* v2.4 changes (#87)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Niels de Jong <niels-121@hotmail.com>
Co-authored-by: Harold Agudelo <agudeloharold13@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Monish <139316519+m-o-n-i-s-h@users.noreply.github.com>
Co-authored-by: davidlrosenblum <davidlrosenblum@users.noreply.github.com>
Co-authored-by: Aleksandar <aleksandar.simeunovic94@gmail.com>
Co-authored-by: Alfred Rubin <alfredo.rubin@neo4j.com>
Co-authored-by: Jon Ander Oribe <jonan.oribe@gmail.com>
Co-authored-by: Antônio Hugo <hugorplobo@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>
  • Loading branch information
13 people committed Dec 18, 2023
1 parent 40254e0 commit 3f5e0fb
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ EXPOSE 5005
## Launch webserver as non-root user.
CMD ["nginx", "-g", "daemon off;"]
HEALTHCHECK cmd curl --fail http://localhost:5005 || exit 1
LABEL version="2.3.0"
LABEL version="2.4.0"
4 changes: 2 additions & 2 deletions src/chart/graph/component/GraphChartInspectModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import GraphEntityInspectionTable from './GraphEntityInspectionTable';
*/
export const NeoGraphChartInspectModal = (props: GraphChartVisualizationProps) => {
let headerName = '';
const selectedEntity = props.interactivity?.selectedEntity;
const selectedEntity: any = props.interactivity?.selectedEntity;
const propertySelections = props?.engine.selection ? props.engine.selection : {};
const customTablePropertiesOfModal = props.interactivity?.customTablePropertiesOfModal;
const entityName = selectedEntity
Expand All @@ -30,7 +30,7 @@ export const NeoGraphChartInspectModal = (props: GraphChartVisualizationProps) =
* @returns custom settings of selected node/edge from settings if specified.
*/
const getSettingsByEntityType = (properties: any[]) =>
properties.find((setting) => setting.entityType === entityName);
properties.find((setting) => setting.entityType === headerName);

/**
* check if customTablePropertiesOfModal is an array or else return empty object.
Expand Down
2 changes: 1 addition & 1 deletion src/chart/graph/util/NodeUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ export const getEntityHeaderForEdge = (entity: any, propertySelections: any) =>
(entity?.labels && `${sourceTitle} >> ${entity.labels.join(', ')} >> ${targetTitle}`) ||
`${entity.type} (${sourceTitle} --> ${targetTitle})`
);
};
};
4 changes: 2 additions & 2 deletions src/dashboard/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ const Dashboard = ({

{/* Navigation Bar */}
<div
className='n-w-screen n-flex n-flex-row n-bg-neutral-bg-weak n-border-b'
className='n-w-screen n-flex n-flex-row n-bg-neutral-bg-weak n-border-b n-my-6 n-mx-2 n-px-1'
style={{ borderColor: 'lightgrey' }}
>
<NeoDashboardHeader
connection={connection}
onDownloadImage={onDownloadDashboardAsImage}
onAboutModalOpen={onAboutModalOpen}
></NeoDashboardHeader>
<div className='n-w-full n-mx-8 n-my-6'>
<div className='n-w-full'>
<NeoDashboardTitle />
<NeoDashboardHeaderPageList />
</div>
Expand Down
1 change: 1 addition & 0 deletions src/page/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ export const NeoPage = ({
cols={{ lg: 24, md: 20, sm: 12, xs: 8, xxs: 4 }}
rowHeight={100}
compactType={GRID_COMPACTION_TYPE}
style={{ marginBottom: 100 }}
onDrag={() => {
if (!isDragging) {
setAnimated(true);
Expand Down
2 changes: 1 addition & 1 deletion src/report/Report.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export const NeoReport = ({
// If the compactCanvas=true setting is enabled then the report height is set to 210
if (el && settings?.compactCanvas) {
if (type === 'table') {
el.style.height = `${height * 210}px`;
el.style.height = `${height * 100}px`;
}
}
};
Expand Down
4 changes: 2 additions & 2 deletions src/utils/parameterUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ export const extractAllParameterNames = (cypherQuery) => {
return parameterNames;
}

export const checkParametersNameInGlobalParameter = (parameterNames: string[], globalParameterNames: any,) => {
export const checkParametersNameInGlobalParameter = (parameterNames: string[], globalParameterNames: any): boolean => {
for (const key of parameterNames) {
if (typeof globalParameterNames[key] === 'undefined' || globalParameterNames[key] === '') {
if (typeof globalParameterNames[key] === 'undefined' || globalParameterNames[key] === null || globalParameterNames[key] === '') {
return true;
}
}
Expand Down

0 comments on commit 3f5e0fb

Please sign in to comment.