Make Android's Connection settings consistent with the VPN
Opportunity statement
As the Connection settings UI is improving faster in Tor VPN, we should do the same in Tor Browser for Android in order to maintain consistency between both apps.
Scope
- Small adjustments in the Settings UI
- Redesign of the Connection settings
Out of scope
- Add/Replace bridges userflow
- Request bridges userflow
- Any other Settings but Connection
Mockups
Figma file (PNGs below this description)
Acceptance criteria
Scenario 1 - No bridges configured + toggle off
Given there's no bridges configured in Connection settings
And the "Use bridges" toggle is off
When the user access the Settings' first screen
Then the Bridges descriptive says "Not using bridges"
Scenario 2 - Bridges configured + toggle off
Given there are bridges configured in Connection settings
And the "Use bridges" toggle is off
When the user access the Settings' first screen
Then the Bridges descriptive says "Not using bridges"
Scenario 3 - No bridges configured + toggle on
Given there are bridges configured in Connection settings
And the "Use bridges" toggle is on
When the user access the Settings' first screen
Then the Bridges descriptive says which bridges are being used [1]
[1] Possible descriptives:
- sing 2 obfs4 bridges
- using a Snowflake bridge
- using a obfs4 built-in bridge
- using a meek-azure-bridge
Scenario 4 - Connection settings when the toggle is off
Given that the "Use bridges" toggle is off
When the user access the Connection settings
Then everything below the toggle will be disabled
Scenario 5 - Connection settings when the toggle is on
Given that the "Use bridges" toggle is on
When the user access the Connection settings
Then everything below the toggle will be enabled
Scenario 6 - Switching the toggle off when having bridges configured
Given there are bridges configured
When the user toggles off "Use bridges"
Then everything below the toggle will be disabled
And the browser will save the previous bridges configuration
Scenario 7 - Switching the toggle on when having bridges configured
Given there are bridges configured
When the user toggles on "Use bridges"
Then everything below the toggle will be enabled
And the browser will select the last used bridges configuration
Scenario 8 - Switching the toggle on when having no bridges configured yet
Given there are no bridges configured
When the user toggles on "Use bridges"
Then everything below the toggle will be enabled
And the browser will select the obfs4 (built-in) bridge by default