mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
* feat: gate version rename restrictions behind git sync; restore non-git-sync behavior - Add useGitSyncConfig() hook as shared source of truth for isGitSyncEnabled and defaultBranch (reads orgGit store, uses correct github_branch field) - VersionDropdownItem: show branch name as display name for git-sync drafts; show fixed description "Latest commit to main will appear here" for git-sync drafts; hide "Edit details" only when git sync is ON (non-git-sync keeps original cursor/tooltip/disabled behavior for module versions) - VersionSwitcherButton: header shows "Draft" (not branch name) for git-sync draft versions - VersionManagerDropdown: source isGitSyncEnabled from hook; render EditVersionModal only for non-git-sync workspaces - CreateDraftVersionModal: show version name input only for non-git-sync; set fixed draft name (branch name) and description when git sync is ON; replace appGit-based effect with useGitSyncConfig hook - CreateVersionModal: blank name/description pre-fill when git sync ON; fix TDZ by moving effectiveIsBranchingEnabled after useStore block; add git-ref character validation for git-sync-enabled orgs - service.ts: block name/description edits on PUBLISHED versions only when org-level git sync is enabled (non-git-sync orgs retain edit capability) * feat: add immutability warning banner to Save version modal for git-sync orgs Adds an inline info banner "Name and description cannot be edited after saving" below the description field when git sync is enabled, matching the Figma design. * fix: move immutability warning banner to top of Save version modal body Figma (node 2091-172093) shows the banner above the version name input, not below the description field. * fix: improve error message for invalid version names in CreateVersionModal * feat: enforce version name validation across modals and DTOs * feat: add validation for version names to prevent spaces and special characters * feat: refactor version selection logic in CreateVersionModal for improved clarity * feat: enhance version name validation and update API request format * Fixed draft version case --------- Co-authored-by: Yukti Goyal <yuktigoyal02@gmail.com> Co-authored-by: YuktiGoyal02 <100783212+YuktiGoyal02@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| csv | ||
| fonts | ||
| images | ||
| libs/pyodide-0.23.2 | ||
| translations | ||