Skip to content

feat: License change on AppBuilder#14391

Merged
johnsoncherian merged 49 commits intofeat/license-flagfrom
feat/license-appbuilder-changes
Oct 24, 2025
Merged

feat: License change on AppBuilder#14391
johnsoncherian merged 49 commits intofeat/license-flagfrom
feat/license-appbuilder-changes

Conversation

@kavinvenkatachalam
Copy link
Copy Markdown
Collaborator

@kavinvenkatachalam kavinvenkatachalam commented Oct 23, 2025

This pull request refactors how license and feature access information is accessed throughout the frontend codebase. The main change is to consistently use the new useLicenseStore hook to retrieve featureAccess and related license status, instead of accessing it directly from the main application store (useStore). This improves code modularity and centralizes license management. Additionally, some unused imports and variables are cleaned up.

Fixes https://github.com/ToolJet/tj-ee/issues/4393
Fixes https://github.com/ToolJet/tj-ee/issues/4387
Frontend EE - https://github.com/ToolJet/ee-frontend/pull/275
Server EE - https://github.com/ToolJet/ee-server/pull/284

The most important changes are:

License and Feature Access Refactor:

  • Replaced all direct accesses to license and featureAccess from useStore with the new useLicenseStore hook across multiple components, including ConfigHandle.jsx, RightTopHeaderButtons.jsx, PageMenu.jsx, PagesSidebarNavigation.jsx, PageSettings.jsx, MobileNavigationMenu.jsx, and useAppData.js. This ensures consistent and modular access to license information. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21]

Component Logic Updates:

  • Updated logic for displaying tooltips and banners related to license validity, including extending license checks to additional component types (e.g., ModuleContainer) and ensuring banners are only shown in appropriate contexts. [1] [2]

Code Cleanup:

  • Removed unused imports and variables, such as unused services and redundant state selectors, to simplify and clean up the codebase. [1] [2] [3] [4] [5] [6] [7]

Submodule Update:

  • Updated the frontend/ee submodule to a new commit, likely to pick up related changes in the enterprise edition.

These changes collectively improve maintainability, modularity, and consistency of license-related logic throughout the frontend codebase.

Srimanitejas123 and others added 30 commits October 3, 2025 15:28
…14299)

* feat: enable preview access for view-only users across environments

Grant correct permissions for view-only users in app, version, data-source, data-query, and environment modules
Redirect view-only users from production to development environment in frontend
Align permission checks and environment logic with AppEnvironments.jsx pattern
Fix 403 errors on preview, environment switch, and data query run APIs for view-only users

* fix: previw links for production url

* fix edit links for viewer

* update submodule

* chore: update version to 3.20.21-lts across all components

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
Co-authored-by: gsmithun4 <3417097+gsmithun4@users.noreply.github.com>
* azure oidc changes

* chore: update version to 3.20.22-lts across all components

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
Co-authored-by: gsmithun4 <3417097+gsmithun4@users.noreply.github.com>
…le the selected cell exposed variable was not getting updated (#14286)
* Fix-import spec

* Minor fixes

* Minor fixes

* Add data-cy

* Update real events dependency
* Hotfix/Azure OIDC Group sync fixes (#14077)

* azure oidc changes

* chore: update version to 3.20.22-lts across all components

---------

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

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

Co-authored-by: gsmithun4 <3417097+gsmithun4@users.noreply.github.com>

* fix: Page permission tooltip placement issue

---------

Co-authored-by: Rohan Lahori <64496391+rohanlahori@users.noreply.github.com>
Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com>
Co-authored-by: gsmithun4 <3417097+gsmithun4@users.noreply.github.com>
…ement

fixed cypress spec for WF's after state management
…4340)

* Add cypress test cases for enterprise user groups and permissions

* update constants

* update user groups test cases

* update spec

* update groups cases

* update lock.json

* update custom group cases

* update docker file

* update first user onboarding and platform commands

* add case for UI  promote and release permission
@bito-code-review
Copy link
Copy Markdown

Bito Automatic Review Skipped - Branch Excluded

Bito didn't auto-review because the source or target branch is excluded from automatic reviews.
No action is needed if you didn't intend for the agent to review it. Otherwise, to manually trigger a review, type /review in a comment and save.
You can change the branch exclusion settings here, or contact your Bito workspace admin at shubham@tooljet.com.

…remove deprecated license check"

This reverts commit b4b5218.
@bito-code-review
Copy link
Copy Markdown

Bito Automatic Review Skipped - Branch Excluded

Bito didn't auto-review because the source or target branch is excluded from automatic reviews.
No action is needed if you didn't intend for the agent to review it. Otherwise, to manually trigger a review, type /review in a comment and save.
You can change the branch exclusion settings here, or contact your Bito workspace admin at shubham@tooljet.com.

@bito-code-review
Copy link
Copy Markdown

Bito Automatic Review Skipped - Branch Excluded

Bito didn't auto-review because the source or target branch is excluded from automatic reviews.
No action is needed if you didn't intend for the agent to review it. Otherwise, to manually trigger a review, type /review in a comment and save.
You can change the branch exclusion settings here, or contact your Bito workspace admin at shubham@tooljet.com.

@bito-code-review
Copy link
Copy Markdown

Bito Automatic Review Skipped - Branch Excluded

Bito didn't auto-review because the source or target branch is excluded from automatic reviews.
No action is needed if you didn't intend for the agent to review it. Otherwise, to manually trigger a review, type /review in a comment and save.
You can change the branch exclusion settings here, or contact your Bito workspace admin at shubham@tooljet.com.

@johnsoncherian johnsoncherian merged commit 506ffae into feat/license-flag Oct 24, 2025
17 checks passed
@johnsoncherian johnsoncherian deleted the feat/license-appbuilder-changes branch October 24, 2025 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.