Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wip nav changes to allow displaying modal without changing screen * add custom tab bar icon and label * add modal with different options * tracks poc * add check if permission granted, add function to request about permission * add animation, add function for check permission disable strart tracking button * wip nav changes to allow displaying modal without changing screen * add custom tab bar icon and label * add modal with different options * tracks poc * add check if permission granted, add function to request about permission * add animation, add function for check permission disable strart tracking button * fixed problem with custom modal * fix hooks dependencies, user location flick * cleanup * place observations exactly at track line * store observations found on track * add check if foreground permission is granted, add gps indicator * move gps indicator to map header * create custom bottom sheet component with clicalbe backdrop * add icon to start tracking and stop tracking button * fix hooks dependencies, user location flick * cleanup * place observations exactly at track line * store observations found on track * add check if foreground permission is granted, add gps indicator * move gps indicator to map header * fix bug where observations don't display when there's no tracking line * cleanup track store naming * extract track layer to separate component * correct imports, remove unused ones * implement user location tooltip * path drawing fixes * add timer indicator to stop tracking modal * add show timer indicator in bottom tab bar * remove tab bar label, changed tabbar height * save only required data for track path drawing * move TrackPathLayer to track folder * move task definition to different place * fix layers order * create context where we keep timer data * extract types from store to common types * pre-review cleanups * add comment explaining distance calc algo * correct import * use luxon for duration formatting * fix eslint rule * add translations to gps modal * add changes to en.json * changed GPS pill * add enum type with tab names,changes check in navigation listener * set default route name to navigation store, use enum names in tabs name * add test case for calculate distance function, rename varialbes * changed gps pill padding * using in setCurrentTab function enum * create save track screen, create discard modal * add translations * update calculate distance function * remove comment * fix problem with timing calculation * improve typing a bit * add shared location context * fix problem with gps modal and tab screen * add back rounding of gps precision * add description option to save track screen * restore changes in podfile * create all fields in save track screen * add translations * update packages, create hook for creating track * add discard button icon * update calculate distance function * remove comment * fix problem with timing calculation * fix problem with gps modal and tab screen * improve typing a bit * add shared location context * chore: update Mapeo deps This updates `@mapeo/core`, `@mapeo/schema`, and `@mapeo/ipc`. * update libs, wip track saving * Fix @rollup/plugin-esm-shim bug * changed track description * fixed problem with GPSmodal * code quality improvement * implement track saving * remove temp initial route * remove irrelevant change * move BottomSheet to shared directory * general cleanups * extract inline style to stylesheet * remove unused var * use cheap-ruler instead own distance calc * Use ellipsis symbol instead triple dot Co-authored-by: Andrew Chou <[email protected]> * add header to tab navigator, fixed problem with navigator in homeHeader component * rename gpsModal to GPSPermissionModal also renamed other connected compontents * fixed problem with dependency in useTracking hook * Apply review suggestions * remove irrelevant changes to navigation * rename store from useNvigatorStore to useTabNvigatorStore * restore changes with GPSPill * rename gps components * rename gps components * fix bug with distance not zeroing, adjust store to type changes * extract inline style to stylesheet * unify keys in queries * improve i18n * fixed issue with not resetitng trackingSince, move SharedLocationContextProvider to home stack * changed timer type * remove unnecessary props isFocused * remove navigation cast type to as never, add navigation types * remove unnecessary hook and inline task registration * fixed timer nulable case * add another solution to track timer * save track notes * revert changes in package.json and package.lock * revert changes with mapeo/ipc * revert changes package.json and package-lock.json * add edit track screen, add update track method * bring back feature flag, remove unnecessary checks * fixed issue with discard track modal, using already created bottom sheet modal, and fixed padding in discription input * create share component DiscardModal, fixed dependency in useTracking hook * add edit track screen, add update track method * add edit track screen, add update track method * add back handler on Save Track Screen * changed save track screen, using header from react-native-navigation instead custom header --------- Co-authored-by: bohdanprog <[email protected]> Co-authored-by: Evan Hahn <[email protected]> Co-authored-by: Andrew Chou <[email protected]>
- Loading branch information