Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: git auto generate header issue fixed (#33016)
## Description The autoGeneratedHeaders property in actionConfiguration is unnecessarily getting introduced as git changes. This PR fixes that issue. With current implementation, In a git connected application, when we create any action and bind it to table widget, once we successfully commit these changes, after surfing the application without making any changes, we can see new changes to be committed for git and in those changes we can see `autoGeneratedHeaders: []` inside actionConfiguration. This issue has been fixed by initialising the field by default when we create action. <img width="932" alt="gittest" src="https://github.com/appsmithorg/appsmith/assets/30018882/9d76ab45-7cb4-4aa4-ba44-baf19a1f38e0"> Redux unit tests have been added to assert the fix Fixes #27941 _or_ Fixes `Issue URL` > [!WARNING] > _If no issue exists, please create an issue first, and check with the maintainers if the issue is valid._ ## Automation /ok-to-test tags="@tag.Datasource" ### 🔍 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/8874903423> > Commit: 769749d > Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=8874903423&attempt=1" target="_blank">Click here!</a> <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced API and GraphQL editors with support for auto-generated headers to streamline configuration processes. - **Tests** - Added new tests to ensure the reliability of API configuration functionalities. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: “sneha122” <“sneha@appsmith.com”>
- Loading branch information