Commit graph

1091 commits

Author SHA1 Message Date
Nithin David Thomas
3933a9e7a2 Adds header and footer slots for Form 2025-03-08 00:25:24 +05:30
Muhsin Shah C P
f907997a84
Merge pull request #12158 from ToolJet/ee-bugfixes/platform
EE bugfixes
2025-03-07 18:54:20 +05:30
Muhsin Shah C P
abc113d1c3
Merge pull request #12157 from ToolJet/ee-bug/fixes
EE Bugs
2025-03-07 17:56:18 +05:30
rohanlahori
4dbd361625 fixes 2025-03-07 17:24:09 +05:30
Rudra deep Biswas
a80ef5ac6a init 2025-03-07 17:16:25 +05:30
Johnson Cherian
dc248c831d
Merge pull request #12122 from ToolJet/modularisation/modalV2
feat: Revamps modal widget to ModalV2 with header and footer (#11963)
2025-03-07 15:20:59 +05:30
Muhsin Shah C P
39afec27fc
Merge pull request #12154 from ToolJet/bug-fixes-rudra
Bug Fixes
2025-03-07 12:56:21 +05:30
Rudra deep Biswas
c64f037b8e hh 2025-03-07 12:50:20 +05:30
Nithin David Thomas
c16fcc645c
Merge branch 'modularisation/v3' into modularisation/modalV2 2025-03-06 23:15:13 -08:00
Muhsin Shah C P
c960548b55
Merge pull request #12155 from ToolJet/fix/deleteConstant
delete constant from all envs
2025-03-07 12:20:54 +05:30
Anantshree Chandola
7ec16143f5 delete constant from all envs 2025-03-07 12:18:33 +05:30
Parth
72b51f6165
Conditionally parse and decode api response (#12151) 2025-03-07 11:34:30 +05:30
Muhsin Shah C P
0fa90ee875
[modularisation fixes] login and workspaces (#12139)
* Fixed the organization invite issue for existed users after unarchive

* Fixed workspace switching issue
2025-03-07 11:33:59 +05:30
Nakul Nagargade
5fd9711f8e
Merge pull request #12138 from ToolJet/nakul-PR-sprint8
Sprint 7 changes
2025-03-06 18:44:25 +05:30
Anantshree Chandola
2c3b085b0d
fix datasource permissions (#12136) 2025-03-06 17:23:29 +05:30
rohanlahori
03b209d04a bugfix 2025-03-06 16:54:14 +05:30
Parth
6b08c86bed
Fix: Appbuilder page error (#12129)
* Parse and decode the api response

* Change the keys to follow snakecasing
2025-03-06 14:04:32 +05:30
Anantshree Chandola
1b81a2e272
updates (#12133) 2025-03-06 14:02:18 +05:30
Akshay Sasidharan
1bb19e13c0 update submodules 2025-03-06 13:52:03 +05:30
Rohan Lahori
598c0b5c3f
CE P0 Fixes branch-1 (#12116)
* minor fixes

* signup-fixes

* minor bug

* fix for not showing custom groups

* fixed minor bug

* removed comments

* dark mode fixes

* dark mode fixes
2025-03-06 13:03:43 +05:30
Muhsin Shah C P
a590b131d2
Removing copilot from the constants & fixing other bugs in the sheets (#12117) 2025-03-05 21:02:00 +05:30
Nithin David Thomas
406b8b2dfd
Merge branch 'modularisation/v3' into modularisation/modalV2 2025-03-05 06:19:25 -08:00
Nithin David Thomas
7b83acf48a feat: Revamps modal widget to ModalV2 with header and footer (#11963)
* feat: Exposes modal properties as CSAs

* Move CSA's to additional actions

* Adds additional actions and Data Modal.jsx

* Code cleanup

* feat: Exposes modal properties as CSAs

* Move CSA's to additional actions

* Adds additional actions and Data Modal.jsx

* Code cleanup

* Fix: Sets modal position within canvas viewport

* feat: Adds fullscreen size options for modals

* Hides height property if fullscreen

* feat: Adds fullscreen size options for modals

* feat: Adds header and footer for modal #11595

* Fixes canvas width issue for header

* fixes error with csa

* Adds migrations for modal

* Bug fixes for component movement across slots

* Fix resizing of modal trigger

* Set modal on body click

* Prevent modal drop event on modal backdrop

* Fixes canvas getting cut on full screen

* Review fixes

- Reorders inspector
- Removes border
- Moves header/footer height to props from styles
- Close button hover
- fxeditor to same line

* Adds modal as ModalV2

* Fixes widgets going out of modal canvas

* Fixes fullscreen canvas height issues

* Fix changes breaking old modal behaviour

* Review fixes

* Adding memo for header and footer

* Refactors dragEnd on canvas grid

* Delete server/migrations/1734422351569-UpdateModalHeaderTitle.ts

* Fixes edge cases
2025-03-05 17:36:04 +05:30
Anantshree Chandola
b7c21237ff
added env constants (#12114)
* added env constants

* updates
2025-03-05 16:02:29 +05:30
Rohan Lahori
8aad44c53e
Merge pull request #12105 from ToolJet/license-banner-changes
Dashboard License banner changes AI Release
2025-03-05 13:04:18 +05:30
Nakul Nagargade
89a8fafea0 Fix intermittently default option when selected not being saved correctly 2025-03-05 11:36:16 +05:30
Nakul Nagargade
20f03d6e11 Fix alignment issues arising due to label width setting for input components 2025-03-05 11:07:19 +05:30
Muhsin Shah C P
3828c93e23
Copying reset password changes (#12108) 2025-03-04 20:18:30 +05:30
Anantshree Chandola
2ef356938c
fix invite (#12096) 2025-03-03 19:50:19 +05:30
Anantshree Chandola
3202390dd9
fix oauth (#12095) 2025-03-03 16:39:02 +05:30
Parth
fa9f82f7c4
Add marketplace plugins to plugins.json (#12093) 2025-03-03 16:19:48 +05:30
Parth
538d311182
Fix: Plugins installation and test-connections bugs (#12088)
* Add dependency injections to fix plugin install issue

* Add id in testConnection URL param
2025-03-03 15:06:40 +05:30
Muhsin Shah C P
98feee3580
Making CE and Basic Plan logic same for environments (#12066)
* Making CE and Basic plan flow same

* Added basic plan organization constant update api changes

* Added edition downgrade checker
2025-03-03 11:53:20 +05:30
Muhsin Shah C P
d275a8ac58
[fix/modularisation] Fixed the white-label store helper issue and changed EDITION to TOOLJET_EDITION (#12044)
* Fixed: Changed EDITION to TOOLJEET_EDITION and fixed ee frontend helper file issue

* Changed the edition env in docker files
2025-02-25 17:58:43 +05:30
Midhun G S
870fb1e06c
fix for migration app loading (#12042) 2025-02-25 16:22:15 +05:30
gsmithun4
269ec56455 Initial commit 2025-02-25 12:22:50 +05:30
Akshay Sasidharan
f07a5a7113 Merge branch 'main' into release/marketplace-sprint-7 2024-12-10 19:03:55 +05:30
Johnson Cherian
b53ccd9575
Merge branch 'main' into release/app-builder-s-4 2024-12-10 11:06:08 +05:30
Nithin David Thomas
558d66fed0
feat: Adds header for container widget (#11309) 2024-12-04 17:20:32 +05:30
Devanshu Rastogi
3ebc1933cc
Enhance: Added 'Set Value' functionality and support for HTML with hyperlinks in Rich Text Editor component (#11406)
* Added HTML support for Placeholder and Default Value property. Added CSA for loading state.

* Exposed isDisabled, isVisible and isLoading variables. Also exposed setValue, setDisable, setVisibility and setLoading functions.

* Fixed issue where loading state functionality was not visible in the properties section on the initial render of rich text editor.
2024-12-04 14:40:57 +05:30
Kartik Gupta
5e9e9381e9
download event for table in server side pagination (#10330) 2024-12-04 13:59:29 +05:30
Devanshu Rastogi
af1dda8ec9
Feature: Added Radio button V2 component (#11408)
* Initial setup for Radio Button V2

* Made changes in Radio Button component and its properties.

* Added a loader.

* Added disabled states in Radio Button V2.

* Fixes

* CSA fixes

* fixes

* Fixed switch case label for Radio Button V2 and updated config files.

* Added Radio Button component in Inspector and refactored the component and config file.

* Refactored code for updating exposed variables and fixed default value for non dynamic options.

* Fixed sonarlint issue - Unexpected duplicate font-size.

* Made minor styling changes.

* Removed currentStateStore logic.

* Implemented single source of truth for changing value and resolved review comments.

* Changed font weight of options to 400.

---------

Co-authored-by: Nakul Nagargade <nakul@tooljet.com>
2024-12-04 13:59:08 +05:30
Nithin David Thomas
aa4cd1fc2e
chore: Exposes CSAs for Container widget (#11229)
* chore: Exposes CSAs for Container widget

* Introduces hook to expose variables

* Updates hook to expose variable after setting the state

* Update frontend/src/AppBuilder/_hooks/useExposeVariables.js

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

* Removes unwanted imports

* Exposing CSA to control component actions

* Moves CSA's to additional actions section

* Fixes wrong handle param

---------

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
2024-12-04 13:56:38 +05:30
Nakul Nagargade
966c208333
Fix container and kanban can't be moved by dragging on the body of the component (#11355) 2024-12-04 13:54:43 +05:30
Devanshu Rastogi
05b25cfe82
Fixed value of value CSA when no default value is set and clear() action is used. (#11409) 2024-12-04 13:52:33 +05:30
Nakul Nagargade
c3b14dac27
feat: Introduce table styles property to set the casing of table column names (#11424)
* feat: Introduce table styles property to set the casing of table column names

* Update table default data keys

* Fix
2024-12-04 13:51:11 +05:30
Ganesh Kumar
d19a4cd942 Feature: Added env support to configure max rows and max csv file size for tooljet database bulk upload (#2726) 2024-12-04 13:50:20 +05:30
Manish Kushare
e1d7fbb2bb Feature: Add JSON datatype to ToolJet Database (#2492)
* feat: jsonb datatype support in tooljet database inprogress

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

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

* added dto validation for join operation

* Added json data type in tjdb

* single line editor bug fixed

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

* removed the console

* Added the sanitization for json default value in the dto

* Added jsonb svg for jsonb column type

* Updated UI for created column form

* Updated UI for edit column form

* Change the UI for create row

* Updated UI for edit row form

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

* Setting up the codehinter in tjdb dashboard

* Created codehinter wrapper for tjdb table celljsonb data type

* Codehineter for tjdb cell

* Made changes in tjdb column and row drawers

* removed unwanted code

* Added maximum height for codehinter wrapper in each drawers

Avoided keydown event in create column drawer

* Set max height to codehinter for tjdb table cell

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

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

* Added filter option with jsonpath in delete row operation

* Made changes for join tables

* added json path in jon filter condition

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

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

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

* Table cell edit codehinter initial value

* Updated codehinter onchange and initial value

* Added json path field for join sort section

* TJDB query manager updates for jsonb column type

* Tjdb dashboard bug fixes

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

* Added error validation for JSON in codehinter

* Removed console

* Added codehinter wrapper for tjdb cell

* Made default functional

* Made set to null functionality working

* Toggle functionality for default value

* Toggle null functionality

* Clean code

* create row form added handle disable input click

* cutom-footer css and add new data css

* Fixed tooltip

* Updated tooltip for join codehinters in query manager

* fix: jsonb column values validation in server side

* Made the initial value empty string if value is undefined

* active tab in edit row form bug

* Error state in tjdb hinter inside cell

* code mirror breaks, on the initial render

* Added placeholder and adjusted icon size in dropdown

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

* bug fixed

* json icon alignment in the dropdown fixed

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

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

* SHowing popover when clicked on the jsonb cell

* Showing unique constraint in disable state for jsonb

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

* Bug fixed for cellhinter and row form

* Avoided flickering in column form

* removed console

* zindex issue for codehinter in react portal for table cell

* Single line editor file changes removed

* row form bug fixed

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

* Bug fixed

* Edit and create row active tab bug fixed

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

* fix: error handling for invalid jsonpath in join expression

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

* Removed console

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

* Error toast message for invalid syntax

* removed debounce time

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

* Updated imports of codehinter in tjdb forms inside dashboard

* Discarded all changes made to editor directory

* Removed console

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

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

* Updated error message

* bug fixed : Pop up icon not visible inside codehinter

* Fixed : border issue in tjdb codehinter

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

* Error message in tjdb drawers

* Error state for table schema

* Error message for cell hinter wrapper

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

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

* Show tooltip in fk column dropdown

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

* Bug fixed

* Reverting react portal changes

* bug fixed for error copyright

* z index issue fixed for tableschema

* reverting back the changes for table form from last commit

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

* Bug fixed : toggle bwtween null and default value

* Handled spacing between the component name in react portal

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

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

---------

Co-authored-by: Ganesh Kumar <ganesh8056234@gmail.com>
Co-authored-by: Ganesh Kumar <40178541+ganesh8056@users.noreply.github.com>
Co-authored-by: Akshay <akshaysasidharan93@gmail.com>
2024-12-04 13:49:24 +05:30
Akshay
09c305b157
Merge branch 'main' into release/marketplace-sprint-6 2024-11-29 01:29:06 +05:30
Ganesh Kumar
a4189e0149 Fix: ToolJet database limit check API issue (#11416) 2024-11-29 01:00:15 +05:30