Skip to content

feat: atm map - #814

Merged
HashEngineering merged 10 commits into
feature-explore-dashfrom
feature-atm-map
Nov 19, 2021
Merged

HashEngineering merged 10 commits into
feature-explore-dashfrom
feature-atm-map

Conversation

@ClaudeHangui

@ClaudeHangui ClaudeHangui commented Nov 13, 2021 •

Copy link
Copy Markdown
Contributor

Issue being fixed or feature implemented

Related PR's and Dependencies

Screenshots / Videos

How Has This Been Tested?

  • QA (Mobile Team)

Checklist:

  • I have performed a self-review of my own code and added comments where necessary
  • I have added or updated relevant unit/integration/functional/e2e tests

@ClaudeHangui
ClaudeHangui requested a review from Syn-McJ November 13, 2021 09:01

@Syn-McJ Syn-McJ left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, there is a couple of things I've noted that are not critical.

@@ -120,9 +124,10 @@ class ExploreMapFragment: SupportMapFragment() {

// TODO: For the 1st iteration of this feature, we shall limit the number of markers to be displayed

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This TODO is not needed anymore, we will limit the amount of markers in the final version too.

private var currentUserLocationState: MutableStateFlow<UserLocation?> = MutableStateFlow(null)
val currentUserLocation = currentUserLocationState.asLiveData()

var maxMarkers: Int = 100

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better if it's val or a constant in the companion object

//import org.mockito.Mockito.mock
//
//
//class ExploreViewModelTest {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these tests broken or obsolete?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually the tests on ExploreViewModel are obsolete and prevented the CI from running to conclusion. There has been an update on the ExploreViewModel constructor by Andrei. He's doing some work on the feature-explore-physical branch regarding this and I saw that he commented the whole file, so I just decided to apply the same rule on my branch

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll restore these tests once the work on physical search is done

@HashEngineering HashEngineering left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just have one question about a commented out test file.

…re-atm-map

# Conflicts:
#	features/exploredash/src/main/java/org/dash/wallet/features/exploredash/services/UserLocationState.kt
#	features/exploredash/src/main/java/org/dash/wallet/features/exploredash/ui/ExploreMapFragment.kt
#	features/exploredash/src/main/java/org/dash/wallet/features/exploredash/ui/ExploreViewModel.kt
#	features/exploredash/src/test/java/org/dash/wallet/features/exploredash/ExploreViewModelTest.kt
@HashEngineering
HashEngineering merged commit 79890d4 into feature-explore-dash Nov 19, 2021
@ClaudeHangui ClaudeHangui changed the title Feature atm map feat: atm map Nov 19, 2021
@ClaudeHangui
ClaudeHangui deleted the feature-atm-map branch November 19, 2021 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants