Commit ac6e730
authored
fix: improve init onboarding UX for app add step (#562)
- Merge two redundant confirm prompts ("Is this the correct app ID?" +
"Add in Capgo?") into a single select with emoji labels
- Fix duplicate app ID error not being caught (Supabase returns
"duplicate key" / code 23505, not "already exist")
- Skip checkAlerts() in addAppInternal when called silently from init
to avoid flashing clack output during Ink session1 parent c497367 commit ac6e730
2 files changed
+11
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1056 | 1056 | | |
1057 | 1057 | | |
1058 | 1058 | | |
1059 | | - | |
1060 | | - | |
1061 | | - | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
1062 | 1065 | | |
1063 | | - | |
| 1066 | + | |
1064 | 1067 | | |
1065 | | - | |
| 1068 | + | |
1066 | 1069 | | |
1067 | 1070 | | |
1068 | 1071 | | |
1069 | 1072 | | |
1070 | 1073 | | |
1071 | | - | |
1072 | | - | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
1076 | | - | |
1077 | | - | |
1078 | | - | |
1079 | | - | |
1080 | 1074 | | |
1081 | 1075 | | |
1082 | 1076 | | |
| |||
1097 | 1091 | | |
1098 | 1092 | | |
1099 | 1093 | | |
1100 | | - | |
| 1094 | + | |
1101 | 1095 | | |
1102 | 1096 | | |
1103 | 1097 | | |
| |||
0 commit comments