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

Fix expired account UI showing blocked state instead of out of time view #5403

Merged

Conversation

rablador
Copy link
Contributor

@rablador rablador commented Nov 7, 2023

When an account expires the app sometimes go into blocked state (with banner) instead of routing to the "out of time" view. This typically happens when the tunnel is connected, but not when eg. entering app without time left on the account.


This change is Reviewable

Copy link

linear bot commented Nov 7, 2023

IOS-374 Expired account should always show "out of time" view

When an account expires the app sometimes go into blocked state (with banner) instead of routing to the "out of time" view. This typically happens when the tunnel is connected, but not when eg. entering app without time left on the account.

@rablador rablador added iOS Issues related to iOS bug labels Nov 7, 2023
Copy link
Contributor Author

@rablador rablador left a comment

Choose a reason for hiding this comment

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

Not really sure about this implementation. Please approach it as such and provide feedback for other options (if any).
Untitled.mov

Reviewable status: 0 of 3 files reviewed, all discussions resolved

@rablador rablador marked this pull request as ready for review November 7, 2023 14:57
Copy link
Contributor

@buggmagnet buggmagnet left a comment

Choose a reason for hiding this comment

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

The fix looks good but why is it showing the "network issues" banner ?
That's probably another unrelated issue to that though.

Reviewed all commit messages.
Reviewable status: 0 of 3 files reviewed, all discussions resolved

Copy link
Contributor Author

@rablador rablador left a comment

Choose a reason for hiding this comment

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

When you disconnect from blocked state you'll end up in .waitingForConnection for a short while. That's why the banner shows up. Unrelated, but perhaps of import.

Reviewable status: 0 of 3 files reviewed, all discussions resolved

Copy link
Contributor

@buggmagnet buggmagnet left a comment

Choose a reason for hiding this comment

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

Ok, I created a Linear issue to keep track of that. Good job !

Reviewable status: 0 of 3 files reviewed, all discussions resolved

@buggmagnet buggmagnet force-pushed the expired-account-should-always-show-out-of-time-view-ios-374 branch from 9d4b688 to 015f7bf Compare November 9, 2023 09:23
@buggmagnet buggmagnet merged commit af72aa8 into main Nov 9, 2023
@buggmagnet buggmagnet deleted the expired-account-should-always-show-out-of-time-view-ios-374 branch November 9, 2023 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug iOS Issues related to iOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants