You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -42,7 +43,7 @@ export default function SettingsPage() {
42
43
43
44
consthandleValidateToken=async()=>{
44
45
if(!githubToken.trim()||!repoUrl.trim()){
45
-
alert('Please provide both GitHub token and repository URL');
46
+
toast.error('Please provide both GitHub token and repository URL');
46
47
return;
47
48
}
48
49
@@ -74,15 +75,15 @@ export default function SettingsPage() {
74
75
].join('\n');
75
76
76
77
if(permissions.create_branches){
77
-
alert(`✅ Token is fully valid for PR creation!\n\n${permissionSummary}`);
78
+
toast.success(`✅ Token is fully valid for PR creation!\n\n${permissionSummary}`);
78
79
}else{
79
-
alert(`⚠️ Token validation partial success!\n\n${permissionSummary}\n\n❌ Cannot create branches - this will prevent PR creation.\nPlease ensure your token has 'repo' scope (not just 'public_repo').`);
80
+
toast.warning(`⚠️ Token validation partial success!\n\n${permissionSummary}\n\n❌ Cannot create branches - this will prevent PR creation.\nPlease ensure your token has 'repo' scope (not just 'public_repo').`);
0 commit comments