* Shortcut Keys added for all Drawers
* Shift + ALT Shortcut Key Added for Creating Multiple Rows
* Resetting to Default Values on Shift + Enter
* Added Error Borders on Input Fields for Create/Edit Row
* Minor Design Changes
* Added read documnetation link in drawer footer
* changed variable name and reuse that name for conditionally render the read documentation button
* fix : review comments
* fix : adding docs to its respective forms
* refactored code
* fix : variable name changes
---------
Co-authored-by: Shaurya Sharma <shaurya064@gmail.com>
* 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
* 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
* 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
* 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
* 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 : serial data type cause error in default value when there is more than one serial data type
* fix : minor bugs
---------
Co-authored-by: Ganesh Kumar <ganesh8056234@gmail.com>, Abd-Rahman-1999 <s.rahmanabd1999@gmail.com>
* Add new class table-cell-dark
* Revert "Add new class table-cell-dark"
This reverts commit 82ed7bec2a.
* Added new darkmode class
* Add new darkmode class
* Add styles change for darkmode
* Applied colour changes
* Applied changes to svg bg-colour
* Changing button style variant
* Adding new btn variant class
* Adding styles to new btn variant
* Changing styles for lightmode svg
* Adding warning svg for darkmode
* Adding warning styles for darkmode
* Adding btn styles for darkmode
* Changing styles for collapse btn in darkmode
* Changing styles for opening sidebar btn in darkmode
* Remove extra space and console.log()
* Change collapse & open sidebar btn
* Simplify warning icon background styles
* Change the border-colour of add-row btn
* Change border-colour for bottom row-creation btn
* ToolJet database empty state design draft
* Added loading state for ToolJet database
* Fixed stylings
* completed loading and empty state and as well as added proper text for empty state and for filtered results empty state as well
* Fixed the create new table drawer transition issue
* docker update
* 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>
* add ability to import export app and tjdb schema
* init
* feat ::global settings popover new ui
* feat :: ui for version export modal
* fix :: import export modal
* cleanup
* ui updates
* header footer style fixes
* closing settings modal while showing export modal
* style fix header
* feat :: added button to download table schema
* fix :: styling for fx
* add ability to import and export apps with tjdb schema
* handle duplicate table in workspace
* fix table rename
* fix selected table on edit and delete
* fix invalid toast on table delete
* fix column default value
* handle exports to strip '::' and quotes
* make import/export backward compatible
* handle page redirects based on resource import
* handle import without tjdb schema
* fix column delete and addition
* make data migrations to be run per organizations
* wip
* update migration
* fix credentials to be included
* fix specific version export
* make use of apps ability for import export resource
* fix import navigation
* fix lint
* fix failing tests
* fix lint
* enable tjdb for public apps
* update export error message on tjdb table blank
* fix table not selected after creation
* fix :: styling for imp exp modal , and functionality bug fixes after dev merge
* fixes blank slate and columns selection
* fix table delete
* fix invalid toast on table edit
* fix column information missing tjdb query manager
* make ds imports to either reuse global or create
* export only unique table ids
* create default datasources if not present in export data
* reuse existing table on imports
* add timestamp to table name if name already exists
* add ability to clone with tjdb
* make imports work with marketplace plugin
* skip dataqueries for which plugins are not installed
* fix filter input width
* fix failing spec
* fix marketplace plugin installation in diff workspaces
* fix check for plugin installed in workspace
* fix export when table name is empty
---------
Co-authored-by: stepinfwd <stepinfwd@gmail.com>
* Added data-cy for table header and subheader
* added data-cy for table operations
* added data-cy for table and text
* Added data-cy for delete icon and fields
* Updated and removed duplicate data-cy
* deleted unused files
* Updated data-cy for filter section
* fix :: dashboard scroll
* fix :: reverting some styles
* fix :: scroll issue dashboard
* fix
* fix :: scroll in database
* cleanup
* pr fixes and added auto focus to folder modal
* fix for :: row of data at the end of the table is not visible
* init
* footer component with pagintion ui basic styles
* pagination: apply a limit and offset rows through query params
* open create row drawer from footer button
* border color for dark theme footer button
* cleaned
* pagination
* fixes: input value
* moved functions to component level