Commit graph

20 commits

Author SHA1 Message Date
gsmithun4
921714d8a9 Refactor code structure for improved readability and maintainability 2026-01-23 15:41:49 +05:30
Manish Kushare
e1d7fbb2bb Feature: Add JSON datatype to ToolJet Database (#2492)
* feat: jsonb datatype support in tooljet database inprogress

* feat: jsonb support added for tooljet database column operations as well as create and edit table

* feat: added support to query JSONB values in JOIN operation

* added dto validation for join operation

* Added json data type in tjdb

* single line editor bug fixed

* Basic UI implementation for create table drawer for jsonb column type

* removed the console

* Added the sanitization for json default value in the dto

* Added jsonb svg for jsonb column type

* Updated UI for created column form

* Updated UI for edit column form

* Change the UI for create row

* Updated UI for edit row form

* Show dummy {...} value on table cell

* Setting up the codehinter in tjdb dashboard

* Created codehinter wrapper for tjdb table celljsonb data type

* Codehineter for tjdb cell

* Made changes in tjdb column and row drawers

* removed unwanted code

* Added maximum height for codehinter wrapper in each drawers

Avoided keydown event in create column drawer

* Set max height to codehinter for tjdb table cell

* Added jsonb path option for list row operation [rebase]

* Added filtering out column with json datatype in udpate rows operation

* Added filter option with jsonpath in delete row operation

* Made changes for join tables

* added json path in jon filter condition

* fix: parsing the jsonb default values in view table api

* Made on change and initial value value changes for all tjdb dashboard changes

* updated intial value and component name for codehinter in all drawers for tooljetdb

* Table cell edit codehinter initial value

* Updated codehinter onchange and initial value

* Added json path field for join sort section

* TJDB query manager updates for jsonb column type

* Tjdb dashboard bug fixes

* fix: joins jsonbpath expression can be sent without single quotes

* Added error validation for JSON in codehinter

* Removed console

* Added codehinter wrapper for tjdb cell

* Made default functional

* Made set to null functionality working

* Toggle functionality for default value

* Toggle null functionality

* Clean code

* create row form added handle disable input click

* cutom-footer css and add new data css

* Fixed tooltip

* Updated tooltip for join codehinters in query manager

* fix: jsonb column values validation in server side

* Made the initial value empty string if value is undefined

* active tab in edit row form bug

* Error state in tjdb hinter inside cell

* code mirror breaks, on the initial render

* Added placeholder and adjusted icon size in dropdown

* Fixed: Opening the cell with keyboard nav shows ‘enter to save’.

* bug fixed

* json icon alignment in the dropdown fixed

* In create and edit table, codehinter text is vertcially centered aligned

* Create row and update row info message for jsonb column type fixed

* SHowing popover when clicked on the jsonb cell

* Showing unique constraint in disable state for jsonb

* bugfix: bulkupload in tjdb for jsonb datatype should accept different json format

* Bug fixed for cellhinter and row form

* Avoided flickering in column form

* removed console

* zindex issue for codehinter in react portal for table cell

* Single line editor file changes removed

* row form bug fixed

* single quotes string escaped as it needs to be inserted as default value in JSONB column

* Bug fixed

* Edit and create row active tab bug fixed

* If value is empty, then dont show error in the codehinter

* fix: error handling for invalid jsonpath in join expression

* Handled null and Null edge cases for edit and create row

* Removed console

* Bug fix for save chages button in edit and create row drawer

* Error toast message for invalid syntax

* removed debounce time

* Copied all query manager and codehinter changes from editor to appbuilder directory

* Updated imports of codehinter in tjdb forms inside dashboard

* Discarded all changes made to editor directory

* Removed console

* Fixed flickering effect in the edit and create row drawer in TJDB dashboard

* Added focused state to codehinter in tjdb drawer, updated font size for the same

* Updated error message

* bug fixed : Pop up icon not visible inside codehinter

* Fixed : border issue in tjdb codehinter

* bugfix: array is not allowed to insert in JSONB column (#2734)

* Error message in tjdb drawers

* Error state for table schema

* Error message for cell hinter wrapper

* fixed : space between {} and table name in popup

* Spacing issue in create and update column UI in query manager fixed

* Show tooltip in fk column dropdown

* Bug fixed: edit drawer on first render cutom value is always empty

* Bug fixed

* Reverting react portal changes

* bug fixed for error copyright

* z index issue fixed for tableschema

* reverting back the changes for table form from last commit

* Bug fix: Flickering issue in table schema for codehinter input

* Bug fixed : toggle bwtween null and default value

* Handled spacing between the component name in react portal

* added new schema definition as we have introduced jsonb datatype default values can have Object and Array

* fix: removed the support for error code mapping for undefined function error  because database has different error text for it based on the scenario like jsonb aggregates etc

---------

Co-authored-by: Ganesh Kumar <ganesh8056234@gmail.com>
Co-authored-by: Ganesh Kumar <40178541+ganesh8056@users.noreply.github.com>
Co-authored-by: Akshay <akshaysasidharan93@gmail.com>
2024-12-04 13:49:24 +05:30
Shaurya Sharma
25edbb9cfd
Infinite scroll loader fix (#10179) 2024-07-09 20:22:07 +05:30
Shaurya Sharma
a6d2666206
Date with time data type for ToolJet Database (#10066)
* Basic wrapper around Datetime picker component

* Cell Edit Menu for Datetime Picker

* Reverted Old Changes

* Added Datetime picker for Add/Edit Row

* Added datetime picker for create/edit column

* Added datetime picker for create/edit table

* Added datetime picker for create/edit table

* Disabled PK, FK, Unique and made some fixes

* Migration script added

* Internal table configuration update changes

* Updating internal table configuration based on timezone select

* Time display pill & support for changing & retrieving timezone from the frontend added

* Time bug partially resolved

* Time bug solved

* Minor Bugs Solved

* fix : datepicker closed when we select date from outside month which is not current month's date

* Minor Design Fixes

* Css & Comment Fixes

* Removed console.logs

* Fixed app import failing

* Changed datatype name and label

* Css Fixes and added clear button

* Minor fix

* Fixed create table breaking on null values

---------

Co-authored-by: Abd-Rahman-1999 <s.rahmanabd1999@gmail.com>
2024-07-01 16:24:51 +05:30
Akshay
97bb7dc62f
Merge pull request #9992 from ToolJet/bugfix/unable-to-edit-null-cell
Fix: ToolJet database cell edit menu issues
2024-06-06 16:10:35 +05:30
Abd-Rahman-1999
4752088a93 fix : bulk upload drawer styling issue and default toggle issue while toggling null toggle 2024-06-06 15:10:22 +05:30
Syed Abdul Rahman
72cca2a3bd
fix cellmenu height issue (#9997) 2024-06-06 14:05:03 +05:30
Abd-Rahman-1999
ad701705e9 fix : in cell edit menu default value toggle fix 2024-06-06 12:14:01 +05:30
Abd-Rahman-1999
163d6e44dd fix : cell edit menu's default and null value toggle fixes and some other styling fixes in tjdb dashboard 2024-06-05 16:34:12 +05:30
Ganesh Kumar
1e103cc6ae fix: cell edit menu closes when any toggle is clicked 2024-06-05 12:41:23 +05:30
Ganesh Kumar
35e8d116d7
Feature: Infinite scrolling for searching foreign key values in the ToolJet database. (#9785)
* feat: Added a support for infinite scroll on searching foreign key data

* feat: added debounce for search in infinite scroll and refactored the infinite scroll logic on listing Foreign key data

* fix: while searching foriegn key values in the drop down of tooljet database for varchar datatype possible search results will be returned and for other datatype strict matching is followed

* fix: review comments for optional chaining has been fixed

* fix: typo error has been fixed

* fix: client search on foreign key drop down is disabled

* stylefix: menu height is fixed now for foreign key drop down

* fix: foreign key drop down scroll bar moves to top on each render fixed

* Fix : Caching the foreign key column options  (#9828)

* Draft : Caching the fk options

* Refactored the code and use promise.all

* Used Promise.allSettled to ensure that all promises are processed regardless of whether they resolve or reject.

* Changed currentColumn to foreignKey

* Removed console

* Updated default value of cachedOptions state to empty object

* Updated the code with suggestion to uplift check condition

* Change the emptyError  copyright to No values found

* Bug fixed : on mount api request failing

* Refactored code from calculations to data by removing optional chaning

* Fix: Remove null values from the foreign key drop-down list (#9895)

* fix: filtered out null values and brought empty string to top in the foreign key drop down

* fix: review comments addressed

* fix: while creating or editing FK relation the source column drop down will not list empty column names

* stylefix: cell was not clickable on empty string

* fix: empty values are not listed on Foreign key drop down used for cell edit

* fix: empty string can be added as default in create table operation

* Fixed : Fk options are not cached when source column name is updated

---------

Co-authored-by: Akshay <akshaysasidharan93@gmail.com>
Co-authored-by: Manish Kushare <37823141+manishkushare@users.noreply.github.com>
Co-authored-by: manishkushare <kushare.manish9@gmail.com>
2024-06-04 17:50:44 +05:30
Syed Abdul Rahman
6ea2a47e14
fix : Foreign key dropdown width oversize issue in create and edit row (#9799)
* fix : foreign key dropdown width oversize issue in create and edit row

* fix : unable to read the menu text in fkr dropdown

* css classaname prefix changes

* fix : added tooltips for create and edit row in large fk values

* fix : Added max-width property for tooltip on create and edit row for foreign key fields

* fix :added tooltips for fkr dropdown in create and edit column

* fix : added tooltips for fkr dropdowns in create and edit table
2024-06-04 16:26:46 +05:30
Manish Kushare
86ace13acc
Changed No data available to No data found (#9928) 2024-05-30 17:59:03 +05:30
Shaurya Sharma
5a86dab79d
Foreign key dropdown added for cell edit (#9826)
* Foreign Key Dropdown added for Cell Edit

* Minor Bug Fixes

* Comments Resolved
2024-05-30 16:36:12 +05:30
Shaurya Sharma
e3975f034e
Loader added for foreign key dropdown (#9760)
* Loader added for foreign key dropdown

* Empty State text change

* Design Changes

* Loader added in Main Table Edit

* Minor Text Changes

* Added Loader in Edit/Create Column & Row
2024-05-28 13:06:04 +05:30
Syed Abdul Rahman
dae2f0dfd3
fix : when we add a not null value in cell edit dropdown the null toggle still in true (#9672) 2024-05-10 10:48:48 +05:30
Syed Abdul Rahman
609360e775
feat : Foreign key feature in ToolJet database (#9544)
* feat: added support for creating primarykey and unique constraint while creating new table

* feat : primary key with unique constraint

* feat : able to create primary key on table creation

* minor changes for backend

* checked and added constraints for primary key

* Added tooltips for primary key columns and added a fix for autofocus for last focussable element in focustrap

* Added a new component named TableSchema so that we can use this same component in both create table and edit table

* fix: fetching tjdb table metadata query has been updated to support unique constraint

* feat : primary key in edit table

* mariadb library update

* atleast one primarky should be mandatory for each field

* fix: list tjdb table data api due to id column sort by default

* fix: tjdb dashboard table column datatype icon and name was missing when primary key feature was added and table header content component refactored

* fix: tjdb create row operation made compatible with Primary key

* fix: add column operation will now suport serail and unique constraint

* fix: Edit column operation support unique constraints

* fix: added primary key icon is tjdb dashboard table

* feat : foreign key drawer ui

* fix: dynamic tooltip text in table for serial datatype and primarykey

* fix: cell edit menu should not open for primary key column and serial datatype column

* fix: cell edit menu save flow and boolean toggle update flow will now execute based on primary key

* minor ui change in nested drawer for foreign key relation

* fix: edit row operation now supports and works based on primary key for updates

* fix: add row operation refetch query works based on primary key

* Added foreign key active state icon

* feat: API to edit table schema

* Added fixes for primary constraints

* fix: edit table allows to add new columns and delete old columns as well

* fixes related to primary key

* fix: primary key mandatory check on edit table API

* fix: moved table rename inside db transaction

* fix: on editing a primary key column it will not remove primary key constraint

* changes and fixes in primary key integration

* edit table api integration

* fix: primary key mandatory validation was wrongly placed in edit table api in tooljetdb

* fix: edit tooljetdb table dto validation modified

* edit table api integration

* edit table success toast update message

* Added tooltip for serial datatype defaultvalue and design change of Add more columns button

* added scrollbar to tableschema and added a hover effect to column which has foreign key relation

* feat: Foreign key creation support in create table Inprogress

* fix: code review comments for backend fix inprogress

* fix: in edit table operation in tooljetdb for serial datatype default values can't be edited

* fix: edit table payload naming convention changed

* fix : review comments and ui fixes

* fix : undefined check error in renameTable function

* fix: unique constraint will be false by default on version less than 2.30.0

* added primary key icon in edit column header

* fix: unable to change single primary key to composite primary key when a column has duplicate values

* added regex check for serial datatype's default value

* feat : in edit table the primary columns should be group together and in top of the schema

* fix: custom exception filter for tooljetdb and optimized cell edit save flow by reducing a refetch api call

* fix: primarykey column default value of character varying datatype is in wrong format

* fix: tjdb exception filter is added at controller level and it can group multiple exceptions altogther

* fix: on a exception postgrest error message has been sent as response

* fix: edit-table api payload details were mis-matching

* fix: on editing serial datatype column default value is not necessary

* fix: in create and  edit table drawer datatype dropdown selection was wrong in serial datatype scenario

* fix: multiple exceptions can be handled together

* removed the code comments

* fix : primary key columns should in top of the order in edit table and edit row

* revert back the changes of primary key column group together in edit table

* Add null value for default value when we change the datatype in edit table flow

* fix: feature to create foreign key while creating a new table

* integrated source table details and source column details

* fix : serial data type cause error in default value when there is more than one serial data type

* feat: tooljet database table metadata api now includes foreign key details

* feat : foreign key designs for create and edit table

* fix : view table api error issue

* feat : foreign key designs for create and edit column

* feat: added support for creating foreign key in add column api

* feat: api to create edit and delete foreign key has been added to tooljet database

* feat : foreign key designs in create and edit row as well as cell edit and in dashboard

* fix : cell click issue in cell edit for boolean type

* feat: added support to select specific columns in the postgrest query

* feat: added foreign key referenced table id in metadata details

* fix: naming convention changed for foriegn key apis

* fix: updated DTO to check on-delete and on-update operation of foreign key details

* completed api integration and remaining ui popups for delete and change in foreign key and customized tooltip

* added routing logic for navigate to reference table from source table

* implemented infinite scroll logic for cell edit foreign key column values

* moved scroll logic to selectBox component

* fix: removed the scroll for column schema section in create and edit table drawer

* fix : major bugs

* fix: added support to delete FK in Edit Column API

* feat: Join FK columns auto populate on query manager

* feat : allowing to create multiple foreign keys in single table

* feat: auto suggestion on joins

* fix: foreign key column must be rearranged to top of the list

* fix : major bugs

* fix : bugs list

* fix: foreignkey details on tjdb context were not updated properly

* fix : bugs in calling selectQuery api

* completed missed routing logic in cell edit dropdown

* fix: cell edit menu on clicking search closes

* fix : bugs list

* fix: cellEdit drop down menu provides wrong values for FK

* fix: fk values is made to default onClosing CellEditMenu

* fix: on table cell click foreign key details are made to default state

* fix : bugs in edit row and in all dropdown which is showing reference table's column values

* fix: infinite scroll for listing foreign key drop down

* fix: infinite scroll in FK data dropdown goes unresponsive

* fix : width of tooltip in showing foreign key relation and throwing error when opening a default value dropdown in create table and create column

* fix : the search api needs to hit only for the referenced column names values in dropdown

* fix: basic lint fixes

* fix : default value preselect value is passing as empty in create row and in create table for the
 edit part added delete functionality and fixed editing foreign keys in create table and fix in edit table api fixed bugs related to forein key edit

* fix : create row sort logic and fix for edit foreign key relation

* fix : merge conflict stylings collapsed

* feat: implemented infinite scrolling for listing down FK data in cell edit menu drop in tooljetdatabase

* fix: in edit column while we create a new foreign key it was not reflected on edit ccolumn view

* fix: join query when auto populated with columns table name was missing

* fix: Not able to edit a table when a column has been referenced for foreign key-the issue has been fixed

* fix: serial data-type column will have placeholder as auto-generated

* fix : bugs from design review

* fix : icon mismatch in source and target column

* Feature: Import Export revison for TJDB relations (#9597)

* make create table infer serial data type

* make import/export backward compatible

* fix column type check

* fix: cell edit drop down search issue and drop down misses the values on second load and fixed the edit primary key column issue

* fix : disabling serial type in source column and removing strict rule of unique constraint for serial type and fix of bugs which is related to foreign keys

* fix : validation issue for save changes button in foreign key drawer

* disabled creation of foreign key from create and edit column and enabled support for bigint with integer in foreign key relation

* fix : edit column foreign key relation is becomes false when we close the foreign key drawer

* fix: composite primary key columns cannot be mapped to foreign key

* fix : create column and edit column : previous column values are populated in foreign key drawer and fixes of bugs which is related to foreign key relation in create and edit column

* fix : Unable to see the column menu icon when column name has 32 characters

* fix : edit column delete is not working when we chnage the foreign key toggle to false

* fix bulk upload for case sensitive columns

* fix : while selecting different table in target table, the target column should be empty

* Fix : Bugs from Foreign key feature (#9552)

* Added tooltip when add relation button is disabled

* Set the values to no actions by default for action dropdowns

* Added tootip for add relation button when disabled

* Updated the UI of dropdowns in the actions section of foreign key drawer

* Disable the add relation button when less than 2 table are  present in edit mode and less than 1 in create mode

* Updated the logic to render option description in actions dropdown and highlight table names

* Adding conditional chaining to avoid app getting crashed

* Avoding showing toast message for crating foreign key in create column and table mode

* Updated tooltip description for add relation button

Added full stops to descriptions of options in actions dropdown

* Show tooltip on read docs regarding fk for column and table operations

* Updated description of foreign key relation text in create/edit table drawer

* Updated description of foreign key relation text in create/edit column drawer

* Type error fixed

* Show unuqie constaint info UI update

* Added copyrights for foreign keys

* fix: When we create a FK relation, and then if we change a source column name, when we open default drop down throws error in create column

* Feature: Add setup to standardise TJDB error handling (#9629)

* add wip error handling setup

* make errors thrown as TooljetDatabaseError

* fix types

* handle query manager errors

* make error logging better

* add comment

* remove redundant logger

* fix: add column api dto validation updated

* return records to throw errors from postgrest

* fix type

* Chore: Primary key backward compatibility migration (#9636)

* recreate pk constraints for existing tables for backward compatibility

* fix comment

* handle unique name error on table create

* Fix : Bug fixes from foreign key feature (#9637)

* Removed create table and column info to add foreign key message

* Added tooltip when at least one column is not filled

Enable the add relation buttton when at least one column is present and filled otherwise disabled

* fix : placeholder text in foreign key drawer and error handleing text as well

---------

Co-authored-by: Ganesh Kumar <ganesh8056234@gmail.com>
Co-authored-by: Akshay <akshaysasidharan93@gmail.com>
Co-authored-by: Manish Kushare <37823141+manishkushare@users.noreply.github.com>
2024-05-08 13:47:11 +05:30
Syed Abdul Rahman
4e68a672d6
fix : alignment of cell edit popover (#9101) 2024-03-15 15:13:53 +05:30
Ganesh Kumar
2dc05b1581
fix: cell edit modal closes when "enter" key is pressed for number fields (#8878)
* fix: save event is triggered even when we dont change the values of a cell

* fix: tjdb table column header name transformation is removed

* fix: Add ability to remove default value of a new column that is created after n rows were present in the table

* removed the code comments
2024-03-05 18:31:16 +05:30
Akshay
ba7a2d6da9
Feature: TJDB UX Revamp (#8538)
* Added Edit column functionality in ToolJet Database Table

* feat: null constraint support for create_table add_column edit_column

* fix: default data-type validation has been added

* completed column header revamp

* feat: added not null toggle in create new table drawer

* feat: on toggle not null constraint value will be persisted

* fix: loads label for not null toggle dynamically

* feat: add new column to tjdb null constraint support

* new datatype dropdown design implemented

* added new icon for delete column

* added delete icon for column

* added delete icon for column

* fix: when table name is empty create button will be disabled

* fix: datatype dropdown height fix

* fix: datatype drop down issue fix

* fix: datatype dropdown alignment fix

* fix: delete icon changed to new theme

* fix: delete icon changed to new one

* fix: create new column column name and datatype mandatory validation added

* fixed styling issues

* Added 2 space indentation for css

* inline css moved to css files as well as added 2 space indentation

* fix: createTable addColumn editColumn api payload structure change to incorporate constraint changes

* fix: error handling added for editColumn api

* added 2 space indentation

* fix: create table API payload structure changes

* added 2 space indentation and applied styles for dark mode as well

* disabled the existing column's dataType

* fix: create new column payload updated

* renamed columnIndex to columnSelection and fixed the plus column creator button position issue

* renamed columnIndex to columnSelection and added text visiblity for dropdown in dark and light mode

* moved the react-select's new styles to constants.js file as function

* react select's css moved to constants.js file

* fix: review comments has been fixed

* added edit column warning UI

* completed edit column new flow

* remove Please wait for ToolJet to update..this line from edit column warning message

* increased height for add column + button

* fix: create table will not accept empty values for mandatory fields like tablename column_name datatype

* fix: custom error message for tjdb add row operation

* stylefix: table footer page info section realignment changes

* fix: moved addNewColumn btn to dropdown on clicking table in sidebar

* feat: bulk update and add row option is moved to drop down

* add ability to collapse sidebar

* add tooltip

* fiexed the tooltip issue in collapsible sidebar

* fix background on blank slate

* fix: layout changes for tjdb table header section

* stylefix: tjdb table menu bar style fixes

* stylefix: header btn gap has been reduced

* fix: edit row data populated into the form

* adjusted height

* added small alignment changes

* pagination-rewamp

* adjusted footer style when we collapse the sidebar

* fixed the pagination issue when we add new row

* feat : sticky column header

* feat: expandable row with menu bar flaky issue

* fix: on row hover expand icon will now be visible

* stylefix: added bg color for row hover and cell hover

* stylefix: adjusted expand icon sise

* feature : cell navigation

* fix: flaky issue on tjdb menu bar while expanding row has been fixed

* added naviagation function for table cells

* fix: edit row drawer variable name fixes

* added cell edit option in table cell

* feat: tjdb cell edit dropdown menu completed

* fix merge

* updates node version

* fix: sticky column to left

* feature : cell navigation

* add support for null values on tjdb bulk upload

* stylefix: table background for dark mode fixed

* feature : cell edit implementation

* feat: progress bar for cell edit

* feature : cell edit implementation on boolean datatye

* bug fixes

* toggle implementation

* fix: removed duplicate not null constraint toggle in edit column form

* fix: when last filter is deleter in tjdb dashboard filter drop down will be closed

* feat : cell edit implementation completed

* removed console logs

* fix: edit column onclick not null toggle crash issue fixed

* solved bugs

* added border 2px for selected cells

* added cellvalue in cell input if  it have not null constraint

* stylefix: css value for cell hover has been updated

* fix: table header sticky

* stylefix: row hover background color for dark mode

* fix: autocomplete is off for cell edit input field

* fix: null tag was shown when we focus on the input field as well

* fix: in cell edit menu either null or default can be choosen

* fix: cell edit menu null toggle value sync and edit menu not opening issue

* stylefix: row hover bg color was broken

* fix: cell navigation flaky issue

* stylefix: progress bar attached to the bottom of the cell

* fix: tooljetdb collapsible side bar style changes has been fixed

* fix: added infor for cell edit menu navigation

* fix: cell navigation and cell edit menu boolean view arrow navigation

* fix: flow issues in cell navigation has been fixed

* fix: backspace key will remove null values and open cell edit mode

* fix: updated icon for openai datasource

* fix: when we update or delete record pagesize has been modified but it should remain same

* feat: typing on selected field inserts value and enable edit menu and removes null value if exist

* stylefix: table checkbox styling updated

* stylefix: tooljetdb table checkbox indeterminate mode style fixes

* stylefix: row selection background color

* fix: table first column can be selected but not edited

* fix: tooljetDB delete row btn text should be in plural when multiple rows are selected

* fix: when column header menu is opened and closed cell click was not working it is fixed now

* fix null value on id column on row insert

* fix: cell text overlfow will truncate

* fix: in tooljetdb while creating new row filters and sorts which were selected will be made default

* fix: tooljetdb table cell tooltip design change

* fix: on column select and hover entire column was flaky issue fixed

* fix: on edit cell and delete row filter-sort-page-pagesize will be retained

* fix: text info for multiple records selected was wrong

* fix: In tooljetdb tooltip on cell hover wasnt shown for cells pertaining to selected column

* fix: tooljetdb on create row operation scroll will be moved to top

* stylefix: in dark mode on hovering selected row cell background color was wrong

---------

Co-authored-by: Abd-Rahman-1999 <s.rahmanabd1999@gmail.com>
Co-authored-by: Ganesh Kumar <ganesh8056234@gmail.com>
2024-02-08 15:05:26 +05:30