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

Update view model when switching between entry and exit location #6224

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rablador
Copy link
Collaborator

@rablador rablador commented May 6, 2024

This PR contains two closely related issues:

  1. https://linear.app/mullvad/issue/IOS-631/update-view-model-when-switching-between-entry-and-exit-location

The view location selection view must be able to work with both entry and exit locations. If a user has selected a single relay as an entry, the user should not be able to select the same relay as an exit, and vice versa. Edge cases around countries/cities containing a single relay don't have to be accounted for.

  1. https://linear.app/mullvad/issue/IOS-610/allow-selecting-entry-location

The user must be able to specify what locations should be used for the entry relay when multi-hop is enabled. The UI for this should follow the design from IOS-504.

The first time you enter the location view after enabling multi-hop, the user should be directed to the entry view so to onboard the user. Afterwards, entering the location view would direct the user to the exit view.

When showing the exit tab, the selected entry location should be marked as (Entry) and if it's a relay it should be greyed out. Same goes for the selected Exit point if you're in the entry view. Furthermore you should be able to click an already selected list item in order to get to the next step of the flow (Entry to Exit, Exit to Main view).


This change is Reviewable

Copy link

linear bot commented May 6, 2024

@rablador rablador force-pushed the add-a-new-container-view-to-wrap-the-whole-location-ios-630 branch 2 times, most recently from ab0cb28 to 1d83511 Compare May 6, 2024 12:16
@rablador rablador force-pushed the update-view-model-when-switching-between-entry-and-exit-ios-631 branch 5 times, most recently from a4e3bc3 to 4989464 Compare May 6, 2024 12:25
@rablador rablador changed the title Update view model when switching between entry and exit ios 631 Update view model when switching between entry and exit location May 6, 2024
@rablador rablador force-pushed the update-view-model-when-switching-between-entry-and-exit-ios-631 branch 2 times, most recently from 34bab0a to 0438746 Compare May 8, 2024 07:47
@rablador rablador force-pushed the add-a-new-container-view-to-wrap-the-whole-location-ios-630 branch 2 times, most recently from 72fb2a4 to 2ad27f5 Compare May 13, 2024 07:26
Base automatically changed from add-a-new-container-view-to-wrap-the-whole-location-ios-630 to main May 13, 2024 08:14
@rablador rablador added the iOS Issues related to iOS label May 13, 2024
@rablador rablador force-pushed the update-view-model-when-switching-between-entry-and-exit-ios-631 branch 2 times, most recently from 35425a9 to 90e39ae Compare May 20, 2024 11:27
@rablador rablador force-pushed the update-view-model-when-switching-between-entry-and-exit-ios-631 branch from 90e39ae to 68c4f44 Compare May 30, 2024 14:36
@rablador rablador changed the base branch from main to upgrade-settings-schema-to-associate-with-multi-hop-ios-689 May 30, 2024 14:38
@mojganii mojganii force-pushed the upgrade-settings-schema-to-associate-with-multi-hop-ios-689 branch 4 times, most recently from b6096b4 to 7a57bb3 Compare June 4, 2024 09:36
Base automatically changed from upgrade-settings-schema-to-associate-with-multi-hop-ios-689 to main June 4, 2024 09:45
@rablador rablador force-pushed the update-view-model-when-switching-between-entry-and-exit-ios-631 branch from 68c4f44 to ac663d8 Compare June 4, 2024 10:57
@rablador rablador force-pushed the update-view-model-when-switching-between-entry-and-exit-ios-631 branch from ac663d8 to e1c123e Compare June 4, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iOS Issues related to iOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants