PromucFlow_constructor/app
Rudraprasad Das 5a5a0e23c7
chore: git tag - fixing contracts for pretag (#39581)
## 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 -->
2025-03-14 11:18:09 +01:00
..
client chore: git tag - fixing contracts for pretag (#39581) 2025-03-14 11:18:09 +01:00
server chore: added telemetry code around plugin execution flow (#39708) 2025-03-13 18:03:07 +05:30
util