Commit Graph
73 Commits
Author SHA1 Message Date
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
bobbert 5183039b7b Refactor session management to use AsyncStorage for persistence; update game settings and leaderboard screens for improved functionality 2026-04-08 16:45:00 +01:00
bobbert 2646c7b9bc Refactor cache claim logic to use admin-defined claim distance; update related components for consistency 2026-04-07 18:00:30 +01:00
bobbert ecb61c4858 Update FOV configuration to increase distance and angle for improved visibility 2026-04-07 17:21:28 +01:00
bobbert 1e405bb87f Add FOV cone visualization to map screens; refactor geoMath utility for heading and cone calculations
Have FOV config as it's own thing so it's easier to change the size of the FOV triangle without having to change multiple parts of the maths for it.

Fov triangle needed because for some reason maps doesn't let us have our own fov ??
2026-04-07 17:19:25 +01:00
bobbert c4c8fcf91d Update API base URL for external access; enable cleartext traffic in app configuration and add eas.json for build settings 2026-04-07 15:56:20 +01:00
bobbert d34bb650f4 Add ExpandedMapScreen and integrate it into navigation; enhance CacheCardItem and GameSettingsScreen with improved UI elements 2026-04-07 14:38:18 +01:00
bobbert 60cf6baad2 Update README.md to simplify installation commands and clarify API endpoint usage 2026-04-07 00:03:58 +01:00
bobbert 8008a9b6fe Add GameSettings and Players screens; implement cache management features in MapScreen 2026-04-06 23:59:52 +01:00
bobbert b8efe987af Update API base URL comment for home network usage; simplify fetch request handling 2026-04-06 20:08:01 +01:00
bobbert a326c784a5 Update API base URL for local development; implement fetch timeout handling for improved request management 2026-04-06 19:54:43 +01:00
bobbert da7d5ea48d Merge pull request #4
Remove dynamic base URL handling; set API base URL to production server
2026-04-06 15:28:32 +01:00
bobbert 7b4d62d80c Remove dynamic base URL handling; set API base URL to production server 2026-04-06 15:24:36 +01:00