Skip to content

Conversation

@dektar
Copy link
Collaborator

@dektar dektar commented Nov 20, 2025

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization

Description

Users may now skip setting their location (LocationActivity) when coming directly from the tutorial. MainActivity shows a card prompting user to set their location in this case, but IssuesAdapter hides call counts. IssueActivity allows issues to be viewed and displays appropriate error message and a link to set location. IssueActivity listens to location changes so that it can refresh contacts dynamically after location is set.

Related Issues

Were the changes tested?

  • Yes, automated tests in IssuesAdapterTest, MainActivityHappyPathTest
  • Yes, manually tested:
    • Tapping deep links before location is set, or when location is invalid
    • Setting location directly from issue page when location is not set or invalid
    • Skipping setting location on setup, or setting it as usual
    • In districts missing a house rep, to make sure that's populated correctly still
  • No, and this is why: please replace this line with details on why tests
    have not been included
  • I need help with writing tests

Next:
* Let users skip the location screen the first time they see it, or don't automatically show it after the tutorial, and
* Show a prompt in MainActivity to set location if not yet set
And handling address error vs empty address when deep linking
After returning from LocationActivity, IssueActivity refreshes the contacts list for the issue.

Refactors out some common methods
Removes mentions of "zip" from LocationActivity and updates strings/layout a bit.
Until location is set, newletter signup is not shown (making an assumption that people aren't too invested yet)
Making it take up less space
@dektar dektar merged commit 21a2f0b into master Nov 21, 2025
1 check passed
@dektar dektar deleted the skipLocation branch November 21, 2025 23:46
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.

Don't block visiting issues page on setting location

3 participants