amplication / amplication

🔥🔥🔥 The Only Production-Ready AI-Powered Backend Code Generation
https://amplication.com
Other
15.16k stars 1.48k forks source link

As User - I want clear and informative error messages when syncing with a Git provider fails #7266

Open GreenMachine01 opened 1 year ago

GreenMachine01 commented 1 year ago

Image

Overview: In the current Amplication integration with various version control providers (like GitHub, Bitbucket, AWS CodeCommit), users occasionally encounter sync failures due to reasons such as deleted repositories or revoked access permissions. The existing error message, "Not Found," is too generic and does not offer clear guidance on the issue or its resolution. To improve user experience, there's a need to provide more specific and actionable error messages based on the failure context.

Requirements:

  1. Replace the "Not Found" error with "Unable to sync with the connected Git provider. Please check the repository's existence, Amplication's access permissions, and ensure you are connected to the appropriate organization. If the issue persists, consider reconnecting Amplication to your Git provider and try again."

Notes for the future:

When we know the reason for the failure we can provide a more specific error message

  1. If the sync fails since the repo cant be found show - "The connected [Provider Name] repository appears to have been deleted. Please ensure the repository exists and try again." 2.. If the sync fails since the Git org is no longer connected to Amplication show - "Amplication's access to the connected [Provider Name] organization has been revoked. Please reconnect Amplication to the organization and try again."

(Replace [Provider Name] with the relevant provider, e.g., GitHub, Bitbucket, AWS CodeCommit)

Tushar98644 commented 1 year ago

@GreenMachine01 i would like to take up the issue

GreenMachine01 commented 1 year ago

@Tushar98644 Assigned to you. Good luck!

lalitkumawat1m commented 12 months ago

Hello Team, Is this issue still open If yes then I want to work on this issue please assign it to me

Jatingupta9120 commented 2 weeks ago

Hello Team, Is this issue still open If yes then I want to work on this issue please assign it to me