Skip to content

Commit afde178

Browse files
committed
feat: Add toast notifications and haptic feedback support
- Implemented ToastProvider for global toast notifications with different types (success, error, warning, info). - Added haptic feedback utilities for various interaction types (light, medium, heavy, success, warning, error). - Enhanced App.js to include ToastProvider for global access to toast notifications. - Created EnhancedTextInput component with haptic feedback on focus and secure entry toggle. - Developed GroupCard, ExpenseCard, MemberCard, and SummaryCard components with haptic feedback on interactions. - Introduced skeleton loading components for GroupCard, ExpenseItem, and MemberItem. - Added empty state components for groups, expenses, and friends with action prompts. - Created themed icon buttons and action buttons with consistent styling. - Implemented currency input with automatic formatting and search input with clear button functionality.
1 parent ce7a11c commit afde178

File tree

10 files changed

+1453
-1
lines changed

10 files changed

+1453
-1
lines changed

frontend/App.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@ import { PaperProvider } from 'react-native-paper';
22
import { AuthProvider } from './context/AuthContext';
33
import AppNavigator from './navigation/AppNavigator';
44
import { paperTheme } from './utils/theme';
5+
import { ToastProvider } from './utils/toast';
56

67
export default function App() {
78
return (
89
<AuthProvider>
910
<PaperProvider theme={paperTheme}>
10-
<AppNavigator />
11+
<ToastProvider>
12+
<AppNavigator />
13+
</ToastProvider>
1114
</PaperProvider>
1215
</AuthProvider>
1316
);

frontend/package-lock.json

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"@react-navigation/native-stack": "^7.3.23",
1717
"axios": "^1.11.0",
1818
"expo": "~53.0.20",
19+
"expo-haptics": "^14.1.4",
1920
"expo-image-picker": "~16.0.2",
2021
"expo-linear-gradient": "^14.1.5",
2122
"expo-status-bar": "~2.2.3",

0 commit comments

Comments
 (0)