PromucFlow_constructor/app/client/src/pages/Editor/gitSync
Rudraprasad Das fe7e4e8216
fix: allowing custom username is git url validation (#30738)
## Description
Fixes the validation issue with custom usernames in Git origin URL

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

#### Media
<img width="1728" alt="image"
src="https://github.com/appsmithorg/appsmith/assets/8724051/a0f52354-a876-4066-9d2c-1226b00b82f2">

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

## Testing
>
#### How Has This Been Tested?
> Please describe the tests that you ran to verify your changes. Also
list any relevant details for your test configuration.
> Delete anything that is not relevant
- [x] Manual
- [ ] JUnit
- [x] Jest
- [ ] 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
- [ ] My code follows the style guidelines of this project
- [ ] 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
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] 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


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Refactor**
- Enhanced support for a wider range of git remote URL formats in the
Git synchronization feature.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Nayan <nayan@appsmith.com>
2024-02-01 13:45:28 +05:30
..
components fix: trigger issue with git settings (#30731) 2024-01-30 14:12:50 +05:30
GitSettingsModal fix: additional ce changes for ee version of CD (#30695) 2024-01-29 14:57:26 +05:30
GitSyncModal fix: removing settings from old git sync tab (#30516) 2024-01-24 13:17:58 +05:30
hooks chore: Check new git permissions for respective git operations (#29981) 2024-01-05 10:27:56 +05:30
QuickGitActions fix: Remove guided tour code (#30387) 2024-01-24 16:31:21 +05:30
Tabs fix: trigger issue with git settings (#30731) 2024-01-30 14:12:50 +05:30
constants.ts fix: git branch protection bug fixes (#28749) 2023-11-09 16:58:04 +05:30
DisableAutocommitModal.tsx feat: autocommit UI integration (#29755) 2023-12-22 16:36:54 +05:30
DisconnectGitModal.tsx fix: trigger issue with git settings (#30731) 2024-01-30 14:12:50 +05:30
ImportedAppSuccessModal.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
Menu.tsx feat: branch protection (#28526) 2023-11-03 22:43:36 +05:30
ReconnectDatasourceModal.tsx feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
RepoLimitExceededErrorModal.tsx feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
utils.test.ts fix: allowing custom username is git url validation (#30738) 2024-02-01 13:45:28 +05:30
utils.ts fix: allowing custom username is git url validation (#30738) 2024-02-01 13:45:28 +05:30