-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Move mobile working timer into the thread timeline #4285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,7 +26,13 @@ import { | |
| type ViewStyle, | ||
| } from "react-native"; | ||
| import ImageViewing from "react-native-image-viewing"; | ||
| import Animated, { FadeIn, FadeOut, LinearTransition } from "react-native-reanimated"; | ||
| import Animated, { | ||
| FadeIn, | ||
| FadeInDown, | ||
| FadeOut, | ||
| FadeOutDown, | ||
| LinearTransition, | ||
| } from "react-native-reanimated"; | ||
| import { useThemeColor } from "../../lib/useThemeColor"; | ||
| import { armAgentAwarenessLiveActivityForLocalWork } from "../agent-awareness/remoteRegistration"; | ||
| import { scopedThreadKey } from "../../lib/scopedEntities"; | ||
|
|
@@ -232,7 +238,12 @@ const ComposerConnectionStatusPill = memo(function ComposerConnectionStatusPill( | |
| const isReconnecting = props.status.kind !== "unavailable"; | ||
|
|
||
| return ( | ||
| <View className="items-center pb-2"> | ||
| <Animated.View | ||
| className="absolute inset-x-0 bottom-full items-center pb-2" | ||
| entering={FadeInDown.duration(180)} | ||
| exiting={FadeOutDown.duration(140)} | ||
| pointerEvents="box-none" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Status pill overlays approval cardsMedium Severity The Reviewed by Cursor Bugbot for commit 864aeef. Configure here. |
||
| > | ||
| <Pressable | ||
| accessibilityRole="button" | ||
| onPress={props.onPress} | ||
|
|
@@ -250,7 +261,7 @@ const ComposerConnectionStatusPill = memo(function ComposerConnectionStatusPill( | |
| {props.status.label} | ||
| </Text> | ||
| </Pressable> | ||
| </View> | ||
| </Animated.View> | ||
| ); | ||
| }); | ||
|
|
||
|
|
||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 Medium
threads/ThreadComposer.tsx:242ComposerConnectionStatusPillis now absolutely positioned atbottom-full, the same anchor used byComposerCommandPopover(which also hasz-10). When a command popover is open while a reconnect/loading status exists, the popover renders on top of the status pill, obscuring its message and reconnect button. The previous in-flow layout reserved vertical space so the two elements never shared the same slot. Consider offsetting the status pill further (e.g. accounting for the popover height) or repositioning it so it doesn't collide with the popover.🚀 Reply "fix it for me" or copy this AI Prompt for your agent: