85 Commits
Author SHA1 Message Date
bobbert c629cf6074 Update claiming logic in MapScreen and usePlayerGame to improve cache selection and visibility 2026-04-09 23:55:21 +01:00
suddenlyoranges 82e15508c2 fixed claim cache for global mode
removed redundant code. fixed cache claiming logic with find item endopoint from geoquest api
2026-04-09 23:45:26 +01:00
bobbert c68eb160cc Enhance claiming logic in GlobalMapScreen by updating claim distance and adding claim cone resolution 2026-04-09 23:11:54 +01:00
bobbert caf90d2d93 Add autoClaim feature to ClaimTimerView and adjust cache claiming logic in GlobalMapScreen 2026-04-09 23:06:57 +01:00
bobbert dc18186265 Refactor claim distance and update cache claiming logic in GlobalMapScreen and usePlayerGame 2026-04-09 22:57:24 +01:00
bobbert 1948fb4d90 Increase GLOBAL_CLAIM_DISTANCE_METERS to enhance claim area on GlobalMapScreen 2026-04-09 22:56:31 +01:00
bobbert ac7d89c0c5 Update GlobalMapScreen and usePlayerGame logic for improved cache claiming feedback 2026-04-09 22:52:12 +01:00
bobbert bb7e46cf4b global claim fix attempt #2 2026-04-09 22:46:27 +01:00
suddenlyoranges fbd95892b5 updated screens
added keyboard avoiding view to avoid blocking keyboard
2026-04-09 22:44:45 +01:00
bobbert 05747933cf global claim fix attempt #1 2026-04-09 22:32:45 +01:00
suddenlyoranges 768c4ec7e2 updated ui components for global events and finds
made changes for dark theme for global events
2026-04-09 21:47:52 +01:00
suddenlyoranges 12847cc46c refactored app theme
changed texts to suit dark theme.
2026-04-09 21:39:42 +01:00
suddenlyoranges 07b12cdd0f refactor username
Changed username to be the first name "_" user id
2026-04-09 21:33:57 +01:00
bobbert 53fddc8220 Add GlobalProfileScreen and integrate global user management features
- Introduced GlobalProfileScreen for user profile management.
- Implemented user data fetching and updating via global API.
- Added session handling for global user state.
- Updated navigation to include profile access from the top navbar.
- Created global data caching mechanisms for improved performance.
2026-04-09 20:49:43 +01:00
bobbert 2a83d0608f updated org acc logic, also made priv games joinable by clicking on game item in list 2026-04-09 18:29:13 +01:00
bobbert 20a2edbbda fixed issues with merge + Global logic 2026-04-09 18:18:18 +01:00
bobbert b9b11463cc Merge pull request #7 from mudabbir-ahmad/global-game
Global game logic
2026-04-09 17:04:05 +01:00
bobbert cc18a53841 Merge branch 'main' into global-game 2026-04-09 17:03:48 +01:00
suddenlyoranges 9111b38708 Added global gameplay screens and API hook
fixed routings to global game screen. Fixed navbar layouts on the screen. Updated api keys to use private key and added .env file. Configured useGlobalHook to use api from env variable.
2026-04-09 16:48:13 +01:00
suddenlyoranges 157d69c21c Add global events, map, cache and leaderboard screens
Introduce four new screens for global events: GlobalEventsScreen (lists public events and handles joining), GlobalMapScreen (map/list view of event caches with user location via expo-location and markers using react-native-maps), GlobalCacheViewScreen (cache detail view with ability to log discoveries), and GlobalLeaderboardScreen (rankings and recent finds). Screens use existing global hooks and SessionStore for fetching/joining events, caches, finds and for storing current global player context; they include loading/error states and navigation between screens. Also add simple tab components, styling, and refresh actions.
2026-04-09 15:29:29 +01:00
bobbert 191eb8944c Refactor admin approval handling by introducing PendingApprovalView component for consistent messaging across screens 2026-04-09 15:22:48 +01:00
bobbert f69ead8e45 Add pending admin state handling and update navigation logic for admin approval 2026-04-09 15:08:36 +01:00
suddenlyoranges 6e25fe6807 added entities
added Cache, Event and Find entities for pressable and scrollable components
2026-04-09 14:52:56 +01:00
bobbert 41b0b723ca Fixed an issue where departments could interact and see caches from other departments for org accounts. Fixed this issue. 2026-04-09 14:41:51 +01:00
bobbert 909cbb9de6 forgot font colour change for select cache 2026-04-09 14:32:52 +01:00
bobbert 021dbaa7c7 Merge pull request #6 from mudabbir-ahmad/Business-stuff
Business-stuff
2026-04-09 14:28:48 +01:00
bobbert 57dbecf632 forgot to update font colour for these pages 2026-04-09 14:27:31 +01:00
bobbert 5c1d831d4d icons 2026-04-09 14:23:59 +01:00
bobbert 51cd65db0a Refactor UI styles: update color scheme for consistency across components, enhance visual hierarchy, and improve accessibility. 2026-04-09 14:23:31 +01:00
bobbert 1465a55602 Refactor UI components: update styles for consistency, changed colour scheme, dont like all the white light colours. 2026-04-09 14:04:55 +01:00
bobbert 188c581f37 Refactor GameSettingsScreen: enhance data fetching with useRef for API calls, improve loading state management, and streamline subgroup and waitlist handling. 2026-04-09 13:47:05 +01:00
bobbert 4a0468d155 Enhance navigation and data handling: update BottomNavbar to pass selected department, refactor GameSettingsScreen and PlayersScreen for improved subgroup management, and adjust API calls to support department-specific data. 2026-04-09 13:10:59 +01:00
bobbert 43c8bb2bff Enhance department management: add department name display in cache cards, update navigation to include selected department, and improve department selection in map screen. 2026-04-09 12:49:05 +01:00
bobbert dd5dd83737 Refactor business settings: update department-related UI elements, enhance game reset functionality, and improve data handling for business accounts. 2026-04-09 12:32:29 +01:00
bobbert e0065e885f updating business components. 2026-04-09 11:56:22 +01:00
bobbert e3564bea08 Refactor API endpoints: update subgroup membership references to subgroup members and streamline cache visibility logic based on selected cache ID. 2026-04-09 10:23:36 +01:00
bobbert 4407d05fdb minor map change + creating new game handler fix update 2026-04-09 09:46:51 +01:00
bobbert fc378ae016 Refactor map components: streamline player cache marker rendering and update claim logic to use selected cache ID for triggering countdown. 2026-04-09 09:09:08 +01:00
bobbert e60c6181f1 Remove Google Maps API key configuration from app.json 2026-04-09 09:01:56 +01:00
bobbert 07f2e1c03d Integrate Google Maps provider: update map components to use Google Maps, add API key configuration in app.json, and ensure consistent map rendering across screens. 2026-04-09 09:01:08 +01:00
bobbert 4a5cc716db Refactor map functionality: streamline cache visibility logic by removing proximity fallback for iOS, ensuring player must have heading to view caches, and simplify heading checks in player game hook 2026-04-09 08:52:23 +01:00
bobbert 63c082bb8f Enhance map functionality: improve cache marker rendering for consistency across platforms, especially for iphone users, add fallback for proximity detection when heading is unavailable, and refactor visibility logic for better performance 2026-04-09 08:44:37 +01:00
bobbert a41f8ae6f8 hopefully fixing some map issues due to trying to have player data persistance between game leaves, trying to fix claiming issues with caches too. Can't test on pc with this, pushing to test on my laptop :( 2026-04-09 08:33:26 +01:00
bobbert 13abdcdaa6 removed 2 files. they're not meant to be in the github page. 2026-04-09 01:53:57 +01:00
bobbert d60f428383 Enhance player and team management: add admin approval/denial for waitlisted users, conditionally render UI elements based on game status, and improve button states for better user experience 2026-04-09 01:51:54 +01:00
bobbert 70ed43f12b Implement business subgroup management: add create, update, and delete functionality for subgroups; enhance team settings with subgroup selection and cache claim distance adjustments
also fixed the naming scheme on the db from game-data.json to caches.json and refactored code to reflect that change. plus added player highlighting
2026-04-09 00:13:28 +01:00
suddenlyoranges 4d5eac38b7 added games screen
games screen added to bottom navbar. Now user can go to games screen and select private or public game type
2026-04-08 21:03:03 +01:00
bobbert 9a9db74369 Enhance cache management and UI: implement multi-team cache claiming, add admin waitlist functionality, and improve leaderboard display for better user experience 2026-04-08 20:42:11 +01:00
Shirish 93fb30a7bb api test
changed default api calll
2026-04-08 18:32:52 +01:00
bobbert e34cbba9b5 Merge pull request #5 from mudabbir-ahmad/Mudabbir-DEV
Mudabbir-DEV
2026-04-08 16:46:54 +01:00