Commit graph

104 commits

Author SHA1 Message Date
Kavin Venkatachalam
773cbcf4dc Added the logic to drop the modules and load the modules as a viewer 2025-04-25 21:12:32 +05:30
emidhun
ee6e44936d Merge remote-tracking branch 'origin/main' into test/appbuilder-gh-workflow-test 2025-04-25 14:28:36 +05:30
emidhun
471a38aa56 Add data-cy 2025-04-25 13:56:34 +05:30
Johnson Cherian
e66b8ea6f0
Merge pull request #12519 from ToolJet/fix/query-manager-scroll
Fix: Removed the extra space in bottom of query manager.
2025-04-25 11:03:42 +05:30
devanshu052000
f5cf5c99c4 Fix the windows shortcut 2025-04-24 13:32:40 +05:30
Johnson Cherian
2fad2c2b61
Merge pull request #12593 from ToolJet/Enhance/shortcuts-edit
icons fix
2025-04-24 11:58:36 +05:30
platform-ops123
91a1720185
remove static options from source options of dynamic query DS configurations (#12689) 2025-04-24 11:03:57 +05:30
Muhsin Shah C P
6eaea4b87d
[post-modularisation] Removed workflows static-datasource from base code api responses (#12683)
* remove workflows from ce app builder

* updated the code: added flag to the interface
2025-04-23 19:09:18 +05:30
devanshu052000
7522f633b0 Made the default size consistent across query panel 2025-04-23 00:40:43 +05:30
devanshu052000
73870536be Merge branch 'appbuilder/sprint-11' into Enhance/shortcuts 2025-04-21 23:43:50 +05:30
devanshu052000
19df7bc564 Merge branch 'appbuilder/sprint-11' into fix/query-manager-scroll 2025-04-21 18:10:34 +05:30
TaruunMalik
a7d1a1f891 improvement 2025-04-16 07:41:01 +00:00
TaruunMalik
f8b34a1364 improvement 2025-04-16 07:14:31 +00:00
TaruunMalik
979a14e734 improvement 2025-04-16 07:13:12 +00:00
TaruunMalik
11ba43a35e icons fix 2025-04-16 06:03:41 +00:00
devanshu052000
2da0a7d521 Reduced default height of runjs and runpy editors. 2025-04-14 01:39:10 +05:30
devanshu052000
87df79fd31 Removed the extra space in bottom of query manager. 2025-04-09 14:15:46 +05:30
Johnson Cherian
8a509f52df
Merge pull request #12424 from ToolJet/fix/query-manager-dropdown
Fix: Dropdown going out of scope in query manager.
2025-04-07 09:28:53 +05:30
johnsoncherian
b2f2271f58 Merge branch 'appbuilder/sprint-9' into appbuilder/sprint-10 2025-04-07 09:01:17 +05:30
devanshu052000
d71880542d Fix: all modals open together when in view and add parameter modal overflowing. 2025-04-04 10:30:48 +05:30
Manish Kushare
739f8a2eb3
[Fix] : The data in the time field of the calendar is not visible and when scrolling vertically, blank space appears (#12352)
* Bug fixed

* Bug fixed , line height issue in column form for table edit and create table

* Popover position issue fixed

* Enhance DateTimePicker popper styling and adjust class usage for better positioning
2025-04-03 12:03:41 +05:30
Johnson Cherian
6e4539210a
Merge pull request #12234 from ToolJet/fix/query-input
Fix: query input focus on query rename
2025-04-01 17:53:12 +05:30
devanshu052000
6a095deecb Fix dropdown going out of scope in query manager. 2025-04-01 17:19:29 +05:30
Midhun G S
b55490493d
Post modularization fixes (#12420)
* [white-labelling] Logo related pending issues (#12243)

* Working on refactoring and fixing white-labelling for modularisation

* Working on fixes

* Fixed: app builder logo issue

* Refactored default state behaviour

* Removed console logs

* Added workspace slug

* Adding single image changes from ee lts (#12272) (#12285)

Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com>

* Moving Vulnerability CI from EE (#12288)

* CE modularisation bugs (#12278)

* Working on refactoring and fixing white-labelling for modularisation

* Working on fixes

* Fixed: app builder logo issue

* Refactored default state behaviour

* Removed console logs

* Added workspace slug

* Fixed: Able to update group name with space

* Adding single image changes from ee lts (#12272)

* Fixed: Able to add a user 2 times to the group

* Fixed: Builder isn't able to datasiurces

* Fixed: updated the builder check

* Refactored the changes

---------

Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com>

* Add data-cy for components in modularisation branch (#12296)

* [modularisation-bugs] Fixing rest of the priority bugs  (#12301)

* Fixed: custom logout url issue

* Fixed: fixed all workspace redirection issue

* Fixed: made the datsource access same for ce and ee-basicplan builders

* Fixed: sample db connection issue

* Fixed: sample database query issue

* Fixed: page isn't showing the organization list for user whose current organization is archived

* Fixed: granular permission datasource page

* remove license check for oidc login

---------

Co-authored-by: Muhsin Shah C P <muhsinshah21@gmail.com>
Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com>
Co-authored-by: Ajith KV <ajith.jaban@gmail.com>
Co-authored-by: Anantshree Chandola <anantshreechandola23@gmail.com>
2025-04-01 16:16:01 +05:30
devanshu052000
3e8ddcf036 Merge branch 'appbuilder/sprint-9' into Enhance/shortcuts 2025-03-25 00:08:16 +05:30
Johnson Cherian
4963d2b8f2
Merge pull request #12254 from ToolJet/feat/transformation-fallback
Fixed transformation issue causing query to not retain multiple trans…
2025-03-21 14:22:46 +05:30
Johnson Cherian
fe40806195
Merge pull request #12257 from ToolJet/fix/query-codehinter-resize
Automatically resizing codehinter input based on content
2025-03-21 13:26:17 +05:30
devanshu052000
a3db1f4b3b Added tooltips to run and preview buttons. 2025-03-18 14:45:19 +05:30
Vijaykant Yadav
93531030d2 fix: query input focus on query rename 2025-03-13 10:34:26 +05:30
devanshu052000
41cff24840 Replaced run and preview buttons with design system button. 2025-03-11 17:29:15 +05:30
devanshu052000
2da6fdde4a Added icons for shortcuts in the run and preview button. 2025-03-11 14:18:32 +05:30
Vijaykant Yadav
bb7ef4e761 fix: appbuilder modularisation bugs 2025-03-10 13:38:17 +05:30
Manish Kushare
5f416a31bf
[Fix] - TJDB bug fixes in modularisation (#12112)
* The space is required in between the primary column's name

* Added change for Made content width to 100% for request field in rest api query manager

* Filter label update with value 2 without apply 2 conditions

* The SQL editor size is not correct for the TJDB query

* There is a blank space in the json code hinter

* The blank space added after vertical scroll in the edit row tab

* Esc button size is not correct in the calendar for date and time data-type

* Unable to see the time in calendar for the date time column

* Unable to see the time in calendar for the date time column- added more specificity of class

* Fix bulk update primary key CodeHinter initialization
2025-03-07 18:11:18 +05:30
Shaurya Sharma
8c0e2c9396 Fixed transformation issue causing query to not retain multiple transformation types 2025-03-07 02:19:19 +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
Shaurya Sharma
161fffcb42 Automatically resizing codehinter input based on content 2025-02-27 02:44:31 +05:30
gsmithun4
269ec56455 Initial commit 2025-02-25 12:22:50 +05:30
emidhun
5d9629b97d Add data-cy for query-manager tabs 2025-01-22 22:50:06 +11:00
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
Vijaykant Yadav
9d6c880b84 fix: query kind for select source in rest api 2024-11-29 00:58:50 +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
Devanshu Rastogi
e4196adae1 Enhance: Rest api body to accept raw input instead of raw json. (#2249)
* Enhanced rest api body to accept raw input instead of raw json.

* Changed content type from application/json to text/json and changed copywrite to RAW.

* Changed rest api body toggle label from 'RAW' to 'Raw'.

* Added request label for static REST API data source.

* Fixed issue where GET query failed since body was undefined.

* Integrated json_body to add backward compatibility.

* Removed console logs.

* Added support for 'text/json' type in checkIfContentTypeIsJson function.

* Made changes according to new frontend architecture in v3.

* Fixed request URL field overflow issue.

---------

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2024-11-22 12:49:08 +05:30
Parth
6b3d1c3630 Enhance: Add read documentation link with data source drop down in query builder (#2162)
* Add read-documentation link

* Change copywriting for datasources name

* Update new component for link

* Increase input width

Update redshift link

* Fix the datasource name issue
2024-11-22 12:46:29 +05:30
Rohan Lahori
d29d0c730e
Local data source discontinued changes (#11344)
* basic setup changes

* minor changes

* minor ui fix

* remove parameter check and minor refactoring

* bugfix

* variable changes

* css changes

* removed consoles

* removed consoles

* pr review changes

* documentation link changes

* minor css changes
2024-11-20 14:58:58 +05:30
Shaurya Sharma
49349e2d5a Fixed multiselect & dropdown issues 2024-11-10 18:19:43 +05:30
Manish Kushare
af9ed6fcfa Bug fixed (#2587) 2024-11-08 12:32:10 +05:30
Johnson Cherian
81616369ce
Merge pull request #11185 from ToolJet/fix/refactor/ee-ce-2
Fix/refactor/ee ce 2
2024-10-30 17:43:17 +05:30
Ganesh Kumar
2205ebb193
feat: made tooljet database and marketplace mandatory (#11170) 2024-10-30 17:30:44 +05:30
Shaurya Sharma
1f079787ae Fixed parameters getting deleted on directly clicking headers, params etc. 2024-10-30 11:33:55 +05:30
Shaurya Sharma
15daf23f9b Fixed multiple params popover opening up 2024-10-30 11:33:27 +05:30
Akshay
990652ac18
Chore: Make TJDB SQL mode configurable (#11172)
* make TJDB SQL mode configurable

* fix webpack env default

* fix env name
2024-10-30 09:38:59 +05:30
Kartik Gupta
623acabda7 config handle positioning fix when visibility is hidden and query manager preview refreshing bug 2024-10-28 12:30:51 +05:30
johnsoncherian
8faf6fdc40 Merge branch 'develop' into refactor/app-builder-merge-main 2024-10-22 13:31:21 +05:30