Commit graph

142 commits

Author SHA1 Message Date
Mekhla Asopa
6fd4cddab5 Merge branch 'lts-3.16' into test/Automation-marketplace-fixes 2025-12-12 15:04:37 +05:30
Mekhla Asopa
7a401ff82c Merge branch 'lts-3.16' into test/Automation-marketplace-fixes 2025-12-11 19:19:26 +05:30
Siddharth Pundir
41c2e36147
Added the passwrod complexity if its env is present (#14718)
* Added the passwrod complexity if its env is present

* Updating the frontend password input

* bugs

* validatepassword

* update cypress test cases for new password flow

* Fix failing cypress test cases

* toast

* error msg

* sus

* Update login flow test cases

* valid password

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
Co-authored-by: Rudhra Deep Biswas <rudra21ultra@gmail.com>
Co-authored-by: ajith-k-v <ajith.jaban@gmail.com>
2025-12-11 18:44:35 +05:30
Johnson Cherian
ea82f7b31c
Release: Appbuilder Sprint 19 (#14671)
* feat: refactor AppHistory module imports and add new services and guards

* Fix: Vertical page menu minor enhancements

* feat: add stream history feature and update related permissions and constants

* feat: add AppStateRepository to AppHistoryModule imports and providers

* feat: add NameResolverRepository to AppHistoryModule imports and providers

* feat: implement NameResolverRepository and NameResolverService for component and page name resolution

* feat: remove QueueHistoryIntegrationService and update AppHistoryModule to reflect changes

* feat: update AppHistoryModule and AppHistoryRepository with new methods and refactor imports

* feat: refactor AppHistoryModule and related services to streamline name resolution and history capture

* feat: add AppStateRepository and HistoryQueueProcessor, refactor AppStateAggregatorService to utilize repository methods

* feat: rename methods in AppStateRepository for clarity and update AppStateAggregatorService to reflect changes

* feat: refactor history capture logic to use synchronous execution and improve error handling across services

* Fix: Mobile view page menu UI enhancements

* feat: enhance ability guards and repository methods for app history validation

* Update submodule references

* Migrate to shadcn sidebar component

* plan

* Fix: Components not getting pasted at correct position if user scrolled and pasted inside container components

* Fix: Group components not getting pasted at correct position horizontally inside container components

* POC for removing overlap prevention logic if not enough space present,  incase user clicks somewhere to respect click position

* Update frontend/src/AppBuilder/AppCanvas/Container.jsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* modules and customGroup

* feat: enhance AppHistoryModule registration with isMainImport flag

* feat: update settings method to queue history capture after successful update

* chore: update subproject commit reference in frontend/ee

* feat: add function to delete app history for structural migrations

* Refactor imports and enhance code organization across multiple files

- Updated import paths to reflect the new directory structure in TooljetDatabase and AppBuilder components.
- Consolidated utility functions in appUtils.js, removing redundant code and improving readability.
- Enhanced error handling and state management in dataQueriesStore and resolverStore.
- Added Bundle Analyzer plugin to webpack configuration for better performance insights.
- Improved chunking strategy in webpack to optimize loading of libraries and components.
- Refactored ErrorBoundary imports to maintain consistency across UI components.

* feat: enhance UI components with new icons and styling adjustments

* refactor: remove unused components and icons from QueryManager

- Deleted QueryManagerHeader component and its associated logic.
- Removed SuccessNotificationInputs component and its functionality.
- Eliminated Transformation component and related code.
- Deleted BreadcrumbsIcon, CreateIcon, PreviewIcon, RenameIcon, RunIcon, and ToggleQueryEditorIcon.
- Updated imports in appUtils.js to reflect new icon paths.

* Refactor editorHelpers and utils: Remove unused functions and imports, streamline background update logic, and adjust state handling. Comment out or delete handleReferenceTransactions and related logic in various stores to simplify data flow and improve maintainability.

* Refactor queryPanelStore and storeHelper by commenting out unused imports and code. This cleanup improves code readability and maintainability.

* builder roggle

* role name

* revert: Reverted the lazy loading changes

* revert: Reverted the changes on App & AppRoute

* Fix: Inside side effects, get the correct canvas element, disable page scrolling and reposition modal container when modal is opened

* Fix: Use the side effects when modal is opened and closed

* Update submodule references

* struct

* fix

* sus

* field fix

* create app btn

* fix: Corrected zustandDevTools enabled option logic

* module visible

* refactor: update license validation logic and improve feature access checks

* app module

* feat: Added modules support for public apps

* update ee-frontend submodule ref

* Enhance: Vertical page menu default styles

* refactor: migrate license management to a new store and update related components

* workflow enabled

* feat: integrate license validation into Viewer component and remove deprecated license check

* Revert "feat: integrate license validation into Viewer component and remove deprecated license check"

This reverts commit b4b5218079.

* Revert "refactor: migrate license management to a new store and update related components"

This reverts commit cd2936bb12.

* chore: update subproject commit reference in server/ee

* chore: merged with lts

* chore: moved components from Editor to AppBuilder folder

* chore: cleaned up the appbuilder imports

* refactor: update license checks in PageSettingsTab components to use appPermissionPages feature flag

* refactor: update license checks in QueryCardMenu and Inspector components to use appPermission feature flags

* chore: update subproject commit reference

* update submodule ref

* Enhance: Horizontal page menu default styles

* fix: Global search for multiselect column

* Fix: More button on pages overflow is getting cropped and remove unnecessary calculations related to it

* Refactor page menu code

* Integrate shadcn navigation menu component for horizontal page menu

* Update submodule ref

* refactor: add license checks for page, query, and component permissions in app-permissions feature configuration

* chore: update subproject commit reference in server/ee to latest version

* chore: update subproject commit reference in server/ee to latest version

* update submodule ref

* Fix: Minimum width of the popup in horizontal page menu

* Fixed UI issues

* Removed commented code

* Removed wrapper and unwanted code

* Fix: Minor page menu bugs inside Editor

* Fix: popover overflow issue and other minor bugs

* Remove unnecessary package.json change

* chore: fix import path casing for RealTimeEditor

* Fix: Grid resizing issue and component selector overflow

* Fix: Increased transition duration to 200

* Removed the classname change

* Fix: Scrollbar visible in viewer in vertical page menu

* Fix: Remove arbitrary variant chains since not supported in Tailwind v3 to fix animations in horizontal page menu

* chore: update subproject commits for frontend and server

* Refactored code

* Update ee-frontend submodule reference

* Removed leading and trailing icon width

* chore: update subproject commit reference in server/ee to latest version

* Refactor page menu styling part to make it reusable for mobile view

* Integrate Shacn Sidebar component in page menu for mobile view

* Update submodule references

* fix: merge issues and minor bugs

* Update frontend/src/_styles/pages-sidebar.scss

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* update submodule ref

* fixed: custom validation working for dropdown inside the listview

* update submodule references

* Fix: Broken app logo in editor incase app logo url is incorrect

* Fix: Default styles

* update submodule reference

* Fix: Implement changes for legacy modal as well

* Fix: Change state logic to dom manipulation logic on canvas scroll to prevent unnecessary re-renders

* Fix: Change default border color to cc-Border/weak

* Fix: Remove max width on overflow menu in horizontal page menu and prevent right sidebar to open on toggling page groups in overflow menu

* Fix: Box shadow should only be visible for horizontal page menu only when canvas is scrolled and not on top

* Update submodule references

* Feat: Add support for icon in modal trigger

* Update frontend/src/AppBuilder/Widgets/ModalV2/ModalV2.jsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update frontend/src/AppBuilder/Widgets/ModalV2/helpers/stylesFactory.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* chore: update subproject commit reference in frontend/ee

* refactor: clean up controller methods and remove unused streamHistory and getEvents methods

* chore: update subproject commit reference in frontend/ee

* update submodule references

* Fix: Scrollbar behaviour in vertical page menu

* Fix: Group closes on selecting a page on vertical page menu

* Remove log

* fix: update BoundedBox widget styles and fix class names; add datepicker styles

* feat: add permission checks based on selected data source scope in QueryCard component

* fix: enhance error handling in streamHistoryUpdates and update subproject reference

* fix: fixed the bug on app history in capturing the query deletion

* fix: Fixed unknown component issue while adding an event in query and pages. Added resolveEntityName method to handle entity name resolution for components, queries, and pages

* feat: Add captureSettingsUpdateHistory method to log app version settings updates

* fix: pageSettings were not properly restored while restoring the app history and version change

* fix: Enhance settings update history capture with action type differentiation

* feat: Optimize layout updates by batching component layout changes

* fix: Prevent redundant canvasHeight updates when the value is unchanged

* style: Update padding and spacing in app history styles for improved layout

* chore: Update subproject commit reference for frontend/ee

* chore: Update subproject commit references for frontend and server

* Fix: update hover effect for app name display in EditAppName component

* Fix: remove redundant darkMode prop from FormField component

* fix: add !important to primary color for rc-slider track and handle

* feat: implement batching for form component updates and layout changes

* feat: enhance form component handling with batching and parent ID extraction

* Update submodule references

* Fix: Page of type app or url gets converted to default page on app import

* feat: enhance page cloning with history capture functionality

* fix: optimize parent change detection to prevent unnecessary batch updates during drag operations

* feat: optimize query saving logic to skip unnecessary updates for name changes

* Fix: Group not selected after nested page selection until hovered in horizontal menu

* Revert "Revert "[refactor]: Fix leftsidebar on opening disturbing the scroll""

This reverts commit d712c47f9c.

* Fix: Navigation menu disappears when view switched between desktop and mobile view in editor

* update ee-server submodule ref

* update submodule references

* Fix: Icon alignment issue

* feat: implement bulk creation of event handlers and optimize component event handling

* chore: update subproject commit reference in frontend/ee

* Revert "POC for removing overlap prevention logic if not enough space present,  incase user clicks somewhere to respect click position"

This reverts commit 8aec525e9a.

* feat: disable client overlay in webpack configuration

* update the submodule refs

* update submodule refs

* update submodule reference for server/ee

* refactor: rename `defaultDataSources` prop to `staticDataSources` in `DataSourceSelect` component.

* update submodule refs

* feat: add AppHistoryStreamService to manage app history streaming

* update submodule reference for server/ee

* update submodule reference for server/ee

* fix: add null check in onHideSideEffects and remove unnecessary !important from sidebar height

* fix: update submodule reference for server/ee

* Fix: Page menu header overflowing the canvas on app mode change

* Fix: Canvas width changes on opening left and right sidebar when page menu is side aligned and opened

* Fix: App logo and name getting wrapped to new line in mobile view

* chore: update submodule to latest commit ddc3418f for server/ee

* Fix: Released app mobile view

* Fix: sidebar footer getting cutoff in mobile view

* chore: update submodules for frontend and server to latest commits

* Update ee-server submodule reference

* Update ee-server submodule reference

* Update data-cy attribute

* Modify cypress test cases

* Update tooltip messages to clarify access restrictions and upgrade prompts (#14720)

* Update tooltip messages to clarify access restrictions for various features, encouraging users to upgrade their plans for additional permissions.

* Update tooltip message in AddNewPageMenu to provide clearer guidance on access restrictions and encourage plan upgrades.

* Refactor permission checks in AddNewPageMenu to use updated feature access flags for adding navigation groups.

* Refactor PageSettingsTab to utilize updated feature access flags for app permissions and navigation group visibility.

* Update tooltip messages across components to consistently indicate "Access restricted" for insufficient permissions, enhancing user clarity on access limitations.

* Refactor PagesSidebarNavigation and MobileHeader to utilize updated feature access flags for header and logo visibility. Introduced hasAppPagesHeaderAndLogoEnabled flag for conditional rendering, enhancing clarity on app page features.

* Remove obsolete dump.rdb file from the plugins directory, streamlining project structure.

* Refactor feature access checks across components to use hasAppPagesAddNavGroupEnabled flag for improved clarity and consistency in navigation group permissions. Removed obsolete license checks and console logs to streamline code.

* UI Fixes  (#14744)

* ui fix

* minor ui fix

* feat: enhance version management with menu handling and fetch tracking (#14745)

* feat: enhance version management with menu handling and fetch tracking

* feat: enhance version management with menu handling and fetch tracking

* update submodule

---------

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

* Fix: Header not visible in released app in mobile view (#14747)

* Update submodule references for frontend and server components

* Fix: Header and logo not visible in released app once plan expires (#14752)

* Fix: Header and logo not visible in released app once plan expires

* Remove console log

* Fix: Header inside the sidebar too

* chore: bump version to 3.20.53

---------

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
Co-authored-by: devanshu052000 <devanshu.rastogi05@gmail.com>
Co-authored-by: Rudhra Deep Biswas <rudra21ultra@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: manishkushare <kushare.manish9@gmail.com>
Co-authored-by: Nishidh Jain <nishidhjain909@gmail.com>
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
Co-authored-by: ajith-k-v <ajith.jaban@gmail.com>
Co-authored-by: Rohan Lahori <64496391+rohanlahori@users.noreply.github.com>
Co-authored-by: vjaris42 <vjy239@gmail.com>
Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2025-12-11 08:37:09 +05:30
Mekhla Asopa
4f7620b37f Merge branch 'lts-3.16' into test/Automation-marketplace-fixes 2025-12-09 10:59:16 +05:30
Rohan Lahori
5bec5a5b12
Feature/draft versioning support (#14284)
* added app_versions fields

* added data migration for backward compatibility

* added ce specific logic

* fixed ce migration (need to dev-test)

* moved to data migration

* migration changes

* added endpoint to create draft version

* backend changes

* added draft to app_import scenario

* added version description

* minor changes (needs improvement)

* fixed breaking dropdown in editor

* updated submodule commits

* revert package.json

* revert ui not used changes

* submodule changes

* reverting non used files

* ui changes

* ui changes

* ui changes

* ui changes

* ui changes

* copywriting changes

* ui changes

* ui changes

* edit version modal changes

* ui integration changes

* added button solid and removed unused css

* removed commented code from create version modal

* updated button size to use large

* ui changes

* draft version modal changes

* added sub-module commits to main

* draft version endpoint changes

* ui changes for draft version modal

* fix breaking ui

* ui changes for banner

* minor ui changes

* remove scss changes from themes file

* removed unused components (cleanup)

* removed unused components (pr cleanup)

* draft version changes

* create version modal changes

* canvas banner fixes

* comment creation logic

* refactor: version dropdown

* update endpoint changes

* fix: promote logic

* update submodule

* fix: released version and create version modal

* fix draft version creation

* minor ui changes

* minor backend fixes

* tooltip changes

* added all components in same folder

* added minor comments

* import fixes

* refactor files

* fix: overlay issues

* fix: on version creation

* fix ce bugs

* bug fixes

* bug fixes

* bug fixes

* bug fixes

* base merge

* feat: draft versioning support with UI enhancements and backend adjustments

- Updated AppCanvas to conditionally render AppCanvasBanner based on edit mode.
- Enhanced CreateDraftVersionModal to handle version selection and creation logic.
- Modified CreateVersionModal to streamline version creation process and handle commits.
- Improved ReleaseConfirmation to include development versions in release context.
- Refactored CreateDraftButton and VersionDropdownItem for better UI consistency and dark mode support.
- Updated VersionManagerDropdown to manage draft versions and improve version selection logic.
- Enhanced version switcher and promote/release buttons with dark mode styling.
- Adjusted server-side features and constants to support new draft versioning capabilities.
- Updated styles across components for better visual consistency and responsiveness.

* minor fixes

* rebase

* merge base

* update submodule

* Add data-cy attribute for draft version components

* Update cypress test cases for draft version feature

* Update failing test cases

* Update draft version test cases

* Skip older flow

* migration changes

* migration fixes

* Update the failed test cases

* removed multiple api calls

* fix: version set on draft creation

* fixes

* fix: version update on save version

* fixes

* name fix

* fix version lock banner styling

* bump version to 3.20.50-lts across all components

---------

Co-authored-by: Vijaykant Yadav <vjy239@gmail.com>
Co-authored-by: ajith-k-v <ajith.jaban@gmail.com>
Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2025-12-05 22:13:00 +05:30
emidhun
0475fd553b Update the commands
- Create marketplace commands
- Updated the utils and specs accordingly.
2025-12-05 18:07:00 +05:30
Mekhla Asopa
19ec335890 fix appcreate, customGroup, and dashboard 2025-11-26 17:10:58 +05:30
Mekhla Asopa
a57772bb29 fix profile spec 2025-11-26 12:11:55 +05:30
Mekhla Asopa
c24aab00e0 fix profile 2025-11-26 11:25:33 +05:30
Mekhla Asopa
2a731f4e51 fix app version and multi env 2025-11-26 11:09:23 +05:30
Mekhla Asopa
20de25cd34 skip DND assertions 2025-11-25 23:46:24 +05:30
Mekhla Asopa
00e8d65e93 commment DND 2025-11-25 23:39:09 +05:30
Mekhla Asopa
c9bef033eb fix user invite flow remove toast mesage 2025-11-25 21:05:13 +05:30
Mekhla Asopa
6cac54d484 skip DND case 2025-11-25 19:21:36 +05:30
Mekhla Asopa
2e64718c51 fix user invite flow 2025-11-25 19:09:41 +05:30
Mekhla Asopa
e8cff4edc1 fix with delete workspace 2025-11-24 21:53:23 +05:30
Mekhla Asopa
9ee5d888ef
Merge pull request #14522 from ToolJet/test/login-settings
Added cypress UI test cases for Login settings
2025-11-24 19:34:53 +05:30
ajith-k-v
fc87b8ab7a update the failed spec 2025-11-24 18:15:05 +05:30
ajith-k-v
427ba828ac update failing specs 2025-11-24 14:40:39 +05:30
Mekhla Asopa
253fdc20cd fix app version spec and private public spec 2025-11-24 14:39:30 +05:30
ajith-k-v
abf4254a77 update failing specs 2025-11-24 11:29:54 +05:30
Mekhla Asopa
4aa5d9717a fix user invite flow spec 2025-11-24 11:29:54 +05:30
Mekhla Asopa
d6a3500160 fix app version spec and private public spec 2025-11-24 11:29:54 +05:30
ajith-k-v
3fdea4e27e update failed test cases 2025-11-24 11:29:54 +05:30
Mekhla Asopa
43ef386a52 fix app version spec and added wait for element for required places 2025-11-24 11:29:54 +05:30
ajith-k-v
a547f42283 update failed test cases 2025-11-24 11:29:54 +05:30
ajith-k-v
5731dc885f Fix failing test cases 2025-11-24 11:29:54 +05:30
Mekhla Asopa
321475f590 fix privateAndPublicApps spec 2025-11-24 11:29:53 +05:30
ajith-k-v
1ef23d15ca update failing specs 2025-11-21 21:00:02 +05:30
Mekhla Asopa
db4292451c fix user invite flow spec 2025-11-21 18:50:49 +05:30
Mekhla Asopa
39e197bb11 fix app version spec and private public spec 2025-11-21 18:31:40 +05:30
Yukti Goyal
8e22850d89 fixed homepage dashboard issues 2025-11-21 13:05:16 +05:30
ajith-k-v
afbc92d579 update failed test cases 2025-11-21 00:03:37 +05:30
Mekhla Asopa
36af929b39 fix app version spec and added wait for element for required places 2025-11-20 18:43:57 +05:30
Yukti Goyal
92468f1b5c fixed failed cases 2025-11-20 17:58:09 +05:30
ajith-k-v
341041bc5e update failed test cases 2025-11-20 17:48:43 +05:30
ajith-k-v
a323eb3346 Fix failing test cases 2025-11-20 15:09:06 +05:30
Mekhla Asopa
6b513e5392 fix privateAndPublicApps spec 2025-11-20 14:38:02 +05:30
YuktiGoyal02
7667cfaf9e
Merge branch 'test/Automation-fixes-part-4' into test/login-settings 2025-11-20 12:21:42 +05:30
Mekhla Asopa
3bbac9d328 fix app version 2025-11-19 22:16:48 +05:30
ajith-k-v
48b6f27840 update workspace constants test cases 2025-11-19 22:14:33 +05:30
Mekhla Asopa
69fc35f7bb fix app create 2025-11-19 21:52:02 +05:30
Mekhla Asopa
cc5465e716 fix with hardcode wait 2025-11-19 19:02:05 +05:30
Mekhla Asopa
030bc6808b fix reset password 2025-11-19 17:58:45 +05:30
Mekhla Asopa
dad10ec15f fix bulk upload 2025-11-19 17:50:15 +05:30
YuktiGoyal02
d26857ffa3
Merge branch 'test/Automation-fixes-part-4' into test/login-settings 2025-11-19 15:52:16 +05:30
emidhun
3718fecf31 Permission, and workflow card fixes. 2025-11-19 14:59:58 +05:30
Mekhla Asopa
ad5866ffe0 fix translations wait 2025-11-19 14:44:59 +05:30
emidhun
38fce446e5 Fix app card open issues. 2025-11-19 14:27:14 +05:30