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

Copy appbuilder improvements #9130

Closed
wants to merge 15 commits into from
Closed

Conversation

arpitnath
Copy link
Collaborator

No description provided.

arpitnath and others added 15 commits March 1, 2024 00:52
…ne Code Editing Support (#8852)

* Coerce invalid values to empty state values for properties/styles

* Display strings inside "" in codehinter preview

* Show undefined values always as erroneous values

* Make table component's data property not optional

* Remove unnecessary union validations

* init--

* New Single Line Code resolve and Hints popup (basic setup)

* fixes: padding for popover hint list

* update hint to current value

* Implement Enhanced Lookup Table Functionality

* adds resolved preview box

* basic error preview box

* preview box

* Detect arrays as arrays instead of objects in coercion

* Support passing default values from validation schema

* Coerce non-boolean values to boolean on boolean properties

* Add custom validation error

* app suggestions and js suggestions as field validations on order, autocomplete with codemirror

* Dynimcally checking fx types and fixes bottlenecks with rendering and resolving code

* update should only fire on blur

* added error handling as per expected type

* replaces all code hinters to new hinters

* single line codehinter adapts to content and max height

* cleanup

* do not update the value if validation fails

* update should check param type

* adds error state styles to hinter border

* adds custom pickedCompletions anotations

* adds support of app hints and js hints to multi editor

* improved js hints as per type on multi-editor

* suggestion fixes: darkmode

* multiline suggestions improved

* dark theme for single line hinter suggestions

* Enhance hint filtering for depth-specific suggestions

* adds error boundary

* fixes: crash for query not being a string

* fixes: hinter inital value not getting updated on component selection updates

* fixes: multiline border

* adding portal support for expanding the hinter to a new window

* fixes the portal hinter header component name/title

* adds portal support to multiline hinters

* css fixes

* adds y scroll

* adds custom variables

* handle click outside for closing the preview box

* cleanup

* fixes: coersion error

* added workspace variables resolving

* comment for removing workspace resolvers

* adds a check for circular deps

* deleting old codehinter and all its references

* adds data to completion hint

* removes run() from single line hinter suggestions

* removing the import causing zustland issue

* improves: js hint suggestion selection

* fx editor should not use {{}} to resolve code

* query upates to current state

* resolve fx code

* fixes: widget crash

* fixes: Backspace should already leave existing completion dialogs open

* fixes: replaceable hint for selected hint

* 1. fixes: context variables should also be available as hints and other language specefic hints
2. fixes: on cursor postion also re-updates the hints

* fixes: replaces previous value on selection

* fixes: styles issues
single line hinter x-axis not scrollable

* fixes: multiline suggestions postion on cursor

* fixes:  user selects query name should also complete data

* removes root key from preview query

* reduce and fix fontsize and padding

* trigger hints on .

* fixes: error from custom component crashes the app

* style updates
- updates color of the popup svg
- fixes and adds border and position of the popup-icon

* cleanup

* vertical scroll option on hitting the max height for single line editor

* line gutter widget updated

* adapt popup icon to the hinter height

* New Preview UI

* create default component values from component meta and update to the resolve store, which could be fetched and rendered as in the preview box of the code hinter which supports validation

* fixes: on click event from popover preview block should not close the preview

* updates error msg details and type

* updates: json object tree as a code viewer for resolved value

* selecting a suggestion should positon the cursor afterit

* change focus box shadow

* Changing height of delete button in tab content

Removing box shadow property for tab content

* fixes: coersion preview

* fixes: dont update the coersioned value

* cleanup

* improved resolver for single line preview hinter

* fixes string icon in suggestio size

* fixes: (#8800)

filtering of suggestions as per depth should only computed on user types.
for inital suggestions rendered the top pick should be as per accepted type

* fixess: (#8824)

on selecting partial hint from the suggestions, inserts the complete hint and appends to the current input

* fixes: cursor postion for js methods

* fixes: suggestions should be available for composite references also

* fixes: circular deps crashes

* fixes: re-computations of hints on selection change
trying to select a method, if I wait for a second, the selection goes back to the first option.

* adds custom keymaping for single and multi-line editors
with Tab key: Accept the current completion

* Merging main to codehinter feat branch (#8848)

* fixed the pagination issue in ToolJet database

* fixed pagination issue as well as filter/sort issue

* added pagecount when deleting a filter query in ToolJet database

* added offset to query params

* fixed equal opearator issue

* fixed flickering issue while filtering

* add automation for deltion of component from inspector

* [docs]:update how to on cellvalue color changes (#8348)

* update how to on cellvalue color changes

* add one line for rowdata explanation

* Revert "add one line for rowdata explanation"

This reverts commit a0ad3e11473cd2d8926fdd8258dc9d016e09d238.

* Revert "Revert "add one line for rowdata explanation""

This reverts commit 98892a82629e6f2ccfbbcd66c123d37323a435b7.

* add one line for rowdata explanation

* [doc]updates in gitsync doc (#8358)

* add tracking link (#8362)

* [docs] added how-to: use events on chart (#8323)

* [docs]added how-to: use events on chart

* removed console statement

* updated the data for custom componentand other changes in guide

* To execute aws lambdas from Tooljet (#8265)

Co-authored-by: rene osborne <rene.garcia@clara.team>

* [docs]:file upload and display guide (#8375)

* revamp the tutorial for pdf and image uploads and retreival

* changes based on the new UI

* add an image and enhance the add more explanations for code

* update the tutorial as per the latest UI

* update the doc and add it to the previous verion

* fix proofreading issues

* minor typo causing build issues (#8397)

* minor typo causing build issues

changed
npm run --prefix server db:mirgate

to npm run --prefix server db:migrate

You can ignore this PR. raising this so that if accepted then other contributors wont face this minor issue

* Update codespaces.md

* added paid label on gitsync (#8411)

* Update dropdown.md (#7472)

fix Typo: the action name to control the dropdown should be selectOption.

* Update README.md (#7981)

Co-authored-by: Shubhendra Singh Chauhan <withshubh@gmail.com>

* Update file-picker.md - Add filetype example (#8095)

* Update file-picker.md - Add filetype example

* Update docs/versioned_docs/version-2.22.0/widgets/file-picker.md

---------

Co-authored-by: Shubhendra Singh Chauhan <withshubh@gmail.com>

* Deploy latest docs on Render (#8401)

* fix typos (#8076)

* fix typos

* Update docs/docs/data-sources/restapi.md

---------

Co-authored-by: Shubhendra Singh Chauhan <withshubh@gmail.com>

* Updated TreeSelect Component in widgetConfig.js (#8035)

Co-authored-by: Harsimran-19 <harsimran1869@gmail.com>

* [docs] Platform 10.x - docs v2.27.0 (#8359)

* Delete message for component changed (#8399)

* added missing label on gitsync 2.27 (#8424)

* Added code coverage for cypress (#8234)

* Frontend: Add new plugin babel-plugin-istanbul

* Frontend: Add plugin to babel config

* Cypress: Add new plugin code-coverage

* Cypress: Add plugin to common  cypress suite

* Cypress: Add reports to .gitignore

* Actions: Add new action to check coverage

* Cypress: minor config changes

* test

* test-2

* Action: Add verification for generated coverage files

* Modify action file

* Modify action file with command changes

* debug commit

* debug commit-2

* debug commit-3

* Update runjsHappyPath.cy.js

* debug commit-4

* Revert "debug commit-5"

This reverts commit 8b795d86ae3f593dbe5cc4d6e07cbcc629add804.

* Revert "debug commit-3"

This reverts commit d2e440e04bcd6ef043f11305f60c30ffec5cad23.

* Add action name

* Fix marketplace specs

* Fix query failures

* Add review changes

* Add cypress package.lock changes

* Add frontend package.lock changes

* Add cypress minor  package.lock changes

* Minor action changes

* [hotfix] CE fixes (#8395)

* events should be synced for multi-edit

* remove console

* removes db constrainsts for layouts and handles corrupeted apps created from prev migrations

* Revert "removes db constrainsts for layouts and handles corrupeted apps created from prev migrations"

This reverts commit 10a307118bf1525dfb7a12103ba7016949b20614.

* removing constrainsts fro CE

* bumped the patched version ~ 2.26.3

* fixes: import/export general styles for components

* fixes: viewer crash on adding plugin as gds due to accessing camalised data

* fixes: plugin queries gds

* preserve duplicate search params on restapi

* preserve duplicate params in query manager params fields

* fixes: edge cases where undo of some components crashes thew widget

---------

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>

* Test system automation (#8422)

* fix: resolved edit workspace issue (#8426)

* Fixed Page name to be restricted to less than 50 characters (#7562)

* test system automation main

* Fix : Added handleKeyPress function to handle enter key event. (#7724)

* Added handleKeyPress function to handle enter key event.

* 7196 - Added handleKeyPress function to handle enter key event

* Added handleKeyPress function to handle enter key event.

* Update tooljetcli.md (#8452)

Updated the headers to proper casing

* Update dashboard.md (#8457)

replace conditions for workspace slug.

* fix: #8433 Change labels to sentence case for Kanban component (#8450)

Co-authored-by: ayushjha119 <ayush.jha.it23@heritageit.edu.in>

* update 3 how-to guides (#8468)

* Change Image Component label to sentence case (#8412)

* fix edit table name (#8419)

* [docs]:update how to guides v2 (#8478)

* update 3 how-to guides

* add the changes to ver 27 and fix titles

* update a title

* added robots.txt and ignorepattern in sitemap (#8453)

* [Hotfix]: Action button event is not getting triggered (#8480)

* hotfix : action button event is not getting triggered

* removing .then for setExposedvariables and setExposedVariable

* bump version

* Revert "bump version"

This reverts commit 5e9df4825fb96ed5260d0ba5047302244f08fbd5.

* bump version

* adding .then to onComponentOptionChanged  function in global filters

* making on search event fire upon searching

* fixed lint issues

* New env for cypress workflow

* fix:resolve comments

* fixes: verifying deletion toast & verifying component not exist on version creation

* fixed sentence case for form component #7799 (#8465)

* added specs for deletion of compponent from right side panel & keyboard action

* Add new templates and remove old templates (#8490)

* bugfix: airtable plugin support for personal access token (#8295)

* fix: airtable plugin support for personal access token

* fix: review comments fixed

* Add new templates and remove old templates

* Change onboarding page templates and fix CSS

* Change Job application tracker template images

* Implement dark mode for onbarding page templates

* Fix templates with query issues

* fix template creation

* Remove redundant datasource options from templates

---------

Co-authored-by: Ganesh Kumar <40178541+ganesh8056@users.noreply.github.com>
Co-authored-by: Akshay <akshaysasidharan93@gmail.com>

* fix duplicate queries on templates

* bump to v2.27.1

* changed to sentence case (#8515)

Signed-off-by: Aarav Shukla <aarav8090shukla@gmail.com>

* 8500: Update the User label in Groups under Workspace Settings (#8513)

* [hotfix] fixes: ordering of event execution & Table switch (#8509)

* fixes: ordering of event execution

* Fix switch group not updating default value

* bumped up the version

* bumped up the version 2.27.4

---------

Co-authored-by: Nakul Nagargade <nakul@tooljet.com>
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* fix db url parse

* git commit -m "Fix: Change labels to sentence case (#8434)" (#8461)

* minor update in gitsync doc (#8529)

* fixed lint errors (#8532)

* [docs]fixed robots and sitemap

* [docs]minor update in codespaces setup guide

* bump version

* bump version

* bump version

* Fix: #8423 Link pricing page with badges (#8466)

Co-authored-by: ayushjha119 <ayush.jha.it23@heritageit.edu.in>

* [hotfix]: Prevent Autosave on Client Updates Received via Websockets for MultiEditing (#8549)

* Prevent Autosave on Client Updates Received via Websockets for MultiEditing

* bumped up the version 2.27.6

* [docs] minor correction in smtp doc (#8554)

* minor correction in smtp doc

* fix in smtp

* update bulk update, bulk delete, axios and python library how-tos (#8543)

* remove auto-generated overview pages (#8544)

* fix duplicate template modal for blank page

* bump version

* [fix] Export modal is showing wrong date for some versions (#8484)

* fix:export version date issue

* Updated the date fix

* Added window titles according to pages (#8553)

* window titles acc to pages

* correct import

* update

* update

* update

* update

* rafactoring

* updates

* remove comment

* add string constants

* add string const

* Update frontend/src/Editor/Viewer.jsx

Co-authored-by: Muhsin Shah C P  <muhsinshah21@gmail.com>

* handle app versions

* small update

* add checks

---------

Co-authored-by: Muhsin Shah C P <muhsinshah21@gmail.com>

* update contributing guide for macOS for the latest two versions

* Add null check in modal when clicked outside (#8582)

* Rearranges crucial entry points for navigation inside editor and dasbhoard (#8540)

* fixed sentence case for form component #7799 (#8465)

* revamp: navigation and dashboard

* change ds icon

* fix: design reveiws

* fix layout header border

* bug fixes

* bug fixes

* cleanup

---------

Co-authored-by: Sufiyan <84285133+Sufiyan-dev@users.noreply.github.com>
Co-authored-by: Akshay <akshaysasidharan93@gmail.com>

* Fixed sentence case for dropdown components #8430 (#8462)

* [docs]fixed broken links (#8598)

* Release group duplication feature (#8575)

* [hotfix]: Prevent Autosave on Client Updates Received via Websockets for MultiEditing (#8549)

* Prevent Autosave on Client Updates Received via Websockets for MultiEditing

* bumped up the version 2.27.6

* created backedn for group duplication

* created group duplication feature

* Added overflow tooltip

* Code sanity improved

* Fixes:CE

* fix

* overlapping issue fx

---------

Co-authored-by: Arpit <arpitnath42@gmail.com>
Co-authored-by: Kritagya <kriks.iitk@.com>
Co-authored-by: Midhun G S <gsmithun4@gmail.com>

* Added fix for resend button click causing white page issue (#8599)

* Sign up page button width fix (#8601)

* Revamp users table and edit organization users drawer (#8329)

* setup user tables and edit user drawer

* fix states on user edit and ui fixes

* fixes

* fix: user update

* remove: disable editing of full name while editing user

* bug fixes

* bug fixes

* [docs] add more topics to tooljet concepts and update formatting (#8594)

* add more topics to ToolJet concepts

* add more tooljet concepts topic

* remove padding from images

* Add title for workspace constants page (#8602)

* bug fixes (#8603)

* [docs]:update sidebar (#8565)

* update sidebar

* keep all items in sidebars collapsed

* Remove redundant dataSourceOptions from app export (#8521)

* Feature: Nullable fields (#8427)

* 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

* new design implemented for creating a new row in ToolJet database

* added darkmode design as well for the create row disabled fields

* added hover effects for disabled fields

* added text color for disabled state

* added toast message for handling errors

* added some changes in edit row file

* added some changes in create row file

* added styles for the edit row fields according to new design

* added stylings for react select in edit row

* disabled create button

* disabled save button

* added null tag inside the input field

* add versioned transformations for tjdb import dto

* update view table query

* update tjdb forms for constraints changes

* added all operators list in constants file

* fix primary key check

* added sticky style for column and row creator

* added null tag inside the cell if the value is null

* resolved bugs in nullable fields

* added functionality for allowing empty string for datatype character only for edit row and create row

* added functionality for allowing empty string for datatype character only for edit row and create row

* removed console logs

* fixed bugs

* fixed bugs in editrow

* fix: create table datatype dropdown tick icon for respective datatype selected

* fix: default value is not updating while edit a column after change it to null constraint

* fix: create-row and edit-row boolean field toggle on default value selection color was missing

* fixed bugs

* wip sticky button

* added styles for sticky column creator and row creator

---------

Co-authored-by: Abd-Rahman-1999 <s.rahmanabd1999@gmail.com>
Co-authored-by: Ganesh Kumar <ganesh8056234@gmail.com>

* Fix:#8595 Text formatted for marketplacce plugins (#8609)

* fix: noOptionsMessage is a function, not a string (#8619)

* Add data-cy for new componets (#8618)

* [docs]updated ssoUserInfo (#8610)

* Modified platform cypress test cases for dashboard revamp (#8621)

* Modify platform cypress test cases for dashboard revamp

* Modify cypress test cases

* Modify failed test cases

* Update failed test cases

* Fix failing flaky specs (#8624)

* updated spec with back to app method (#8628)

* [docs]gitsync guide for gitlab (#8636)

* [docs]:add doc for import and export of apps (#8615)

* add doc for import and export of apps

* revert changes in config and version files

* [docs]whitelabel cloud (#8645)

* app could not save error on resizing column width fixed (#8635)

* Add data-cy for group duplication modal (#8644)

* Add cypress test cases for group duplication (#8646)

* Add cypress test cases for group duplication (#8651)

* [hotfix] fixes: auto save is triggered on key press without any changes (#8639)

* fixes: auto save is triggered on key press without any changes

* bumped up the version

* fixes: runQuery should be able to fire fromcustom component (#8652)

* [docs]how-to: conditionally format cells in table (#8656)

* [docs]airtable data source (#8657)

* [docs]how-to: setup log file generation(rsyslog) (#8661)

* [docs] how-to:print data from multiple tabs (#8576)

* [docs]how-to:print data from multiple tabs

* [docs] how-to: print multi tabs data

* typo fix

* changes after review

* fixes: app versioning with kannban children and import export apps (#8407)

* Add marketplace env var in cypress action

* test: Add automation for text-input revamp. (#8671)

* init textinput revamp

* updated styles panel

* bugfix

* updates

* fix :: accordion

* fix :: styling

* add box shadow , additional property,tooltip

* fix conditional render for styles

* feat :: fixed order of each property and styles

* feat :: styling input

* bugfix

* feat :: add option to add icon

* add option to add icon

* adding option to toggle visibility

* updated password input with new design

* chnaging component location

* bugfix

* style fixes

* fix :: added loader

* updated :: few detailing

* few bugfixes

* fix :: for form widget label

* fixes

* added option to add icon color

* including label field for password input

* fix for label

* fix

* test fix backward compatibility for height

* updates

* revert

* adding key for distinguishing older and newer widgets

* testing

* test

* test

* update

* update

* migration testing

* limit vertical resizing in textinput

* testing

* throw test

* test

* adding check for label length

* fixing edge cases

* removing resize

* backward compatibility height

* backward compatibility

* number input review fixes

* added exposed items

* fixing csa

* ui fixes

* fix height compatibility

* feat :: csa for all inputs and exposed variables

* backward compatibility fixes and validation fixes

* fixes :: textinput positioning of loader and icon

* fix :: password input

* cleanup and fixes

* fixes

* cleanup

* fixes

* review fixes

* review fixes

* typo fix

* fix padding

* review fixes styles component panel

* fix naming

* fix padding

* fix :: icons position

* updates

* cleanup

* updates events , csa

* backward compatibility

* clean

* feat :: change validation from properties

* ui fixes

* icon name

* removed 'px' text from tooltip

* fixes placeholder

* few updates :: removing label in form

* ui in form

* update :: number input validation behaviour

* testing fixes

* added side handlers

* removing unwanted fx

* disabling fx for padding field

* ordering change

* fix

* label issue + restricted side handler

* fix :: box shadow bug

* on change event doesnt propagate exposed vars correctly

* adding debounce for slider value change

* fix :: for modal ooen bug during onfocus event

* test slider

* Add common utils

* Modify helpers

* Add text input spec

* Add utils for field validation

* Minor spec updates

* Fix for password  basic automation cases

---------

Co-authored-by: stepinfwd <stepinfwd@gmail.com>

* feat: Getter functions for query data and variables (#8241)

* Introduce getVariable and getPageVariable actions

* Introduce getData, getRawData and getLoadingState for queries

* Fix : All fx code blocks are getting active when fxActive is true for a table column (#8664)

* bug fixed - all fx code blocks are getting active when fxActive is true

* removed consoles

* added error handling mechanism for fxActiveFields

created a function to improve readability of onFxPress callback function

* feat: Add transformations feature to table columns (#8287)

* Add transformations feature to table columns

* Make table transformations listen to current state

* Move column transformation to below "key" in column properties

* Properly exposed currentData and currentPageData of table alongwith transformations

* Allow custom id for dynamically generated columns (#8525)

* fix: Only one of the events trigger when multiple events with debounce is created (#8163)

* fix :: events with multiple debounce not triggering

* check and remove debounvce key if not required

* update as uuid

* revert

* revert

* Fire row click event on checkbox click in table (#8616)

* Add loader when creating and updating events (#8588)

* feat: Textinput , Passwordinput , Numberinput revamp (#8079)

* init textinput revamp

* updated styles panel

* bugfix

* updates

* fix :: accordion

* fix :: styling

* add box shadow , additional property,tooltip

* fix conditional render for styles

* feat :: fixed order of each property and styles

* feat :: styling input

* bugfix

* feat :: add option to add icon

* add option to add icon

* adding option to toggle visibility

* updated password input with new design

* chnaging component location

* bugfix

* style fixes

* fix :: added loader

* updated :: few detailing

* few bugfixes

* fix :: for form widget label

* fixes

* added option to add icon color

* including label field for password input

* fix for label

* fix

* test fix backward compatibility for height

* updates

* revert

* adding key for distinguishing older and newer widgets

* testing

* test

* test

* update

* update

* migration testing

* limit vertical resizing in textinput

* testing

* throw test

* test

* adding check for label length

* fixing edge cases

* removing resize

* backward compatibility height

* backward compatibility

* number input review fixes

* added exposed items

* fixing csa

* ui fixes

* fix height compatibility

* feat :: csa for all inputs and exposed variables

* backward compatibility fixes and validation fixes

* fixes :: textinput positioning of loader and icon

* fix :: password input

* cleanup and fixes

* fixes

* cleanup

* fixes

* review fixes

* review fixes

* typo fix

* fix padding

* review fixes styles component panel

* fix naming

* fix padding

* fix :: icons position

* updates

* cleanup

* updates events , csa

* backward compatibility

* clean

* feat :: change validation from properties

* ui fixes

* icon name

* removed 'px' text from tooltip

* fixes placeholder

* few updates :: removing label in form

* ui in form

* update :: number input validation behaviour

* testing fixes

* added side handlers

* removing unwanted fx

* disabling fx for padding field

* ordering change

* fix

* label issue + restricted side handler

* fix :: box shadow bug

* on change event doesnt propagate exposed vars correctly

* adding debounce for slider value change

* fix :: for modal ooen bug during onfocus event

* test slider

* fix :: bugs regarding state update in checbox , slider , slider bug

* update slider with radix slider

* bugfix

* fix auto widh bug

* updae margin

* few fixes renamed style ppts

* stylefix

* fix :: config handled not getting focused on hover of the component

* typo

* fix :: side dragging got disabled

* changing everything to sentence case

* removing unwanted exposed vars

* expose labels

* typo

* fix mandatory position

* fix :: for warning icon for deprecated csa's

* fix :: when switching layouts box size is not updated

* feat: Add setFilters and clearFilters CSA in table (#8637)

* Add setFilters and clearFilters CSA in table

* Remove console log

* Add this CSA in component actions

* Resolve code comments

* Feat: query parameters for all queries (#8347)

* Extend parameter support to all query types

* Use query manager state for RestAPI options

* Put parameter list on query manager header

* Make parameter list adapt to available space in header

* Update codehinter preview when parameters are updated

* Update styling of query parameters towards design

* Support parameters in all queries if builder has added it

* Avoid using query parameters argument for other internal data relay

* Rename parameters to userSuppliedParameters

* Resolve the bug that caused codehinter schema validation to not work

* ui fixes

* review fix

* Do not show number of parameters

* import current state instead of store in codehinter

* Import using @ prefix in codehinter

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* Remove unnecessary css comment

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* Resolve import error in query manager

* design fixes

* fix :: colors

* fix :: pill color

* review fixes

* fix bg color

---------

Co-authored-by: stepinfwd <stepinfwd@gmail.com>
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* feat: enable or disable row selection on click of cell using property (#8581)

* enable or disable row selection on click of cell using prop

* Changed allowRowSelectionOnClick property name to selectRowOnCellEdit

* Not showing fx button for selectRowOnCellEdit property

* avoiding event getting propagated for action button when select row on edit cell is false

* code refactor - removing unwanted code

* code refactor - removing unwanted code

* feat: CSA to select  and deselect all rows in the table component (#8674)

* Added csa to select rows in bulk

* empty dependency array

* added csa to deselect all rows

* Avoided using of two different use effects for selecting and deselecting all rows

* added property to dependency array

* Add marketplace env var in cypress action

* feat: Preview App header revamp (#8384)

* Preview App header revamp

* Fixes as per new design

* fixes

* Fix

* commit

* Add mobile mode in viewer

* Add on banner click redirecting to tooljet website

* fixes

* Hide scrollbar in viewer mobile

* Change text to built with

* Design feedback

* Fix design feedback

* Resolve code comments

* Remove consoles

* Remove file

* Resolve code comments

* fix

* Fix on launching from dashboard preview settings still available

* Fix tooltip placement

* Fix QA bugs

* Added mobile preview mode

* Modified platfrom cypress test cases (#8709)

* Modify platfrom cypress test cases

* Modify manage groups test case

* fix: In mobile view components are not showing up for the launched apps (#8705)

* Fixed : components are not visible in the launched app mobile view

* refactored the code

* removing unwanted code change

* fix: Maintained pages order in viewer same as editor (#8701)

* Fixes pages not as per same order as in editor.

* Fix

* feat: Text component revamp (#8097)

* init textinput revamp

* updated styles panel

* bugfix

* updates

* fix :: accordion

* fix :: styling

* add box shadow , additional property,tooltip

* fix conditional render for styles

* feat :: fixed order of each property and styles

* feat :: styling input

* bugfix

* migration to move visibility and disabled state from properties to styles in appdefinition

* Migration changes

* Fix exposed variables

* Fix styles and add extra properties

* Merge fixes

* Add support for onHover show fx btn

* Fixes

* Migration move box shadow from general styles to styles

* Resolve  merge issues

* Add padding and fix background color not working

* feat :: add option to add icon

* add option to add icon

* adding option to toggle visibility

* updated password input with new design

* chnaging component location

* bugfix

* style fixes

* fix :: added loader

* updated :: few detailing

* few bugfixes

* fix :: for form widget label

* fix merge issue

* fixes

* added option to add icon color

* including label field for password input

* fix for label

* fix

* test fix backward compatibility for height

* updates

* revert

* adding key for distinguishing older and newer widgets

* testing

* test

* test

* update

* update

* migration testing

* limit vertical resizing in textinput

* testing

* throw test

* test

* adding check for label length

* Add deprecated tooltip for exposed variable tooltip

* fixing edge cases

* removing resize

* backward compatibility height

* backward compatibility

* number input review fixes

* added exposed items

* fixing csa

* Add scroll property

* ui fixes

* fix height compatibility

* feat :: csa for all inputs and exposed variables

* backward compatibility fixes and validation fixes

* fixes :: textinput positioning of loader and icon

* Update default size

* fix :: password input

* Fix styling in toggle item

* Fix toogleItem padding

* Fix depreacted tag styling

* Fix scroll

* cleanup and fixes

* fixes

* cleanup

* fixes

* review fixes

* review fixes

* typo fix

* fix padding

* review fixes styles component panel

* fix naming

* fix padding

* fix :: icons position

* updates

* cleanup

* updates events , csa

* backward compatibility

* clean

* Fix

* feat :: change validation from properties

* ui fixes

* icon name

* hide scroll when style scroll property is disabled

* Fixes

* removed 'px' text from tooltip

* fixes placeholder

* few updates :: removing label in form

* ui in form

* update :: number input validation behaviour

* testing fixes

* added side handlers

* removing unwanted fx

* disabling fx for padding field

* ordering change

* Resolve code comments

* fix

* label issue + restricted side handler

* Resolve code comments

* Fix

* fix :: box shadow bug

* Fix tooltip

* on change event doesnt propagate exposed vars correctly

* adding debounce for slider value change

* fix :: for modal ooen bug during onfocus event

* test slider

* fix :: bugs regarding state update in checbox , slider , slider bug

* update slider with radix slider

* bugfix

* fix auto widh bug

* updae margin

* few fixes renamed style ppts

* stylefix

* Fix QA comments

* Border color in form keep blank

* Add empty string as or condition.

* fix :: config handled not getting focused on hover of the component

* Fix QA comments

* typo

* Fixes

* Fix QA bugs

* CSA names fix

* Fix cases CSA actions

* Fix tooltips

* Fix loader styles

* Fix merge conflict issue

* fix

---------

Co-authored-by: stepinfwd <stepinfwd@gmail.com>

* feat: Small revamp on Chart component (#8683)

* Added onClick event to chart component

* Updated event name

* Resolved review comments

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>

* Resolved review comments

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>

* Add CSA to clear out clickedDataPoint of chart

* Exposed chart titles

* Removed the double click delay

* Reverted the title change

* Added bgColor & double click event

* Added border radius for chart component

* Added support of object values in JSON schema

---------

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>

* [hotfix] : import/export api not picking display preferences of widgets (#8673)

* fixes: importing apps should pick up options from exported display preferences

* bumped up the version

* fix: query details are not available in the current state before the query is  run (#8717)

* Restored query details to current state.

* use getCurrentState instead of getting the entire state of the current state store, as we dont want to expose the actions

* bump version

* added: checks for oauth credentials (#8722)

* feat: Added a scrollbar on pages menu in viewer (#8715)

* Added a scrollbar on pages menu in viewer

* Add overflow

* Fix last page not visible

---------

Co-authored-by: Nakul Nagargade <nakul@tooljet.com>

* fix: Modal crashing , fixes in form with custom schema (#8719)

* fix :: for modal crashing , custom form showing labels for input

* removing validation as there is no fx

* alignment and fixing resize issue in form with custom schema

* fix : center modal

* feat : New dropdown revamp (#8160)

* init textinput revamp

* updated styles panel

* bugfix

* updates

* fix :: accordion

* fix :: styling

* add box shadow , additional property,tooltip

* fix conditional render for styles

* redesign cell of dropdown column type

* redesign down arrow in the value container

* making down arrow display none when select element is focused

* feat :: fixed order of each property and styles

* feat :: styling input

* bugfix

* migration to move visibility and disabled state from properties to styles in appdefinition

* Migration changes

* Fix exposed variables

* Fix styles and add extra properties

* Merge fixes

* Add support for onHover show fx btn

* Fixes

* Migration move box shadow from general styles to styles

* Resolve  merge issues

* Add padding and fix background color not working

* feat :: add option to add icon

* add option to add icon

* adding option to toggle visibility

* updated password input with new design

* chnaging component location

* bugfix

* style fixes

* initial commit

* fix :: added loader

* redesign select column type in table

* stopping event propagation upon clicking menu list to avoid row selection

* Revamp options UI

* updated :: few detailing

* few bugfixes

* fix :: for form widget label

* Add Dropdown styles

* Fix box shadow not changing

* bug fixes

* Fix styles

* Fix param updated not updating app def correctly when called twice

* fix checkmark

* fix merge issue

* fixes

* added option to add icon color

* Hide loading state when dynamic options are not enabled

* including label field for password input

* fix for label

* fix

* test fix backward compatibility for height

* updates

* revert

* adding key for distinguishing older and newer widgets

* testing

* test

* test

* update

* update

* migration testing

* limit vertical resizing in textinput

* testing

* throw test

* test

* adding check for label length

* Add deprecated tooltip for exposed variable tooltip

* fixing edge cases

* removing resize

* backward compatibility height

* backward compatibility

* number input review fixes

* added exposed items

* fixing csa

* Add scroll property

* ui fixes

* fix height compatibility

* feat :: csa for all inputs and exposed variables

* backward compatibility fixes and validation fixes

* fixes :: textinput positioning of loader and icon

* Update default size

* fix :: password input

* Fix styling in toggle item

* Fix toogleItem padding

* Fix depreacted tag styling

* Fix scroll

* Fix autoWidth

* cleanup and fixes

* Add new option capability

* fixes

* cleanup

* Fix bugs

* fix height

* fixes

* Fixes

* Remove commented code

* Fix validation error

* review fixes

* review fixes

* typo fix

* fix padding

* review fixes styles component panel

* fix naming

* fix padding

* fix :: icons position

* updates

* cleanup

* updates events , csa

* backward compatibility

* clean

* Fix

* feat :: change validation from properties

* ui fixes

* icon name

* hide scroll when style scroll property is disabled

* Add icon colour

* Fixes

* Fixes

* fix

* removed 'px' text from tooltip

* fixes placeholder

* few updates :: removing label in form

* ui in form

* update :: number input validation behaviour

* testing fixes

* added side handlers

* removing unwanted fx

* disabling fx for padding field

* ordering change

* Resolve code comments

* fix

* label issue + restricted side handler

* Resolve code comments

* Fix

* fix :: box shadow bug

* fixes after merge

* Fix tooltip

* on change event doesnt propagate exposed vars correctly

* adding debounce for slider value change

* Resolve code comments

* fix :: for modal ooen bug during onfocus event

* test slider

* Resolve code comments

* fix :: bugs regarding state update in checbox , slider , slider bug

* update slider with radix slider

* bugfix

* fix auto widh bug

* updae margin

* few fixes renamed style ppts

* stylefix

* Fix QA comments

* Border color in form keep blank

* Fix padding issue

* Add empty string as or condition.

* Fixes

* fixes

* console commit remove after

* fixes

* fix

* Fixes

* Fix QA comments

* fix :: config handled not getting focused on hover of the component

* Fix QA comments

* typo

* Fixes

* Fix QA bugs

* CSA names fix

* Fix cases CSA actions

* changing to running

* Fix bugs

* Fix bugs

* Fix tooltips

* Fix tooltips

* Fix loader styles

* Fixes

* Fix merge conflict issue

* fix QA bugs

* Fixes

* Fixes

* fix

* Remove validation

* expose input value for search text

* Fixes

* Remove table changes

* migration: Move visibility and disabled states from style to properties (#8638)

* Move visibility and disabled states from style to properties

* Add tooltip in general

* Adding batching

* Fix migration

* Remove unnecassary comments

---------

Co-authored-by: stepinfwd <stepinfwd@gmail.com>
Co-authored-by: manishkushare <kushare.manish9@gmail.com>

* Fixes sentry issues (#8734)

* review fixes (#8714)

* [docs]version fixes in setup guides

* Add automation for dropdown -specefic cases (#8738)

* Upgrade sentry packages

* Add automation for editor titles (#8577)

* Add data-cy to support dropdown automation (#8739)

* Add basic automation cases (#8697)

* data-cy: Add data-cy for component revamp (#8686)

* Add basic automation cases

* Add data-cy for common elements and input components

* fix: removed loader for preview when run button is clicked (#8740)

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

* chore: Disable console.logs in production (#8497)

* Added code to block all console.logs in prod

* Removed console using Terser plugin

* Revert "feat : New dropdown revamp (#8160)" (#8756)

This reverts commit 1831b77f3b091bac385217f397618534b46377a1.

* Fixes Border Radius and Box Shadow to sentence case (#8759)

* Fix: overlay of nav dropdown on pinned sidebar (#8758)

* fix: overlay of nav dropdown on pinned sidebar

* add changes to scss

* Fix react markdown applying margin bottom (#8761)

* migration: Move visibility, disabled, and tooltip to properties (#8757)

* Revert "feat : New dropdown revamp (#8160)"

This reverts commit 1831b77f3b091bac385217f397618534b46377a1.

* Move visibility, disabled state and tooltip to properties

* Add loader when deleting a event in inspector (#8741)

* Fix lint issues on migration (#8767)

* fix: Move visibility, disabled and tooltip from styles to properties in import export (#8750)

* Move visibility, disabled and tooltip from properties to styles.

* Adds a generic function to move properties in component

* updating app state on renaming

* Inspector is not positioned properly in firefox (#8776)

* app organization id decamalization issue (#8768)

* test: Fixed automation failures of appbuilder-1.5 (#8753)

* Fix type on commands

* Fix hover issue on colorpicker fx

* Fix event wait

* Fix spec for text input

* Modified automation case for CSA

* Add preview validation for properties

* Add preview validation for styles

* Skip preview it block

* Add automation for pasword Input

* Add automation for nimber Input

* Add missing specs to the suite

* [hotfix] fixes: mobile view rendering of components  (#8778)

* fixes: mobile view rendering of components

* fixes: current layout selection on mount

* fixes: fixes: mobile view rendering of components

* bumping version

* Bugfix/marketplace 1.6 release (#8760)

* fix: dashboard section header was not updated

* fix: tooltip will not be shown for null boolean and empty strings

* fix: sort and filter condition menu will be closed on clickaway

* fix: when creating new row input field text is overlapped by null value

* fix: table rename form keypress triggers create table api

* fix: null toggle of cell edit menu doesnt seem to work properly after cell error state

* fix: null toggle were disabled when you update a cell with null value in cell edit menu

* bump to v2.29.0

* updated file path (#8781)

* Make label as empty string for older text, password and number input components while importing and exporting (#8774)

* fix: Integration fixes for inputs  ( Alignment issues ) (#8737)

* fix :: bottom resizer not showing

* fix :: issue with auto width not getting applied

* fix :: size diff updated btw dropdown and developed components

* remove default value migration

* update border color , fix for width resize during auto

* make label as a separate component

* updated text input

* updated every input to make it consistent

* make label as a separate component

* removed unwanted code

* fix :: added datacy

* padding fix

* check padding

* updating padding as 0px for none and 1px for default and other

* fixes for maigration and resizer alignment issue

* updates

* size fix

* lint fixes

* fix migration

* text loader fix

* migration for older text component alignment

* fix :: migration and number input arrows

* fix :: custom schema form

* fix :: custom schema for text

* migration for vertically aligning text

* migration update

* changed vertical alignment to center default

* asterisk fix , mozilla number input ui issue

* fix :: icon issue

* fix number input

* bugfix

* remove unwanted code

* fix :: asterisk

* remove older migration file (#8792)

* fix: Add scroll on hoverin text component (#8785)

* Add scroll on hover

* Add optional check

* Add firefox styles

* Hide horizantal scroll

* Fix scollbar width

* fix: Fix import export issue on migrating revamped components (#8794)

* Fix import export for newly revamped widgets

* Add boxshadow and number input min and max migration

* fix: Loader position in text widget , migration fixes (#8793)

* fix :: loader position in text widget

* removing default value migration

* fixed :: fallback default value of border radius to 4px itself

* fix failures (#8797)

* Bumped version

* Fixed lint issue

* Fix marketplace workflow

* bump to v2.30.0

* Fixed datasource cypress failure specs (#8763)

* updated text value

* update export import specs with api login

* skip database spec

* Fix: Dark mode issues across the app (#8744)

* fixes: dark mode issues accros the app

* fix: username visibility on dark mode

* dark mode from grup duplication

---------

Co-authored-by: Kritagya <kriks.iitk@.com>

* Fix: app loader state in dark mode (#8784)

* fix: app loader state in dark mode

* fixes

* Fixed pagination broken issue in App dashboard (#8809)

* Fix for marketplace cypress workflow

* Fix for marketplace cypress host-url

* Fix for marketplace cypress host-url

* fix: set preview data after transformation in query panel run button click (#8817)

* updated spec (#8818)

* fix : inspector icon alignment (#8843)

---------

Signed-off-by: Aarav Shukla <aarav8090shukla@gmail.com>
Co-authored-by: Abd-Rahman-1999 <s.rahmanabd1999@gmail.com>
Co-authored-by: nandinisaha13 <nandinisaha13@gmail.com>
Co-authored-by: Karan Rathod <karan.altcampus@gmail.com>
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
Co-authored-by: Shubhendra Singh Chauhan <withshubh@gmail.com>
Co-authored-by: Antraxa <antraxa@gmail.com>
Co-authored-by: rene osborne <rene.garcia@clara.team>
Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
Co-authored-by: Yash Hegde <yash4success@gmail.com>
Co-authored-by: Tuutoo <9068314+tuutoo@users.noreply.github.com>
Co-authored-by: Farookh Zaheer Siddiqui <129654632+FarukhS52@users.noreply.github.com>
Co-authored-by: russell-hutson-jp <102313014+russell-hutson-jp@users.noreply.github.com>
Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com>
Co-authored-by: Ayaan B. Bordoloi <ayaanbordoloi25@gmail.com>
Co-authored-by: Harsimran-19 <103135191+Harsimran-19@users.noreply.github.com>
Co-authored-by: Harsimran-19 <harsimran1869@gmail.com>
Co-authored-by: lukas-mar <147140258+lukas-mar@users.noreply.github.com>
Co-authored-by: Midhun Kumar E <midhun752@gmail.com>
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: Muhsin Shah C P <muhsinshah21@gmail.com>
Co-authored-by: Jaswanth T R <86149404+JaswanthJeethu18@users.noreply.github.com>
Co-authored-by: Adish M <adish.madhu@gmail.com>
Co-authored-by: Qayyum Siddiqui <54232882+qayyum22@users.noreply.github.com>
Co-authored-by: Allen Joseph <allenxavier45@gmail.com>
Co-authored-by: Raghuram Bachu <1993raghuram@gmail.com>
Co-authored-by: Ayush Jha <73348925+ayushjha119@users.noreply.github.com>
Co-authored-by: ayushjha119 <ayush.jha.it23@heritageit.edu.in>
Co-authored-by: Raj Anand <58350132+Just-A-Pixel@users.noreply.github.com>
Co-authored-by: Manish Kushare <37823141+manishkushare@users.noreply.github.com>
Co-authored-by: Sufiyan <84285133+Sufiyan-dev@users.noreply.github.com>
Co-authored-by: Abhinaba Adhikari <79746925+abhinabaadhikari@users.noreply.github.com>
Co-authored-by: Ganesh Kumar <40178541+ganesh8056@users.noreply.github.com>
Co-authored-by: Aarav Shukla <aarav8090shukla@gmail.com>
Co-authored-by: Abhi Rana <63769307+Avon11@users.noreply.github.com>
Co-authored-by: Nakul Nagargade <nakul@tooljet.com>
Co-authored-by: Achint Jain <119395483+16achint@users.noreply.github.com>
Co-authored-by: Anantshree Chandola <anantshreechandola23@gmail.com>
Co-authored-by: Nakul Nagargade <133095394+nakulnagargade@users.noreply.github.com>
Co-authored-by: vjaris42 <vjy239@gmail.com>
Co-authored-by: kriks7iitk <34170719+kriks7iitk@users.noreply.github.com>
Co-authored-by: Kritagya <kriks.iitk@.com>
Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
Co-authored-by: Ganesh Kumar <ganesh8056234@gmail.com>
Co-authored-by: ajarai ayoub <113044987+ajAYB-code@users.noreply.github.com>
Co-authored-by: Ajith KV <ajith.jaban@gmail.com>
Co-authored-by: Mekhla Asopa <59684099+Mekhla-Asopa@users.noreply.github.com>
Co-authored-by: stepinfwd <stepinfwd@gmail.com>
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
Co-authored-by: manishkushare <kushare.manish9@gmail.com>
Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com>
Co-authored-by: Syed Abdul Rahman <137684137+S-Abdul-Rahman@users.noreply.github.com>

* Revert "Merging main to codehinter feat branch (#8848)"

This reverts commit 5580d5582256d4ac93ca8fd1e2a40a9f7dc7bfe4.

* fixes: CodeHinter compoennt pathfrom param form

* fixes: merge conflits with appbuilder-1.5

* fix: Codehinter revamp ui fixes (#8862)

* fix : font size on preview box

* fix :: consistency of braces in single line JS in components, queries, transformations and RUNJS

* cleanup

* fix : delay in cursor when focussing an input.

* fix : For hinters where validations is not found we need to show only the resolved value

* fix :: copy icon svg

* fix : codehinter width needs auto adjust for longer string in query managr

* removed unwanted import

* fixes: (#8863)

truncate chars from start of the suggestion instead from the end

* icon should adpat to line number

* refactor

* fixes crashes due to cmds for search

* adding support of suggestions from query params

* removing default values from resolver store
adding default values as part of validations schema of widegts

* Refactor: Modularized widget configurations for improved maintainability

* removing support for completion of tab key

* adding support to app hints to python and sql editors

* fixes: transformations width on context updateds

* fix : Adapt current component properties update to codhinter improvements (#8911)

* fix : remove vertical line from components ui

* fix : zindex preview box

* fix :: switch breaking in inspector

* fix : hover for properties and style panel items

* fix : init fx hidden for certain properties

* fixes : adding fx not required field , label hidden fields and fix revamped compoents

* fix : ui issues

* cleanup

* style: Codehinter popover made to take full height of the popover (#8942)

* fix: codehinter draggable popover ui

* popup icon position

* revert codehinter popup icon placement

* fixes: adapt to cursor postion to current head of the input

* fixes: on selection of input inside cm editor, the widget of the line changes to 40% of the actual width

* adds ability to search relative hints for 0 depth

* (wip) [improvement] Implementation of a Mapping Table for Seamless client-server Interaction (#8769)

* Implemented DFS traversal to update references throughout the editor efficiently. DFS was chosen over BFS due to its ability to traverse deeply nested structures effectively. This approach ensures that all references are updated accurately. Time complexity analysis shows that DFS performs efficiently for our use case. Ready to push changes.

* on references upate to the client-side, trigger the update request

* updated references saved to db

* adds: new api for bulk updating query options
handle: on component references used in query options -- should be update with sync

* updating references within strings

* updates references through out all events

* cleanup
deleting entries/nodes from the mapp

* refactored

* adds support: updating all references of data queries at once
code cleanup and refactoring

* de select components on query name update

* re-render or update the local state of the codehinter which holds the reference as its current value

* Changes Made:
- Added transaction management to handleReferenceTransactions function
- Implemented start, update, error handling, and commit phases of the transaction
- Rollback changes to the initial snapshot in case of errors during the transaction

* Implemented efficient reference handling:
- Stored new references as entity IDs in the database for improved server performance.
- Enabled client-side transformation for UI updates, eliminating server dependencies.
- Maintained security by avoiding exposure of sensitive data.
- Preserved security of constants used as references.
- Older app versions retain existing definitions, with dynamic updates to references as needed.

* Implemented DFS traversal to update references throughout the editor efficiently. DFS was chosen over BFS due to its ability to traverse deeply nested structures effectively. This approach ensures that all references are updated accurately. Time complexity analysis shows that DFS performs efficiently for our use case. Ready to push changes.

* on references upate to the client-side, trigger the update request

* updated references saved to db

* adds: new api for bulk updating query options
handle: on component references used in query options -- should be update with sync

* updating references within strings

* updates references through out all events

* cleanup
deleting entries/nodes from the mapp

* refactored

* adds support: updating all references of data queries at once
code cleanup and refactoring

* de select components on query name update

* re-render or update the local state of the codehinter which holds the reference as its current value

* Changes Made:
- Added transaction management to handleReferenceTransactions function
- Implemented start, update, error handling, and commit phases of the transaction
- Rollback changes to the initial snapshot in case of errors during the transaction

* Implemented efficient reference handling:
- Stored new references as entity IDs in the database for improved server performance.
- Enabled client-side transformation for UI updates, eliminating server dependencies.
- Maintained security by avoiding exposure of sensitive data.
- Preserved security of constants used as references.
- Older a…
* Performance fixes:
1. Create suggestions and resolving tables only on editor is ready, reducing the update to 1
2. Avoids redundant updates to resolver store on current state updates
3. Only on new entries of hints, create and update the mapper hash table
4. Handles deleting of an hint from the suggestions list, and resolver hash table

* clean up

* adds individual hints as per only new current changes

* removes unwanted props passed to codehinter
creates hints and references
creates resolveable refs
- on rename: update the reference manager with the new entity name and proceed with the updates
- find and replace lookup table
- update the suggestions array
on entity name updated, re-reference should not trigger any outbound calls or saved to the db as entity ids are taken account for mapping to correct name
…components from appData store.

appData store persists the original components with actual entity reference id
Copy link

Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants