Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make survey list reactive to local and remote changes #2030

Merged
merged 8 commits into from
Oct 31, 2023
Merged

Conversation

gino-m
Copy link
Collaborator

@gino-m gino-m commented Oct 30, 2023

Also upgrade Firebase deps and introduces some minor refactors. Fixes #1973

Copy link
Collaborator Author

@gino-m gino-m left a comment

Choose a reason for hiding this comment

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

@shobhitagarwal1612 Any idea why this test might be failing? Offline surveys should be shown first but it appears in the test they aren't.

value of: getText()
expected: survey 2
but was : survey 1
value of: getText()
expected: survey 2
but was : survey 1
	at com.google.android.ground.ui.surveyselector.SurveySelectorFragmentTest.created_surveysAvailable_whenOneSurveySynced(SurveySelectorFragmentTest.kt:110)

@gino-m gino-m marked this pull request as ready for review October 31, 2023 02:43
@gino-m gino-m changed the title [WORK IN PROGRESS] Make survey list reactive to local and remote changes Make survey list reactive to local and remote changes Oct 31, 2023
@gino-m
Copy link
Collaborator Author

gino-m commented Oct 31, 2023

@shobhitagarwal1612 Any idea why this test might be failing? Offline surveys should be shown first but it appears in the test they aren't.

value of: getText()
expected: survey 2
but was : survey 1
value of: getText()
expected: survey 2
but was : survey 1
	at com.google.android.ground.ui.surveyselector.SurveySelectorFragmentTest.created_surveysAvailable_whenOneSurveySynced(SurveySelectorFragmentTest.kt:110)

Please disregard, latest commit fixes this.

@gino-m
Copy link
Collaborator Author

gino-m commented Oct 31, 2023

@shobhitagarwal1612 PTAL?

1 similar comment
@gino-m
Copy link
Collaborator Author

gino-m commented Oct 31, 2023

@shobhitagarwal1612 PTAL?

@gino-m gino-m merged commit 923eaac into master Oct 31, 2023
4 checks passed
@gino-m gino-m deleted the gino-m/1973 branch October 31, 2023 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Survey list doesn't update on remote changes (not reactive)
2 participants