-
Notifications
You must be signed in to change notification settings - Fork 0
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
Mobile/feat/analytics #418
Conversation
The code changes in `SplashScreen.tsx` update the navigation logic in the `useEffect` hook. Instead of navigating to `/home`, it now navigates to `home`. This change ensures consistent navigation behavior. Note: The commit message conventions in the repository follow the format of starting with a type (e.g., feat, fix, chore) followed by a colon and a brief description of the change.
This change adds the "assetBundlePatterns" property to the app.json file in order to include all files in the project for bundling. This ensures that all assets are properly bundled and available for use in the application.
- Added the `AnalyticsReq` interface to the `requests.ts` file. - added analytics service functions
This commit refactors the Stats component in the Dashboard screen to include additional analytics functionality. It adds new state variables for work ratio, peak office hours, arrival and departure times, and in-office rate. The fetchUserAnalytics function is updated to fetch these new analytics data from the server. The analyticsCards array is also updated to display the new data. Changes: - Added state variables for work ratio, peak office hours, arrival and departure times, and in-office rate - Updated fetchUserAnalytics function to fetch new analytics data - Updated analyticsCards array to display new data
…2024/occupi into mobile/feat/analytics
…2024/occupi into mobile/feat/analytics
…2024/occupi into mobile/feat/analytics
…2024/occupi into mobile/feat/analytics
…2024/occupi into mobile/feat/analytics
…2024/occupi into mobile/feat/analytics
100% passing tests
…2024/occupi into mobile/feat/analytics
- Added logging of authentication token in getUserDetails and getNotificationSettings functions - Removed commented out code in getNotificationSettings and getTopBookings functions - Added delay before storing token in UserLogin function - Updated router destination in UserLogin function
…2024/occupi into mobile/feat/analytics
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #418 +/- ##
============================================
- Coverage 82.37% 48.67% -33.71%
============================================
Files 96 11 -85
Lines 5743 791 -4952
Branches 84 126 +42
============================================
- Hits 4731 385 -4346
+ Misses 919 360 -559
+ Partials 93 46 -47 ☔ View full report in Codecov by Sentry. |
Description
This pr is the final one for mobile including the dashboard facelift and user analytics.
Fixes:
#351
#395
#396
#397
#398
#399
#297
Type of change
Please delete options that are not relevant.
Checklist: