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

Refactor a common InstructionsDialog class and ensure Drop Pin tasks … #2349

Merged
merged 3 commits into from
Mar 14, 2024

Conversation

sufyanAbbasi
Copy link
Contributor

Fixes #2315

Factors out the InstructionsDialog from CaptureLocationTaskFragment and implements it on the DropPinTaskFragment.

  • Creates a shared component, InstructionsDialog, which displays a standardized AlertDialog.
  • Implements it for both the capture location and drop pin tasks.
  • Removes the info icon from the drop pin task.
  • Deleted app data to retrigger the dialogs, saw that both instructions get triggered, but don't persistent after being seen.

Screenshot 2024-03-13 at 3 16 18 PM
Screenshot 2024-03-13 at 3 16 08 PM

PTAL @shobhitagarwal1612 @gino-m !

Copy link
Member

@shobhitagarwal1612 shobhitagarwal1612 left a comment

Choose a reason for hiding this comment

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

1 minor cleanup suggestion.

@sufyanAbbasi sufyanAbbasi merged commit 19c295e into master Mar 14, 2024
2 checks passed
@sufyanAbbasi sufyanAbbasi deleted the sufy/2315/drop-pin-instructions branch March 14, 2024 05:55
shobhitagarwal1612 added a commit to shobhitagarwal1612/ground-android that referenced this pull request Mar 14, 2024
shobhitagarwal1612 added a commit that referenced this pull request Mar 14, 2024
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.

[Drop a pin] Instruction popup does not appear
2 participants