Commit graph

15510 commits

Author SHA1 Message Date
devanshu052000
9f4217ddcf chore: update package dependencies for esbuild and opentelemetry exporters 2026-04-21 17:18:01 +05:30
Manish Kushare
35f2c474fd
fix: handle null check in PreviewCodeBlock (#15597)
Some checks are pending
CI / build (push) Waiting to run
CI / lint-for-plugins (push) Blocked by required conditions
CI / lint-for-frontend (push) Blocked by required conditions
CI / lint-for-server (push) Blocked by required conditions
CI / unit-test (push) Blocked by required conditions
CI / e2e-test (push) Blocked by required conditions
2026-04-21 13:02:47 +05:30
Siddharth Pundir
7a8041274b
Fixed the Ui for supabase for where and sort fields (#15965)
Some checks are pending
CI / unit-test (push) Blocked by required conditions
CI / e2e-test (push) Blocked by required conditions
CI / build (push) Waiting to run
CI / lint-for-plugins (push) Blocked by required conditions
CI / lint-for-frontend (push) Blocked by required conditions
CI / lint-for-server (push) Blocked by required conditions
* Fixed the Ui for supabase for where and sort fields

* Bump version to 3.20.148-lts across all components

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2026-04-20 21:59:33 +05:30
Midhun G S
eaa0e1d369
Merge pull request #15980 from ToolJet/release/appbuilder-s26
Release/appbuilder s26
2026-04-20 20:17:39 +05:30
johnsoncherian
439b424c48 Merge branch 'lts-3.16' into release/appbuilder-s26 2026-04-20 18:40:48 +05:30
Devanshu Rastogi
faab458930
Fix: Listview children not getting rendered inside Table expanded row (#16000)
* Refactor componentsSlice to generalize ancestor type checks for row-scoped widgets. Removed obsolete check for Listview and Kanban, replacing it with a more flexible ROW_SCOPED_WIDGET_TYPES array. Updated comments for clarity on parent index handling.

* Updated comments to reflect changes in handling parent indices and replaced references to Listview with a more general row-scoped ancestor terminology.
2026-04-20 17:27:51 +05:30
YuktiGoyal02
e739429505
fixed case (#16003)
Some checks are pending
CI / build (push) Waiting to run
CI / lint-for-plugins (push) Blocked by required conditions
CI / lint-for-frontend (push) Blocked by required conditions
CI / lint-for-server (push) Blocked by required conditions
CI / unit-test (push) Blocked by required conditions
CI / e2e-test (push) Blocked by required conditions
2026-04-20 16:58:56 +05:30
Akshay
2d89624283
feat: add workflow, module, workspace, and custom group counts to telemetry (#15932)
* feat: add workflow, module, workspace, and user group counts to telemetry

Add 4 new metrics to the telemetry payload sent to hub.tooljet.io:
- total_workflows: count of apps with type 'workflow'
- total_modules: count of apps with type 'module'
- total_workspaces: count of all organizations
- total_user_groups: count of all permission groups

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* feat: filter telemetry user group count to custom groups only

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-20 16:54:43 +05:30
Shaurya Sharma
9a7fd22245
Unable to clone/import app with multiple versions (#16001) 2026-04-20 16:33:37 +05:30
Kavin Venkatachalam
2a3c1eb886
fix: gate JS library loading on license fetch to fix public/released apps (#15994)
JS libraries were silently skipped on public and released apps because
featureAccess?.appJsLibraries was still undefined when isComponentLayoutReady
fired. Introduces isLicenseFetched flag and handles fetch errors so the
gate is never blocked indefinitely for unauthenticated users.
2026-04-20 13:03:18 +05:30
YuktiGoyal02
dffce63a50
fixed selector issue (#15988) 2026-04-19 18:15:16 +05:30
Devanshu Rastogi
09339fd1b1
Chore: Add migration to backfill Table component properties (#15982)
* feat: add migration to backfill refresh button and expandable rows properties for Table components

* Implemented a new migration to set default values for showRefreshButton, enableExpandableRows, and expansionHeight in Table components.
* Added logging for migration progress and success.
* Included functionality to delete app history for structural migrations if updates occur.

* chore: remove obsolete migration for backfilling showRefreshButton property in Table components

* Deleted the migration file that backfilled the showRefreshButton property, as it is no longer needed.
* This cleanup helps maintain the codebase by removing unused files.
2026-04-17 20:03:00 +05:30
Manish Kushare
3e24dd509d
[enhancement] : Added caption in the options for dropdown and multi-select components (#15935)
* Feature: Add caption support to DropdownV2 options

* Feature: Enhance DropdownV2 and MultiselectV2 with caption support
2026-04-17 18:53:16 +05:30
Manish Kushare
7a89531e18
feat: add refresh button functionality to table components (#15912)
* feat: add refresh button functionality to table components

* fix: update refresh button icon from IconRefresh to IconReload

* Made the showRefershButton to false by default

* supported support for data queries as well other than raw json

* Used dependency graph to check the query reference

* Added migration for show refresh button to support backward compatibility

* fix: update loading state handling to include refresh status in Table and Header components

* enhanceed migration to backfill showRefreshButton property for Table components
2026-04-17 18:53:00 +05:30
Devanshu Rastogi
30828061fe
Feat: Expandable rows in Table component (#15827)
* Add event and toggle for expandable rows

* Add column to expand in table

* Setup store

* Implement expandable rows in table

* expose rowData for children components and make all containers other than first row not editable

* Added support for dynamic height for each expandable row

* Update submodule reference

* Fix: Virtualizer not getting updated in a few cases when row is expanded or collapsed and nested table wasn't getting expanded as expected

* Update submodule references

* Fix: Remove 'children' and 'data' exposed variables from Table

* Fix: Clear exposed values when expandable rows is toggled

* Fix: Remove dynamic height for expanded row for phase 1

* Fix: Move 'Enable expnadable rows' toggle to 'Row selection' section instead of 'Additional Actions'

* Update submodule references

* Implement lazy resolution for expandable rows in Table component

- Introduced `updateCustomResolvablesLazy` and `resolveExpandedRows` to handle row data without immediate resolution, improving performance for expandable rows.
- Added `clearLazyRowIndices` to manage row indices when rows are expanded or collapsed.
- Updated the store to include `lazyResolvableParents` and `lazyRowIndices` for better state management of lazy-loaded components.
- Created a new `tableComponentSlice` to encapsulate logic related to table components, enhancing modularity and maintainability.

* Fix: Use similar approach for finding indices to be resolved using separate utility function

* Fix: Implement proper store cleanup incase table is deleted or expandable rows is disabled

* Refactor: Rename `clearLazyRowIndices` to `cleanupLazyResolvables` for clarity

- Updated the Table component to use `cleanupLazyResolvables` instead of `clearLazyRowIndices` for better readability and understanding of its purpose.
- Adjusted the logic in the `resolveExpandedRows` function to populate custom resolvables only for expanded rows, improving performance and state management.
- Enhanced cleanup logic in the component's effect hooks to ensure proper resource management when the component unmounts or when expandable rows are toggled.

* Update submodule reference

* Fix: Grid outline not getting highlighted when component is being dragged inside it

* Fix: Default height of expanded container

* Fix: Row expand trigger style

* Fix: Expanded container background color and padding

* Fix: Container component crashes when components is dropped from Table row's expanded container

* Update submodule references

* updat esubmodule references

* Update submodule references

* Refactor TableData component to use constants for row heights, improving readability and maintainability.

* Refactor TableContainer and useTable hooks to integrate expandedRows state, enhancing row expansion functionality.

* Add 'Table' to restricted widgets configuration

* Enhance appCanvasConstants with row-scoped widget types and resolvable key mappings; refactor Container and codeHinterSlice to utilize new constants for improved readability and maintainability.

* Add nesting level limits for widgets in appCanvasConstants; refactor Grid and dragEnd logic to enforce nesting restrictions based on new limits, enhancing widget organization and preventing excessive nesting.

* Update sbumodule reference
2026-04-17 18:42:40 +05:30
Adish M
6c9436730a
🚀 chore: update submodules to latest lts-3.16 after auto-merge (#15979)
Co-authored-by: johnsoncherian <57667706+johnsoncherian@users.noreply.github.com>
2026-04-17 18:20:33 +05:30
Johnson Cherian
ef6e92ade8
Merge pull request #15970 from ToolJet/fix/js-library
Fix: JS Library Bugs
2026-04-17 18:18:36 +05:30
Johnson Cherian
f11102795b
Merge pull request #15874 from ToolJet/fix/modules-released-app
fix: Module data loading fails when released app accessed by slug
2026-04-17 17:05:35 +05:30
devanshu052000
9fcedce9fd Add reserved parameters 'window' and 'output' to libraryConstants.js 2026-04-17 13:28:47 +05:30
Devanshu Rastogi
92251e07e5
Update frontend/src/AppBuilder/_helpers/libraryLoader.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-17 13:10:51 +05:30
Devanshu Rastogi
d9db3ea990
Update frontend/src/AppBuilder/_hooks/useAppData.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-17 13:08:18 +05:30
devanshu052000
dbf494d156 Update submodule reference 2026-04-17 12:51:22 +05:30
devanshu052000
cc9a1ffc06 Enhance library loading and error handling
- Updated `libraryLoader.js` to enforce HTTPS protocol for library URLs and improved comments for clarity.
- Modified error handling in `useAppData.js` to use toast notifications for better user feedback when loading JS libraries fails.
2026-04-17 12:42:44 +05:30
devanshu052000
dbf833d2a5 Enhance library and preloadedJS validation
- Added `libraryConstants.js` to define reserved parameters and a validation function for library names.
- Updated `libraryLoader.js` to filter out reserved parameters from the preloaded JS script exports.
2026-04-17 12:42:14 +05:30
abhijeet760
8186f3d061
rest api timeout issue (#15891)
* submodule update: add name field to process event payload

* 🚀 chore: update submodules to latest lts-3.16 after auto-merge (#15894)

Co-authored-by: johnsoncherian <57667706+johnsoncherian@users.noreply.github.com>

* rest api timeout issue

* error standardisation

* Update queryPanelSlice.js

* Bump version to 3.20.147-lts across all components

---------

Co-authored-by: Swathi Hameed <42898362+swathihameed@users.noreply.github.com>
Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com>
Co-authored-by: johnsoncherian <57667706+johnsoncherian@users.noreply.github.com>
Co-authored-by: Rudhra Deep Biswas <rudra21ultra@gmail.com>
Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2026-04-17 10:20:53 +05:30
Adish M
4594b5319c
🚀 chore: update submodules to latest lts-3.16 after auto-merge (#15966)
Co-authored-by: johnsoncherian <57667706+johnsoncherian@users.noreply.github.com>
2026-04-16 20:16:01 +05:30
Johnson Cherian
364017ff21
Merge pull request #15414 from ToolJet/feat/js-libraries
Feat: JS Libraries and Preloaded JS Script
2026-04-16 20:13:18 +05:30
devanshu052000
2712515fff Merge branch 'lts-3.16' into feat/js-libraries 2026-04-16 17:22:47 +05:30
devanshu052000
62c4d0654b Update submodule references 2026-04-16 17:20:23 +05:30
Johnson Cherian
013f6314ed
Merge pull request #15959 from ToolJet/fix/canvas-height-issue
Fix: wrap lazy-loaded PageCanvasHeader and PageCanvasFooter in Suspense boundaries
2026-04-16 17:05:22 +05:30
kavinvenkatachalam
d871ae05bc fix: wrap PageCanvasHeader and PageCanvasFooter in Suspense for lazy loading 2026-04-16 16:31:54 +05:30
Ganesh Kumar
ace28958c3
Feature: Support for Key pair authentication in Snowflake plugin (#15919)
* Key pair authentication for Snowflake

* key must be in pkcs8 format
2026-04-16 15:08:56 +05:30
Johnson Cherian
7563f11606
Merge pull request #15938 from ToolJet/fix/render-order
Fix: Prevent on-load queries from running before components mount
2026-04-16 11:57:01 +05:30
kavinvenkatachalam
1060001cca Merge branch 'lts-3.16' into fix/render-order 2026-04-16 11:56:25 +05:30
kavinvenkatachalam
56b1af9840 fix: update subproject commits for frontend and server components 2026-04-16 11:08:59 +05:30
kavinvenkatachalam
d78a1e5908 fix: refactor layout components to use lazy loading for improved performance 2026-04-16 11:08:07 +05:30
Adish M
60f4e222d4
Enhance Sentry integration by configuring source map uploads and adjusting devtool settings for production builds (#15950) 2026-04-16 10:11:40 +05:30
Adish M
f2b7b755d1
Default render service set to Pro (#15949)
* Default render service set to Pro

* Suspend cron runs at 9pm IST everyday
2026-04-16 09:28:38 +05:30
Souvik
7d384374c7 Suspend cron runs at 9pm IST everyday 2026-04-16 01:02:30 +05:30
Souvik
947fa18ce3 Default render service set to Pro 2026-04-16 00:31:20 +05:30
Ganesh Kumar
029fee3fbe
Fix : Batch logic for Postgresql GUI mode bulk operations (#15908) 2026-04-15 21:38:25 +05:30
Siddharth Pundir
7d0c386d79
Fix/pgsql optional password ssl auth (#15883) 2026-04-15 21:36:05 +05:30
Midhun G S
b1fdf9d2a8
Merge pull request #15934 from ToolJet/release/v3.20.146-lts
Release v3.20.146 lts
2026-04-15 20:50:43 +05:30
Adish M
0f8cb869bb
🚀 chore: update submodules to latest lts-3.16 after auto-merge (#15942)
Co-authored-by: johnsoncherian <57667706+johnsoncherian@users.noreply.github.com>
2026-04-15 19:16:08 +05:30
Johnson Cherian
3aec0177a7
Merge pull request #15863 from ToolJet/navigation-paywall
Navigation paywall
2026-04-15 19:14:06 +05:30
manishkushare
d538e63d76 Merge remote-tracking branch 'origin/lts-3.16' into navigation-paywall 2026-04-15 19:00:18 +05:30
manishkushare
9230badbb2 chore: bump server/ee pointer to new app.components namespace 2026-04-15 18:33:45 +05:30
manishkushare
fb384578c8 - Merge remote-tracking branch 'origin/feat/licensing-app-components-namespace' into navigation-paywall
- refactor: remove flat componentNavigation in favor of app.components namespace
2026-04-15 18:31:13 +05:30
kavinvenkatachalam
a9273699b0 fix: enable deferCheck to handle nested TrackedSuspense boundaries
With the layout now wrapped in TrackedSuspense, there are nested lazy
boundaries (layout → widgets). React runs cleanup effects before mount
effects in a single commit, so the layout tracker can decrement to 0
before widget trackers increment. deferCheck uses setTimeout to let
widget trackers register before the resolution check runs.
2026-04-15 18:10:26 +05:30
Adish M
73dc9ae548
🚀 chore: update submodules to latest lts-3.16 after auto-merge (#15940)
Co-authored-by: johnsoncherian <57667706+johnsoncherian@users.noreply.github.com>
2026-04-15 17:53:09 +05:30