## Description - Updates api contracts for pretag validation in release tab Fixes #38808 ## Automation /ok-to-test tags="@tag.Git" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/13821575387> > Commit: 751c6ee4f6e102c50de8e7402d947b63f5b6be06 > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13821575387&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.Git` > Spec: > <hr>Wed, 12 Mar 2025 22:04:53 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a new `TabRelease` component for managing pre-tagging functionality. - Added a custom hook `usePretag` for improved data management related to pre-tagging. - Implemented a new `useReleaseTag` hook for handling release tag creation. - Enhanced `OpsModalView` to conditionally render tagging capabilities based on artifact definition. - Added a new `isGitTaggingEnabled` function to determine if tagging is applicable based on artifact type. - Introduced loading states and improved commit information display in `LatestCommitInfoView`. - **Bug Fixes** - Updated components to utilize the new pre-tagging data structure, ensuring accurate information is displayed. - Improved display logic in `LatestCommitInfoView` for commit messages and author information. - **Refactor** - Removed outdated commit-related actions and state management, transitioning to pre-tagging actions and state. - Modified selectors to focus on pre-tagging data instead of the latest commit state. - Renamed and restructured components for clarity and consistency in handling pre-tagging and release tagging. - **Style** - Updated the `TAB_RELEASE` property for improved display consistency. - Added new constants for loading and no commit messages to enhance user feedback. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|---|---|---|
| .. | ||
| client | ||
| server | ||
| util | ||