Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified backend/api/internal/database/dev.sqlite3
Binary file not shown.
Binary file modified backend/api/internal/database/dev.sqlite3-shm
Binary file not shown.
Binary file modified backend/api/internal/database/dev.sqlite3-wal
Binary file not shown.
Binary file removed backend/uploads/0d0fdc6d5157b7829e33845e.heic
Binary file not shown.
Binary file removed backend/uploads/1aba36ceb27965e859b99c66.jpg
Binary file not shown.
Binary file removed backend/uploads/35d075cb5485c1a84d4fff10.jpg
Binary file not shown.
Binary file removed backend/uploads/3962c4807f7f91ddae073b55.jpg
Binary file not shown.
Binary file removed backend/uploads/4a94a0cb50f3b387b4de4ef5.m4a
Binary file not shown.
Binary file added backend/uploads/4c4871d3a5dcd67526be0aa5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed backend/uploads/4effe678d837e81ac1c706db.mp4
Binary file not shown.
Binary file removed backend/uploads/5c389cb9e0973a5a8f5d22c3.jpg
Binary file not shown.
Binary file removed backend/uploads/6df6507f3d9edb87a3b17174.jpg
Binary file not shown.
Binary file removed backend/uploads/82c8595f5df641cb0375e499.heic
Binary file not shown.
Binary file removed backend/uploads/87a2056f6b58258e7ddf5be9.heic
Binary file not shown.
Binary file added backend/uploads/8d920369f17377779f7688f3.heic
Binary file not shown.
Binary file removed backend/uploads/90f2a658c3d1bd7dc282aeb9.jpg
Binary file not shown.
Binary file removed backend/uploads/9d83afc74c7bacd66483004f.pdf
Binary file not shown.
Binary file removed backend/uploads/9fc9957ad638d7d8a6118bba.heic
Binary file not shown.
Binary file added backend/uploads/aafa996433304a7f7f887777.heic
Binary file not shown.
Binary file removed backend/uploads/b035fdfcce117301b0fe0dc5.heic
Binary file not shown.
Binary file removed backend/uploads/ba7385d7b7d2b242943e3826.jpg
Binary file not shown.
Binary file removed backend/uploads/c00c03c4cc9ebc466d322d39.m4a
Binary file not shown.
Binary file removed backend/uploads/c2aa90cc4f38e600d0b3afd4.jpg
Binary file not shown.
Binary file removed backend/uploads/c870ac81e1e343d783626684.heic
Binary file not shown.
Binary file added backend/uploads/d3628e395171f33b425db871.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed backend/uploads/d90ff3877bb16a401db253c9.jpg
Binary file not shown.
Binary file removed backend/uploads/dcb1f9fd4ba4756fb91370f8.jpg
Binary file not shown.
Binary file removed backend/uploads/e4a6d08bdb895a2518bbf088.heic
Binary file not shown.
Binary file added backend/uploads/f0443e22c7a7510261e8529a.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions frontend/app/(tabs)/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default function TabLayout() {
return (
<Tabs
screenOptions={{
lazy: true,
tabBarActiveTintColor: colors.tint,
headerShown: false,
tabBarButton: HapticTab,
Expand Down
21 changes: 14 additions & 7 deletions frontend/app/(tabs)/explore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import React, {
import {
ActivityIndicator,
Animated,
Image,
Keyboard,
Pressable,
RefreshControl,
Expand All @@ -25,6 +24,7 @@ import {
import { Feather } from "@expo/vector-icons";
import { useRouter } from "expo-router";
import { useFocusEffect } from "@react-navigation/native";
import { FadeInImage } from "@/components/FadeInImage";
import { UiPerson } from "@/constants/Types";
import {
clearApiCache,
Expand All @@ -50,6 +50,7 @@ import { TopBlur } from "@/components/TopBlur";
import { useAutoRefresh } from "@/hooks/useAutoRefresh";
import { useAppColors } from "@/hooks/useAppColors";
import { useMotionConfig } from "@/hooks/useMotionConfig";
import { useTopBlurScroll } from "@/hooks/useTopBlurScroll";
import { useAuth } from "@/contexts/AuthContext";
import { subscribeToPostEvents } from "@/services/postEvents";

Expand Down Expand Up @@ -90,6 +91,7 @@ export default function ExploreScreen() {
const [isRefreshing, setIsRefreshing] = useState(false);
const motion = useMotionConfig();
const reveal = useRef(new Animated.Value(0)).current;
const { scrollY, onScroll } = useTopBlurScroll();

useEffect(() => {
if (motion.prefersReducedMotion) {
Expand Down Expand Up @@ -450,15 +452,18 @@ export default function ExploreScreen() {
<View style={styles.background} pointerEvents="none" />
<SafeAreaView style={styles.safeArea} edges={[]}>
<TouchableWithoutFeedback onPress={Keyboard.dismiss}>
<ScrollView
<Animated.ScrollView
contentInsetAdjustmentBehavior="never"
keyboardShouldPersistTaps="handled"
keyboardDismissMode="on-drag"
onScroll={onScroll}
scrollEventThrottle={16}
refreshControl={
<RefreshControl
refreshing={isRefreshing}
onRefresh={handleRefresh}
tintColor={colors.tint}
progressViewOffset={insets.top + 12}
/>
}
contentContainerStyle={[
Expand Down Expand Up @@ -536,6 +541,7 @@ export default function ExploreScreen() {
})}
</View>
</ScrollView>

{showSearchResults ? (
<View>
<SectionHeader title="Search results" />
Expand Down Expand Up @@ -579,7 +585,7 @@ export default function ExploreScreen() {
]}
>
{person.picture ? (
<Image
<FadeInImage
source={{ uri: person.picture }}
style={styles.personAvatarImage}
/>
Expand Down Expand Up @@ -780,7 +786,7 @@ export default function ExploreScreen() {
]}
>
{person.picture ? (
<Image
<FadeInImage
source={{ uri: person.picture }}
style={styles.personAvatarImage}
/>
Expand Down Expand Up @@ -876,10 +882,10 @@ export default function ExploreScreen() {
)}
</View>
) : null}
</ScrollView>
</Animated.ScrollView>
</TouchableWithoutFeedback>
</SafeAreaView>
<TopBlur />
<TopBlur scrollY={scrollY} />
</View>
);
}
Expand All @@ -895,7 +901,8 @@ const styles = StyleSheet.create({
...StyleSheet.absoluteFillObject,
},
container: {
padding: 16,
paddingVertical: 16,
paddingHorizontal: 0,
gap: 20,
paddingTop: 0,
},
Expand Down
13 changes: 9 additions & 4 deletions frontend/app/(tabs)/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import { SectionHeader } from "@/components/SectionHeader";
import { StatPill } from "@/components/StatPill";
import { ThemedText } from "@/components/ThemedText";
import { TopBlur } from "@/components/TopBlur";
import { useTopBlurScroll } from "@/hooks/useTopBlurScroll";
import { subscribeToPostEvents } from "@/services/postEvents";
import {
applyProjectEvent,
Expand All @@ -59,6 +60,7 @@ export default function HomeScreen() {
const [hasError, setHasError] = useState(false);
const [isRefreshing, setIsRefreshing] = useState(false);
const motion = useMotionConfig();
const { scrollY, onScroll } = useTopBlurScroll();
const revealValues = useRef([
new Animated.Value(0),
new Animated.Value(0),
Expand Down Expand Up @@ -259,13 +261,16 @@ export default function HomeScreen() {
<View style={[styles.screen, { backgroundColor: colors.background }]}>
<View style={styles.background} pointerEvents="none" />
<SafeAreaView style={styles.safeArea} edges={[]}>
<ScrollView
<Animated.ScrollView
contentInsetAdjustmentBehavior="never"
onScroll={onScroll}
scrollEventThrottle={16}
refreshControl={
<RefreshControl
refreshing={isRefreshing}
onRefresh={handleRefresh}
tintColor={colors.tint}
progressViewOffset={insets.top + 12}
/>
}
contentContainerStyle={[
Expand Down Expand Up @@ -384,9 +389,9 @@ export default function HomeScreen() {
</View>
)}
</Animated.View>
</ScrollView>
</Animated.ScrollView>
</SafeAreaView>
<TopBlur />
<TopBlur scrollY={scrollY} />
<CreatePost />
</View>
);
Expand All @@ -404,7 +409,7 @@ const styles = StyleSheet.create({
},
scrollContainer: {
gap: 20,
paddingHorizontal: 16,
paddingHorizontal: 0,
paddingTop: 0,
},
loadingState: {
Expand Down
14 changes: 10 additions & 4 deletions frontend/app/(tabs)/profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import { TopBlur } from "@/components/TopBlur";
import { useAutoRefresh } from "@/hooks/useAutoRefresh";
import { useAppColors } from "@/hooks/useAppColors";
import { useMotionConfig } from "@/hooks/useMotionConfig";
import { useTopBlurScroll } from "@/hooks/useTopBlurScroll";
import { useAuth } from "@/contexts/AuthContext";
import {
clearApiCache,
Expand Down Expand Up @@ -96,6 +97,7 @@ export default function ProfileScreen() {
const motion = useMotionConfig();
const reveal = useRef(new Animated.Value(0)).current;
const hasLoadedRef = useRef(false);
const { scrollY, onScroll } = useTopBlurScroll();

const filteredFollowerUsers = React.useMemo(() => {
const trimmed = followersQuery.trim().toLowerCase();
Expand Down Expand Up @@ -503,13 +505,16 @@ export default function ProfileScreen() {
<View style={[styles.screen, { backgroundColor: colors.background }]}>
<View style={styles.background} pointerEvents="none" />
<SafeAreaView style={styles.safeArea} edges={[]}>
<ScrollView
<Animated.ScrollView
contentInsetAdjustmentBehavior="never"
onScroll={onScroll}
scrollEventThrottle={16}
refreshControl={
<RefreshControl
refreshing={isRefreshing}
onRefresh={handleRefresh}
tintColor={colors.tint}
progressViewOffset={insets.top + 12}
/>
}
contentContainerStyle={[
Expand Down Expand Up @@ -780,9 +785,9 @@ export default function ProfileScreen() {
</View>
)}
</View>
</ScrollView>
</Animated.ScrollView>
</SafeAreaView>
<TopBlur />
<TopBlur scrollY={scrollY} />
<Modal
visible={isFollowersOpen}
transparent
Expand Down Expand Up @@ -920,7 +925,8 @@ const styles = StyleSheet.create({
...StyleSheet.absoluteFillObject,
},
container: {
padding: 16,
paddingVertical: 16,
paddingHorizontal: 0,
gap: 20,
paddingTop: 0,
},
Expand Down
14 changes: 10 additions & 4 deletions frontend/app/archive-bytes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { TopBlur } from "@/components/TopBlur";
import { useAutoRefresh } from "@/hooks/useAutoRefresh";
import { useAppColors } from "@/hooks/useAppColors";
import { useMotionConfig } from "@/hooks/useMotionConfig";
import { useTopBlurScroll } from "@/hooks/useTopBlurScroll";
Comment on lines 17 to +20
Copy link

Copilot AI Feb 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After switching the main container to Animated.ScrollView, the ScrollView import at the top of this file is no longer used. Consider removing the unused import to avoid lint/TS unused-import failures.

Copilot uses AI. Check for mistakes.
import { useAuth } from "@/contexts/AuthContext";
import {
clearApiCache,
Expand All @@ -37,6 +38,7 @@ export default function ArchiveBytesScreen() {
const [isRefreshing, setIsRefreshing] = useState(false);
const motion = useMotionConfig();
const reveal = useRef(new Animated.Value(0)).current;
const { scrollY, onScroll } = useTopBlurScroll();

useEffect(() => {
if (motion.prefersReducedMotion) {
Expand Down Expand Up @@ -150,13 +152,16 @@ export default function ArchiveBytesScreen() {
return (
<View style={[styles.screen, { backgroundColor: colors.background }]}>
<SafeAreaView style={styles.safeArea} edges={[]}>
<ScrollView
<Animated.ScrollView
contentInsetAdjustmentBehavior="never"
onScroll={onScroll}
scrollEventThrottle={16}
refreshControl={
<RefreshControl
refreshing={isRefreshing}
onRefresh={handleRefresh}
tintColor={colors.tint}
progressViewOffset={insets.top + 12}
/>
}
contentContainerStyle={[
Expand Down Expand Up @@ -209,9 +214,9 @@ export default function ArchiveBytesScreen() {
</ThemedText>
</View>
)}
</ScrollView>
</Animated.ScrollView>
</SafeAreaView>
<TopBlur />
<TopBlur scrollY={scrollY} />
</View>
);
}
Expand All @@ -224,7 +229,8 @@ const styles = StyleSheet.create({
flex: 1,
},
container: {
padding: 16,
paddingVertical: 16,
paddingHorizontal: 0,
gap: 16,
paddingTop: 0,
},
Expand Down
Loading
Loading