mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-11-01 18:19:43 +00:00
Add discovery UI, hide NSFW setting, and pack progress
- New discovery components (ContentTile, ContentRow, CircularProgress) - Refactor home screen with compact header and content tiles - Add hide_nsfw profile setting for content filtering - Add color column to categories table - Track pack progress (answered/total questions) - Update related stores and tests Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
bc38e41572
commit
69ac0940d3
29 files changed
+2048
-1174
No files matched your search
@@ -15,7 +15,9 @@ import {
|
||||
Pressable,
|
||||
Animated,
|
||||
Keyboard,
|
||||
Platform,
|
||||
} from 'react-native';
|
||||
import * as Haptics from 'expo-haptics';
|
||||
import { LinearGradient } from 'expo-linear-gradient';
|
||||
import { BlurView } from 'expo-blur';
|
||||
import { Ionicons } from '@expo/vector-icons';
|
||||
@@ -110,6 +112,15 @@ export const MatchNotificationModal: React.FC<Props> = ({
|
||||
// Dismiss keyboard so it doesn't block the modal buttons
|
||||
Keyboard.dismiss();
|
||||
|
||||
// Trigger celebration haptic pattern
|
||||
if (Platform.OS !== 'web') {
|
||||
// Success notification followed by a heavy impact for extra punch
|
||||
Haptics.notificationAsync(Haptics.NotificationFeedbackType.Success);
|
||||
setTimeout(() => {
|
||||
Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Heavy);
|
||||
}, 150);
|
||||
}
|
||||
|
||||
// Reset animations
|
||||
modalScale.setValue(0.8);
|
||||
modalOpacity.setValue(0);
|
||||
|
||||
Reference in new issue
Block a user