Closed nicolas-raoul closed 9 months ago
Hi Can i work on this ....quite new to open source contributions ...looking for skilling up
@tamojitdas It is yours, thanks! Please let us know about your progress every week or so. 🙂
Sure thing
still working on the unit tests ..will be able to send some updates in mid next week
Hi! I would like to helo solve this issue. @tamojitdas Do you need some help with it?
Sure @axelthepony27 will let you know For any help needed
tamojitdas/apps-android-commons@4cf854bb94a63bb85e17ceba0e46ece7080d4e68 posting here the progress made in forked repo
Hi @tamojitdas, Can I assist you with this issue!
Sure, will raise a PR in about 2 days, Will be assigning you and @nicolas-raoul to review I have some points to discuss with you Both....will be giving details in PR comments...Thanks
Sure and Thanks!, Looking forward for your PR 🙌
Hi @nicolas-raoul @kanahia1, one quick question, regarding this function from NearbyParentFragmentPresenter.java:: @Override public void onCameraMove(com.mapbox.mapboxsdk.geometry.LatLng latLng) { // If our nearby markers are calculated at least once if (NearbyController.latestSearchLocation != null) { double distance = latLng.distanceTo (LocationUtils.commonsLatLngToMapBoxLatLng(NearbyController.latestSearchLocation)); if (nearbyParentFragmentView.isNetworkConnectionEstablished()) { if (distance > NearbyController.latestSearchRadius) { //nearbyParentFragmentView.setSearchThisAreaButtonVisibility(true); } else { nearbyParentFragmentView.setSearchThisAreaButtonVisibility(false); } } } else { nearbyParentFragmentView.setSearchThisAreaButtonVisibility(false); } }
,as per the latest commit for Mapbox to osmdroid I am seeing that nearbyParentFragmentView.setSearchThisAreaButtonVisibility(true); is not required anymore.... Just Confirming if that is the case, then I will skip working on this test step :: testSearchThisAreaButtonVisibleWhenMoveToFarPosition() from NearbyParentFragmentPresenterTest.kt...
@tamojitdas, feel free to skip this one as this function is of no use now!
thanks @kanahia1 for the info
tamojitdas/apps-android-commons@2c9badb2e7b715c9705d835108897c2b9670b792 posting here some updates made in forked repo ....need to work on this for the next week as some changes has been done in the NearbyParentFragmentPresenterTest.kt class and others from the remote repo ..hence had to sync & update accordingly ..but will be sending the PR next week..Thanks
tamojitdas/apps-android-commons@d6ab627eff60b7ba62f118484521e8ef83ceeac2 progress update. Done with NearbyParentFragmentPresenterTest.kt few remaining on NearbyParentFragmentUnitTest.kt will try sending the PR tommorow.
Thanks @tamojitdas 😄
The switch from MapBox to OpenStreetMap was urgent, and unit tests were not considered a priority, so they have been set as ignored. Now we need to re-instate these unit tests.
Step 1: Remove all
@Ignore
added in this commit: https://github.com/commons-app/apps-android-commons/commit/5df18fb4a6f7c105b3a7d14526c08a0d1dd8f9ad Step 2: Make the unit tests pass Step 3: Send a pull request. :-)