PromucFlow_constructor/app/client/src/pages/Editor/gitSync
Rudraprasad Das be436db2f4
fix: git discard message (#25138)
## Description
Discard message were conditionally not shown. It caused a bug when only
navigation settings were changed. Removed the condition to include the
message every-time.

#### PR fixes following issue(s)
Fixes #24946 

#### Media

Before
<img width="1725" alt="image"
src="https://github.com/appsmithorg/appsmith/assets/8724051/cc29a570-ef51-48af-9bb5-57cb9f26f7cb">


After
<img width="1728" alt="image"
src="https://github.com/appsmithorg/appsmith/assets/8724051/31f543a2-f64b-4648-ba2f-2b5f3e452af3">




#### Type of change
- Bug fix (non-breaking change which fixes an issue)

## Testing
>
#### How Has This Been Tested?
- [x] Manual
- [ ] Jest
- [x] Cypress
>
>
#### Test Plan
> Add Testsmith test cases links that relate to this PR
>
>
#### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)
>
>
>
## Checklist:
#### Dev activity
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed
2023-07-07 10:48:53 +05:30
..
components fix: git discard message (#25138) 2023-07-07 10:48:53 +05:30
hooks chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
QuickGitActions chore: code split for sidebar env split (#23806) 2023-05-29 14:31:34 +07:00
Tabs feat: granular widgets for canvas (#24764) 2023-07-03 20:43:04 +05:30
constants.ts feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
DisconnectGitModal.tsx fix: adding a back button in git revert modal (#23632) 2023-05-24 11:20:36 +05:30
GitSyncModal.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
ImportedAppSuccessModal.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
Menu.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
ReconnectDatasourceModal.tsx feat: remove collapse sections (#24017) 2023-07-04 17:41:56 +05:30
RepoLimitExceededErrorModal.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
utils.test.ts chore: Code splitting FE files to support app level invites on Business edition (#21783) 2023-03-29 17:07:06 +00:00
utils.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30