Scheduling infrastructure for absolutely everyone.
feat(companion): manifest id for safari extension & add delete account link (#26802)
Dhairyashil Shinde69695d30227b
diff --git a/companion/app/(tabs)/(more)/index.ios.tsx b/companion/app/(tabs)/(more)/index.ios.tsxindex 60dada4aec6..c262635cc7d 100644--- a/companion/app/(tabs)/(more)/index.ios.tsx+++ b/companion/app/(tabs)/(more)/index.ios.tsx@@ -138,8 +138,24 @@ export default function More() {))}</View>- {/* Sign Out Button */}+ {/* Delete Account Link */}<View className="mt-6 overflow-hidden rounded-lg border border-[#E5E5EA] bg-white">+ <TouchableOpacity+ onPress={() =>+ openInAppBrowser("https://app.cal.com/settings/my-account/profile", "Delete Account")+ }+ className="flex-row items-center justify-between bg-white px-5 py-4 active:bg-red-50"+ >+ <View className="flex-1 flex-row items-center">+ <Ionicons name="trash-outline" size={20} color="#991B1B" />+ <Text className="ml-3 text-base font-medium text-[#991B1B]">Delete Account</Text>+ </View>+ <Ionicons name="open-outline" size={20} color="#C7C7CC" />+ </TouchableOpacity>+ </View>++ {/* Sign Out Button */}+ <View className="mt-4 overflow-hidden rounded-lg border border-[#E5E5EA] bg-white"><TouchableOpacityonPress={handleSignOut}className="flex-row items-center justify-center bg-white px-5 py-4 active:bg-red-50"diff --git a/companion/app/(tabs)/(more)/index.tsx b/companion/app/(tabs)/(more)/index.tsxindex 9aacffd424f..8396733616c 100644--- a/companion/app/(tabs)/(more)/index.tsx+++ b/companion/app/(tabs)/(more)/index.tsx@@ -112,8 +112,24 @@ export default function More() {))}</View>- {/* Sign Out Button */}+ {/* Delete Account Link */}<View className="mt-6 overflow-hidden rounded-lg border border-[#E5E5EA] bg-white">+ <TouchableOpacity+ onPress={() =>+ openInAppBrowser("https://app.cal.com/settings/my-account/profile", "Delete Account")+ }+ className="flex-row items-center justify-between bg-white px-5 py-4 active:bg-red-50"+ >+ <View className="flex-1 flex-row items-center">+ <Ionicons name="trash-outline" size={20} color="#991B1B" />+ <Text className="ml-3 text-base font-medium text-[#991B1B]">Delete Account</Text>+ </View>+ <Ionicons name="open-outline" size={20} color="#C7C7CC" />+ </TouchableOpacity>+ </View>++ {/* Sign Out Button */}+ <View className="mt-4 overflow-hidden rounded-lg border border-[#E5E5EA] bg-white"><TouchableOpacityonPress={handleSignOut}className="flex-row items-center justify-center bg-white px-5 py-4 active:bg-red-50"diff --git a/companion/wxt.config.ts b/companion/wxt.config.tsindex 81e632a3255..e6afae80578 100644--- a/companion/wxt.config.ts+++ b/companion/wxt.config.ts@@ -59,7 +59,7 @@ export default defineConfig({publicDir: "extension/public",outDir: ".output",manifest: {- name: "Cal.com Companion",+ name: browserTarget === "safari" ? "Cal.com" : "Cal.com Companion",version: "1.7.5",description: "Your calendar companion for quick booking and scheduling",permissions: [