Commit graph

116 commits

Author SHA1 Message Date
Mekhla Asopa
7ba0519300 Added automation for elastic search 2025-12-22 10:59:53 +05:30
Mekhla Asopa
45397cff66 updated method and data-cy for form fill 2025-12-15 21:29:49 +05:30
Mekhla Asopa
dfba120c92 added data-cy for rest api dropdown fields 2025-12-05 14:13:11 +05:30
Medhansh Jain
f5051f533e
updated submodule reference (#14520)
* updated submodule refernce

* Fixed dropdown alignment and tj-db UI
2025-11-06 15:17:05 +05:30
Akshay Sasidharan
cbb4cb9b14 Revert "Fixed dropdown alignment in wf editor (#14392)"
This reverts commit 13f15673e0.
2025-11-06 13:47:43 +05:30
Medhansh Jain
13f15673e0
Fixed dropdown alignment in wf editor (#14392)
* updated Dropdown UI in wf

* updated ee-frontend

* Updated tj-db query input
2025-11-06 11:47:05 +05:30
Nishidh Jain
8d9494a4fe chore: Added changes that got missed while moving to new lts-3.16 synced branch 2025-09-16 17:53:19 +05:30
Akshay Sasidharan
31a9749a66 fix: gRPC credentials flow 2025-09-02 22:48:42 +05:30
Parth
118188cb9e
Enhance: Abstract common OAuth component for OpenApi (#13809)
* refactor: Abstract common oauth component for openapi

* chore: comment out redis-server startup in preview script

* fix: update PostgreSQL version from 16 to 13 in Dockerfile

* fix: update PostgreSQL directory paths from version 16 to 13 in Dockerfile

* fix: edit button on encrypted fields

* fix: conditionally render dropdowns

* fix: Change helpertext for redirect uri in oauthwrapper

* fix: query response to display json

* fix: copywriting & optional chaining

* fix: handle client credentials correctly

---------

Co-authored-by: adishM98 Bot <adish.madhu@gmail.com>
2025-08-29 16:51:56 +05:30
gsmithun4
562723e4f2 Merge branch 'lts-3.16' into bugfixes/platform-p1-p2-issues 2025-08-14 21:02:44 +05:30
Priyansh Rai
12f0713e7d
Feat: Add google cloud spanner marketplace plugin (#13818)
* feat(spanner): add Google Cloud Spanner plugin with initial implementation

- Developed core functionality in lib/index.ts, including methods for running queries and testing connections.
- Defined manifest.json for plugin configuration and required properties.
- Created operations.json to specify query options and parameters.
- Introduced types.ts for source and query options definitions.
- Updated plugins.json to include the new Google Cloud Spanner plugin.

* chore(server): add @google-cloud/spanner dependency for Spanner plugin

* fix(DynamicForm): unify buttonText and editorType props for marketplace plugins

* fix(spanner): standardize error handling in index.ts

* refactor(spanner): simplify source options by removing client_email and project_id

* fix(spanner): standardize label casing in manifest and operations JSON files

* refactor(spanner): update parameters label

* refactor(spanner): update buttonText prop for query params

* refactor(spanner): change dialect type from dropdown-component-flip to dropdown to move it upwards in the frontend

* feat(DynamicForm): add HintText component to display hints for form fields

* refactor(spanner): rename hint to helpText for consistency in DynamicForm and manifest/operations JSON files

* Revert "feat(DynamicForm): add HintText component to display hints for form fields"

This reverts commit 79b48284f1.

* fix(Spanner): improve error handling for private key JSON parsing

* refactor(Spanner): rename getPrivateKey to parsePrivateKey for clarity

* fix(Spanner): enhance error handling with QueryError for better clarity and consistency

* refactor(Spanner): standardize label casing for consistency in manifest and operations JSON files

* feat(Spanner): add query mode support for executing queries and update operations schema
2025-08-14 17:18:52 +05:30
Parth
61b7902b10
Hotfix: Render OAuth component dropdowns and correct labels (#13808)
* fix: Render OAuth component dropdowns and correct labels

* fix: Hide dropdowns and fix CSS
2025-08-14 17:13:12 +05:30
Ganesh Kumar
b8b0d57504
Fix: ApiEndpointInput component used for rendering OpenAPI spec where values are stored in cache for respective operation. (#13732)
* apiendpoint component used for rendering openapi spec value are persisted

* Fix/stripe old component (#13737)

* fix: integrated old component

* removed log

---------

Co-authored-by: Devanshu Gupta <devanshuguptaknp@gmail.com>
2025-08-08 22:28:57 +05:30
Rohan Lahori
46db9080ef
P1 and P2 issue fixes PR (Platform) (#13697)
* dashboard ui change for mobile devices

* feature config fix

* empty state container changes (adds a minor fix for workflow also)

* removed organization-environment api support from frontend

* ldap multi ou related changes

* fixed naming for audit logs key for app-git

* fixed favicon issue showing tooljet logo
2025-08-07 17:19:05 +05:30
Nishidh Jain
95ecf7561a Show "Fill with AI" button in SQL Mode for Multiline Editor 2025-08-07 13:24:21 +05:30
Ganesh Kumar
f46340b477
Enhance: Extract OAuth 2.0 flow for Salesforce & Snowflake (#13529)
* salesforce & snowflake changes added to prerelease

* module import error fixes

* optional parameter for getAuthUrl method
2025-07-23 22:18:50 +05:30
Ganesh Kumar
1f1eb3f9b7
Release : Google Calendar plugin and Oauth component extraction for plugins (#13393)
* Enhance: Extract the general OAuth flow for plugins [PRE-RELEASE] (#13291)

* Feature: Prometheus plugin (#13161)

* prometheus plugin

* added existing props

* Host and database can be dynamically configured in query builder for PostgreSQL and MySQL data sources (#13163)

* Fix: Postgresql datasource tries to connect via ssl even when ssl toggle is off (#13167)

* The ability to provide a partition key for deleting items in CosmosDB datasource has been enabled (#13166)

* Feature: Ability to configure the database name in Redis datasource (#13165)

* Fix: Avoid setting Content-Type header for requests without body and configure different host for all environments in OpenAPI [PRE-RELEASE] (#13230)

* Send content-type only with body in request

* Persist OpenAPI parameters per operation only

* Configure different host

* Add disable styles to the select input

* Feat: New fields 'client id' and 'client secret' have been introduced in the Slack datasource configuration page in pre-release (#13162)

* Update slack frontend

* Update slack backend to handle custom creds

* Add backfill migrations

* Dynamically change dropdown according to versions

* Change migration file name

* Correctly access scope in chat:write logic

* Extract general OAuth flow

* Render save button correctly

* Update the dropdown labels

* Fix dropdown according to tooljet editions

---------

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

* Feat/google calendar plugin pre release (#13361)

* ee commit

* Feature: Prometheus plugin (#13161)

* prometheus plugin

* added existing props

* Host and database can be dynamically configured in query builder for PostgreSQL and MySQL data sources (#13163)

* Fix: Postgresql datasource tries to connect via ssl even when ssl toggle is off (#13167)

* The ability to provide a partition key for deleting items in CosmosDB datasource has been enabled (#13166)

* Feature: Ability to configure the database name in Redis datasource (#13165)

* merge commit

* feat: updated openapi operation component

* Fix: Avoid setting Content-Type header for requests without body and configure different host for all environments in OpenAPI [PRE-RELEASE] (#13230)

* Send content-type only with body in request

* Persist OpenAPI parameters per operation only

* Configure different host

* Add disable styles to the select input

* Feat: New fields 'client id' and 'client secret' have been introduced in the Slack datasource configuration page in pre-release (#13162)

* Update slack frontend

* Update slack backend to handle custom creds

* Add backfill migrations

* Dynamically change dropdown according to versions

* Change migration file name

* Correctly access scope in chat:write logic

* Extract general OAuth flow

* Render save button correctly

* Update the dropdown labels

* feat: added google calendar

* fix: option styling

* fix: removed test connection

* Fix dropdown according to tooljet editions

* fix: updated oauth type

* fix: added env variable helper

* fix: environment fetch

* feat: added default scope

* Remove connect button when multi-auth true

* Make scope configurable

* Hardcode google calendar scope

---------

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

---------

Co-authored-by: Parth <108089718+parthy007@users.noreply.github.com>
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: Devanshu Gupta <devanshuguptaknp@gmail.com>
Co-authored-by: parthy007 <parthadhikari1812@gmail.com>
2025-07-14 22:18:06 +05:30
Ganesh Kumar
0eb2440023
Release: Marketplace sprint 12 (#13207)
* Feature: Prometheus plugin (#13161)

* prometheus plugin

* added existing props

* Host and database can be dynamically configured in query builder for PostgreSQL and MySQL data sources (#13163)

* Fix: Postgresql datasource tries to connect via ssl even when ssl toggle is off (#13167)

* The ability to provide a partition key for deleting items in CosmosDB datasource has been enabled (#13166)

* Feature: Ability to configure the database name in Redis datasource (#13165)

* Fix: Avoid setting Content-Type header for requests without body and configure different host for all environments in OpenAPI [PRE-RELEASE] (#13230)

* Send content-type only with body in request

* Persist OpenAPI parameters per operation only

* Configure different host

* Add disable styles to the select input

* Feat: New fields 'client id' and 'client secret' have been introduced in the Slack datasource configuration page in pre-release (#13162)

* Update slack frontend

* Update slack backend to handle custom creds

* Add backfill migrations

* Dynamically change dropdown according to versions

* Change migration file name

* Correctly access scope in chat:write logic

---------

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: Parth <108089718+parthy007@users.noreply.github.com>
Co-authored-by: Akshay <akshaysasidrn@gmail.com>
2025-07-11 12:15:39 +05:30
parthy007
956e6b4534 Merge branch 'main' into fix/workspace-constants-mapping 2025-07-01 17:01:08 +05:30
Parth
afb27b8673
Feature: Add Clickup plugin (#12703)
* initialize clickup plugin, add getConnection and testConnection

Signed-off-by: thesynthax <kushagra1403@gmail.com>

* including the openapi yaml

Signed-off-by: thesynthax <kushagra1403@gmail.com>

* trying to attach the openapi spec

Signed-off-by: thesynthax <kushagra1403@gmail.com>

* Fix key casing mismatch

* Update copywriting

* Fix clickup logic

* Filter limited operation request

* Add error standardisation

* Fix asterik symbol position

* Fix copywriting

* Fix wrong URL

* Fix asterisk gapping

* Handle array types

* Update marketplace package-lock.json

* Add the same package-lock as release branch

* chore: update package-lock.json

---------

Signed-off-by: thesynthax <kushagra1403@gmail.com>
Co-authored-by: thesynthax <kushagra1403@gmail.com>
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2025-05-27 21:03:15 +05:30
parthy007
165a43f835 Persists encryted field value when triggered 2025-05-15 15:06:15 +05:30
parthy007
09863495d4 Merge branch 'release/marketplace-sprint-11' into fix/workspace-constants-mapping 2025-05-13 20:26:22 +05:30
parthy007
4f73f5ee9a Add frontend changed to render workspace constant variable names on encrypted fields 2025-05-13 17:23:45 +05:30
Mekhla Asopa
3fde1e14b2
Added data-cy for data source (#12815)
* added datasource data-cy

* add method to get data-cy

* update the required fix

* fix format

* fix selectors

* fix selector for appSlug spec

---------

Co-authored-by: Akshay <akshaysasidrn@gmail.com>
2025-05-09 10:18:07 +05:30
Mekhla Asopa
0c338412a8
added data-cy for rest api (#12298) 2025-03-19 13:56:33 +05:30
gsmithun4
269ec56455 Initial commit 2025-02-25 12:22:50 +05:30
Mekhla Asopa
b5225a3382
Added data-cy for rest api (#11922) 2025-02-04 18:59:19 +05:30
Akshay
7aa2a6880e Feature: Stripe plugin UI fixes with OpenAPI endpoint as source (#2725)
* Fixed GET and DELETE request input renders and added all UX fixes (#9498)

* fixed get and delete request input renders and added all UX fixes

* Extracted Stripe plugin component as a separate component for Dynamic Form.

* Resolved PR review comments and fixed issue where rendering path input field crashed the app.

* Changed param name underline to dashed for tooltip and revamped input field clear button

* Fixed a few sonarlint issues.

* Removed the duplicate code by creating a separate function named RenderParameterFields.

* Refactored computeOperationSelectionOptions function to not nest functions more than 4 levels deep.

* Refactored RenderParameterFields function to reduce its Cognitive Complexity.

* Made span tag with the 'button' interactive role focusable.

* Inside switch case for codehinter in DynamicForm > getElementProps, Extracted nested ternary operation for theme into an independent statement.

* Added keyboard listener to the clear button.

* Removed opacity from select dropdown and operation from operation select dropdown UI.

* Fixed syntax error in clearButton function.

* Removed the package @nrwl/nx-linux-x64-gnu from marketplace dependencies.

---------

Co-authored-by: Mansukh Kaur <mansukhkaur@Mansukhs-MacBook-Pro.local>
Co-authored-by: Devanshu Rastogi <devanshu.rastogi05@gmail.com>

* Made changes according to new app builder architecture in v3.

* Fixed import issue for codehintor

* Fixed issue where due to incorrect value, stripe queries crashed the entire app.

---------

Co-authored-by: Mansukh Kaur <mansukhkaur@Mansukhs-MacBook-Pro.local>
Co-authored-by: Devanshu Rastogi <devanshu.rastogi05@gmail.com>
2024-11-22 12:52:39 +05:30
Akshay Sasidharan
03329abfa6 sync marketplace and tooljet database changes 2024-10-28 23:37:40 +05:30
Shaurya Sharma
37312e1ffd Merge fixes 2024-10-22 18:45:30 +05:30
Anantshree Chandola
34510591b2
Feature: Secret constants + Bug fixes for resolution of constants and secrets (#10551)
* Feature: Secret constants

* updates

* use constants

* name length validation

* update checks

* styling updates + unique constraint checks

* editor state updates

* update

* correct state

* ui updates

* added encrypted tag

* styling updates

* style update

* update

* fix for existing bugs

* styling updates

* styles

* update
2024-09-23 11:00:36 +05:30
Parth
fab12df3c4
Feature: Manual toggle for retrying failed REST-API requests (#10100)
* Add retry-toggle to app builder

* Add backend logic for number of retries

* Add retry-toggle to restAPI data-source

* Add margins between settings options in app builder

* Add changes for static-query toggle in app builder

* Initialise toggle value in store

* Change tooltip text

* Change classname for tooltip

* Add default value for toggle from manifest.json

* fix : rest api retry network toggle width issue

* Refactor: Setup retry initialization within restapi component (#10219)

* refactor to setup retry initialization within restapi component

* remove unused css class

* rename condition

* remove unused css

* Refactored: Merged RestAPIToggle into existing Toggle component

* Fix cookies support input render in querybuilder

* Add delayed initialization for retry_network_errors

---------

Co-authored-by: Abd-Rahman-1999 <s.rahmanabd1999@gmail.com>
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2024-07-09 13:10:22 +05:30
Johnson Cherian
3169d38d63
Release: Appbuilder S1 (#10081)
* fix : color for all new columns

* revert

* Fix: selection of copy of selected component for ease (#9818)

* fix: selection of copy of selected component for ease

* add pre selection for clonig as well

* add clone check

* fixes selection of components on empty canvas

* Fix: sizing issues in horizontal divider (#9942)

* fix horizontal divider sizing issues

* fix dark mode color in horizontal divider and remove unused class

* add custom fallback for images when not found (#9943)

* cherry pick error message log changes and fix tjdb error logs in debugger (#9951)

* Fix: mouse release on canvas when properties/styles values selected (#9732)

* fix: mouse release on canvas when properties/styles values selected

* fix: event name

* fix: rest api headers empty state while creating new query (#9729)

* fix: selection issue in table row while editing  (#9944)

* allow selection in table cell

* update classname for selection

* display date picker date as text instead of input in read only mode

* Add new revamped multiselect widget (#9837)

* 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

* feat :: toggle switch revamp

* init checkbox

* fixes

* fixes

* switch fixes

* validation fix

* fixes

* cleanup

* height fix

* fix height toggle

* updates

* fix :: icons position

* updates

* cleanup

* updates events , csa

* cleanup

* backward compatibility

* clean

* backward compatibility fix

* label fixed to one line

* feat :: change validation from properties

* ui fixes

* icon name

* removed 'px' text from tooltip

* added onchange event for checkbox

* fixes placeholder

* few updates :: removing label in form

* ui in form

* fire onchange

* 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

* fix

* 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

* update tooltip

* fix toggle switch

* fixes : inspector

* fix : checkbox label

* Remove date-fns depedency from table datepicker

* Revert Remove date-fns depedency from table datepicker

* feat : checkbox completed

* update checkbox review changes

* feat : toggle component

* feat : added new toggle component

* fix : colors

* updated review changes

* update name for old and new version

* update

* case change

* update

* update icon

* removed padding from checkbox and toggle

* fix naming

* product review and bugfixes : changes

* fix : checkbox setvalue action

* Update setvalue action in toggle

* fixed: section for legacy and new components

* add new version of dropdown

* Add same styles as other input components

* fix height issues

* Add new revamped multiselect widget

* Fix design review

* fix design issues

* Fix

* Fix merge issues

* Add menu portal target

* resolve code comments

* widget config changes

* add hover for clear icon

* fix

* Fix review comments

* Multiselect changes after dropdown merge

* exposed variables

* Delete unused components

* Multiselect fixes

* Dropdown CSS fixes and multiselect fixes

* Fix merge issues

* fix

* Add highlight text

* Change multiselect UI

* fix error message

* fix multiselect opening closing

* placeholder fix

* fix highlighting in multiselect

* fix : testing bugs

* fix : default value

* Fix merge issues

* Fix Qa bugs

* Fix QA bugs

* Fix codehinter default values

* fix fireEvent on focus

* Fixes

* Provide minwidth to dropdown and multiselect

* Fix search input value not getting updated

---------

Co-authored-by: stepinfwd <stepinfwd@gmail.com>
Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com>

* Fix: remove mandatory key from password input (#9786)

* Remove date-fns depedency from table datepicker

* Revert Remove date-fns depedency from table datepicker

* remove mandatory key from password input

---------

Co-authored-by: Nakul Nagargade <nakul@tooljet.com>
Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com>

* feat : Query manager separated to different tabs (#9823)

* change toggle for query manager and revamp preview

* feat : query manger body revamp

* updates

* fix : tranformation switch

* preview integration

* loader safari changes and overflow fix

* fix

* fix : settings tab QM

* revert few changes to fix datasources page

* revert header options change

* zindex fix for query-pane

* fix : events ui

* fix :events widget manager

* code optimised for this file

* QM header fixes

* dark mode changes

* fix : info icon

* open preview drawer on run query

* fix : query manager query section icons update

* update color

* design feedbacks and make preview panel resizable

* update toggle for preview result & increate draggable area

* fix :review changes

* merge fixes

* Merge branch 'appbuilder-1.8' into feature/query-manager-body

* fix : codehinter in disabled state

* ui fix

* code refactor

* cleanup

* fix fontsize in datasource selector popup

* fix border issue in preview container and increase draggable area

* fix : review fixes

* fix: fixed text css formatting for safari support

* Revert "code refactor"

This reverts commit 4763dd11a3.

* typo

* fix : not able to select text in preview

* fix : not able to view add params

* fix selection issue in preview

* fix : add scroll in query  manager when preview is blocking view

---------

Co-authored-by: Kartik Gupta <gupta.kartik18kg@gmail.com>

* Fixes: select all click behaviour on label (#10108)

* fixes: select all click behaviour on label

* fix: legacy component names

* fix: selecto issue (#10107)

* Fix : Prevent component autofill (#10040)

* fix : prevent other component from autofilling data when password is filled from browser suggestions

* optimise

* feat: skip onDragStop execution if drag event is empty (#10118)

* feat: skip onDragStop execution if drag event is empty

* fix: added additonal logs for  error

* display query preview data in preview panel and display transformation failure stacktrace data in previewpanel as well (#10129)

* Fix while adding new rows in table components when ever entered the text and pressed enter it doubles the text (#10112)

* Integration bugfixes appbuilder 1.8 (#10109)

* fix : query maanager duplicate and preview issue

* fix : multiselect breaking on making dynamic options null

* fix : preview and query panel integration bugs

* fix : placeholder

* fix : doc links

* fix : scroll in TJDB filter section

* fix : portal for multiselect

* fixes

* fix : image column table alignment

* fix : doc link for multiselect

* fix : codehinter state being persited across components

* fix :export app qery manager items not coming in correct order

* fix: search icon position

* code refactor

---------

Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com>

* add z-index to app name info header container (#10116)

* Fix dropdown and multiselect crash on integer labels (#10128)

* cast integer labels to string

* add null check for label and provide default value for empty labels

* empty and null handle for schemas and other values

* revert changes

* Fix: dark mode on preview names (#10136)

* fix: dark mode of preview names

* fix background color of preview

* fix tjdb query import (#10134)

* fix :revert radio button name change (#10153)

* Fix: select issue on multiselect (#10137)

* remove portal from multiselect

* fix: dynamic values for options in dropdown/multiselect

* remove fx from default option

* Fix: delete on options delete in dropdown (#10192)

* fix: delete on options delete

* fix: overlapping of multiselect on parent container

* fix: outside click of multiselect

* hotfix : Table breaking on importing older apps with null value in column (#10185)

* fix : table breaking on importing older apps with null value in column

* fix : table crash , codehinter not saving values upon page change

* remove low priority wrapper from autosave

* remove logs

* added delay to autosave as callback

* fix: dropdown crash on invalid data (#10202)

* revert to previous transformation code , fix darkmode color (#10216)

* fix : doclink for dropdown (#10217)

* fix : Transformations value getting cleared / not getting saved (#10218)

* fix : transformation value not getting saved

* remove dependency

* chore: version update for release

---------

Co-authored-by: stepinfwd <stepinfwd@gmail.com>
Co-authored-by: vjaris42 <vjy239@gmail.com>
Co-authored-by: Kartik Gupta <gupta.kartik18kg@gmail.com>
Co-authored-by: Nakul Nagargade <133095394+nakulnagargade@users.noreply.github.com>
Co-authored-by: Nakul Nagargade <nakul@tooljet.com>
Co-authored-by: Akshay <akshaysasidharan93@gmail.com>
2024-07-01 08:46:22 +05:30
Kavin Venkatachalam
7aa656169f Merge branch 'lts-2.50' into perf/0.1 2024-06-26 16:46:08 +05:30
Kavin Venkatachalam
bdb4706fc1
Performance release 0.1 (#9922)
* chore: moved fetching gds and lds from low priority calls

* Refactor: Optimize state updates by removing component dependencies on current state to avoid trade-offs

* clean up

* run on page queries after on app load queries are done executing
page load queries should be triggered even if the one or all the app load queries fails

* performance improvements:
- reduced calling resolver functions upto 50% times for components' rendering
- moved to new resolver function for resolving component properties: which 100 times more efficient as utitlises hash table to resolve references and only uses recursive function for resolving JS code by inferring the query
- reduced re-rendering of Box component upto 50-60%
- app load time improved by 30% : as resolver function is more efficient and 50% reduction on rendering of Box.jsx

* chore: removed currentState dependency from SubContainer and QueryManager

* chore: removed useCurrentState from old kanban component

* chore: filtered `false` from componentToRender array to avoid unwanted re-renders when there is an update in a component

* fix: minor improvement on buildAppDef function

* [performance] removes current state dependency from resolvers (#9934)

* Removes current state from function calls of resolver functions

* clean up

* remoes lodash clone deep to more efficient clone deep or copying utitlity method

* ts files to js

* replaced setTimeout to debounce method of lodash for more efficient delayed invocation and yielding mechanism to reschedule large number of tasks

* fixes file path for deepclone method

* fixes import file path for utils helpers

* fixes import file path for utils helpers

* clean up

* fixes: listView's custom resolvers are not getting updated

* chore: moved lastUpdatedRef state from Editor to the subscription of relsoverStore

* fixes: re-rendering of box component for trigger back resolvers

* fix: removing the delay as the runJS updates are not reaching to the components. While start running the query we are updated the componentIds that needs to be rendered. After running the query the same IDs are updated and this is stopping the re-render of the component

* Reverting commit 583460c

* fix: Table search event was not firing while clearing the search input

* fixes: mapping entites on clone page

* commit: Fixed issue on running query on app load with confirmation

* fix: we're mutating the data and which avoids the re-render to update the canvas bg colour. Added a deepClone to avoid it

* Bugfix - perf mapping (#10101)

* fixes: entity for compnent or query duplications with events

* maxDisplayLength for hinter's preview

* clean up

* fix: when multiple components are deleted, the codehinter has the deleted component as suggestion

* fixes: on typing fast the cursor postion changes its postion to first char of the line in multiline JS

* trial

* fix: moved currentValue state of codemirror to ref

* fix: the passed value to the codehinter was not updated properly

---------

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>

* fixes: evaluatin js code in codehinters with reserveed keyword

* fixes: reserved keywords string should be resolved and updated in the compnent

* re-rendering of componenrs in viewer

* fixes: resolving of refs

* added a timeout for filepicker

* removes 100s

* filepicker crashes (component) crash on page deleting

* fixes: app crash on adding file events

* fixes: hinter suggestions selection by keyboard

* [chore]: Show proper error message instead of app could not save (#10126)

* chore: show error message from BE instead of app could not save

* Added a fallback value

---------

Co-authored-by: arpitnath <arpitnath42@gmail.com>
2024-06-19 14:36:09 +05:30
Parth
147d58c440 Fix: Disable resource-name inputs for all action types and change placeholder for resource-body (#9946)
* Disable resource-name input and change placeholder text in resource-body

* Format the placeholder text

* Remove space from placeholder
2024-06-06 13:14:11 +05:30
Akshay
9519a1a873
Hotfix: Salesforce plugin (#9910)
* make all datasource options expicit

* Fix: Disable resource-name inputs for all action types and change placeholder for resource-body (#9946)

* Disable resource-name input and change placeholder text in resource-body

* Format the placeholder text

* Remove space from placeholder

---------

Co-authored-by: Parth <108089718+parthy007@users.noreply.github.com>
2024-06-06 13:07:15 +05:30
Kavin Venkatachalam
41dd1a1475 fix: passed delayOnChange from DynamicForm component to get the immediate onChange value from codeHinter 2024-05-29 15:17:00 +05:30
Kiran Ashok
0e76205a88
fix : Codehinter crash fix , miscellaneous ui fixes (#9814)
* fix : codehinter crash , misc ui fixes

* fixes: codehinter fx option in event manager
2024-05-22 13:21:59 +05:30
Kavin Venkatachalam
1cc99a86c1 Merge branch 'main' of https://github.com/ToolJet/ToolJet into feat/grid-appbuilder-improvement 2024-05-20 10:46:19 +05:30
Parth
5d4db131f6
Feature: Salesforce added as a plugin (#9583)
* Dynamic form configuration API logic pending

* OAuth 2.0

* Testing redirectURI

* salesforce-react-component

* Oauth flow

* OauthFlowSetup

* Merge develop

* Oauth flow changes

* Implement run function

* Fetch query details correctly

* Added instance URL to source options for run function

* Remove BulkLoad & ApexRESTQuery operation

* Increase resource-body height

* Render plugin icon in marketplace

* Make the URL dynamic in salesforce form

* Revert "Make the URL dynamic in salesforce form"

This reverts commit 62fa0fa2c1.

Remove extra imports

* Make the redirectUri dynamic

* Remove console.log

* Make use of classnames package for conditional styles

Remove console.log

* Add back remove elements

* Make instanceUrl snakecase

* Correct description for salesforce

* Revert changes to plugin icon in marketplace

---------

Co-authored-by: Syed Mohammad Akhtar Rizvi <85864291+ShazanRizvi@users.noreply.github.com>
2024-05-13 18:03:03 +05:30
Kavin Venkatachalam
15762d0c13 Merge branch 'main' of https://github.com/ToolJet/ToolJet into feat/grid-appbuilder-improvement 2024-04-24 13:17:50 +05:30
Kiran Ashok
4723bfe8e7
fix : Codehinter bugs (#9350)
* fix : Preview on parameters is not visible.

* fix : data source codehinter breaking

* fix : current value copy button.(copying different values)

* fix : select suggestions using mouse closes the preview box.

* fix : multiline preview

* fix: darkmode

* fixes:
- multi-line suggestions on different line numbers
- extended single line editor for json body

* cleanup

* handle multiple resolver references with hints

* fix : codehinter position

* fix : data source codehinters

* fix : woocommerce

* bugfix : bigquery

* fix : Selecting options from suggestion cleareing the values from  input fielsds.

* fix : parmeter list not opening

* datasource going back to defaults bug

* fix : datasource resetting issue

---------

Co-authored-by: arpitnath <arpitnath42@gmail.com>
2024-04-15 15:02:33 +05:30
Johnson Cherian
f620fd196f
fixes: GraphQL and RestAPI headers & expose page in runpy (#9352)
* Fix: #7059 Exposing page's data on runPy (#8608)

Co-authored-by: Johnson Cherian <johnsonc.dev@gmail.com>

* fix: added fix for corrupt graphql header

* chore: version upgrade for release

---------

Co-authored-by: blank0537 <111295371+blank0537@users.noreply.github.com>
2024-04-15 09:37:18 +05:30
blank0537
533878b946
Feature supabase plugin integration (#9213)
* Feature Supabase plugin implementation

* added limit field in get rows and changed plugin label

* resolved comments and error handling

* removed duplicate error message

* Resolved comments and Add columns reusable component added

* test connection update and types added
2024-04-05 14:14:47 +05:30
blank0537
cf5a9f7160
Feature Pocketbase datasource plugin implementation (#9145)
* Feature Pocketbase datasource plugin implementation

* Resolved comments and added multicondition component for sorting and filters

* resolved nitpicks
2024-04-01 11:50:15 +05:30
Arpit
4b27ec0d4a
[improvement] Revamping CodeHinter: Enhanced Single-Line and Multi-Line 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 a0ad3e1147.

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

This reverts commit 98892a8262.

* 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 8b795d86ae.

* Revert "debug commit-3"

This reverts commit d2e440e04b.

* 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 10a307118b.

* 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 5e9df4825f.

* 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 1831b77f3b.

* 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 1831b77f3b.

* 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 5580d55822.

* 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 app versions retain existing definitions, with dynamic updates to references as needed.

---------

Signed-off-by: Aarav Shukla <aarav8090shukla@gmail.com>
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
Co-authored-by: manishkushare <kushare.manish9@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: Johnson Cherian <johnsonc.dev@gmail.com>
Co-authored-by: Syed Abdul Rahman <137684137+S-Abdul-Rahman@users.noreply.github.com>
2024-03-01 00:52:58 +05:30
vjaris42
4b8f794a74
Fixes UI and test connection issues (#8377)
* fixes: testconnection bugs

* fixes

* revert: package-lock

* add: new line

* url redirect fix
2023-12-22 17:16:10 +05:30
vjaris42
379d400db8
Revamp Global Data sources (#8274)
* changes: listing of data sources

* add: plugins to ds list

* review fixes

* fixes

* fix: placeholder values for encrypted fields

* fixes

* review changes
2023-12-19 18:17:34 +05:30
Anantshree Chandola
4b884d515b
Fix MariaDB connection issues (#8235)
* Add default connection limit for mariadb test connection in backend

* map connectionLimit to connection_limit

* remove log

* remove comments

* fix: mariadbPool causes server crash in case of unknown db

* fix: prev details getting replicated in next selected ds
2023-12-19 10:32:49 +05:30