From 02a86f1db0ee9c33003954f7fdcce6f1c57801dc Mon Sep 17 00:00:00 2001 From: Mohit Balwani <73066030+mohitbalwani@users.noreply.github.com> Date: Fri, 2 Jan 2026 01:32:30 +0530 Subject: [PATCH 1/6] fix: replace title with aria-label to avoid multiple tooltips (#26370) --- packages/ui/components/badge/InfoBadge.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/components/badge/InfoBadge.tsx b/packages/ui/components/badge/InfoBadge.tsx index c5351c9c2bbe0b..4ee79ad47ba64f 100644 --- a/packages/ui/components/badge/InfoBadge.tsx +++ b/packages/ui/components/badge/InfoBadge.tsx @@ -5,7 +5,7 @@ export function InfoBadge({ content }: { content: string }) { return ( <> - + From b8e9b9eb3fb69a4ce0b3d961a1a36788b0b0dfcc Mon Sep 17 00:00:00 2001 From: Beto <43630417+betomoedano@users.noreply.github.com> Date: Thu, 1 Jan 2026 14:18:34 -0600 Subject: [PATCH 2/6] refactor(companion): remove react-native-context-menu-view dependency and enhance profile button with user avatar support (#26357) - Removed `react-native-context-menu-view` from `package.json` and `bun.lock`. - Updated profile button in `Availability`, `EventTypesIOS`, and `More` components to display user avatar if available, enhancing user experience. - Cleaned up code formatting for better readability. --- companion/app/(tabs)/(availability)/index.tsx | 32 +++++-- .../app/(tabs)/(event-types)/index.ios.tsx | 91 ++++++++++--------- companion/app/(tabs)/(more)/index.ios.tsx | 41 +++++---- companion/bun.lock | 3 - companion/package.json | 1 - 5 files changed, 95 insertions(+), 73 deletions(-) diff --git a/companion/app/(tabs)/(availability)/index.tsx b/companion/app/(tabs)/(availability)/index.tsx index 8a4e401b848232..014e94ce6bbb98 100644 --- a/companion/app/(tabs)/(availability)/index.tsx +++ b/companion/app/(tabs)/(availability)/index.tsx @@ -1,17 +1,20 @@ import { isLiquidGlassAvailable } from "expo-glass-effect"; import { Stack, useRouter } from "expo-router"; import { useState } from "react"; -import { Alert, Platform } from "react-native"; +import { Alert, Platform, Pressable } from "react-native"; import { AvailabilityListScreen } from "@/components/screens/AvailabilityListScreen"; -import { useCreateSchedule } from "@/hooks"; +import { useCreateSchedule, useUserProfile } from "@/hooks"; import { CalComAPIService } from "@/services/calcom"; import { showErrorAlert } from "@/utils/alerts"; +import { getAvatarUrl } from "@/utils/getAvatarUrl"; +import { Image } from "expo-image"; export default function Availability() { const router = useRouter(); const [searchQuery, setSearchQuery] = useState(""); const [showCreateModal, setShowCreateModal] = useState(false); const { mutate: createScheduleMutation } = useCreateSchedule(); + const { data: userProfile } = useUserProfile(); const handleCreateNew = () => { // Use native iOS Alert.prompt for a native look @@ -68,7 +71,10 @@ export default function Availability() { console.error("Failed to create schedule", message); if (__DEV__) { const stack = error instanceof Error ? error.stack : undefined; - console.debug("[Availability] createSchedule failed", { message, stack }); + console.debug("[Availability] createSchedule failed", { + message, + stack, + }); } showErrorAlert("Error", "Failed to create schedule. Please try again."); }, @@ -88,8 +94,7 @@ export default function Availability() {