Skip to content

fix(thundermail): redirecting to thundermail screen shown when oAuth is cancelled#11045

Open
rafaeltonholo wants to merge 4 commits into
thunderbird:mainfrom
rafaeltonholo:fix/thundermail-redirect-page-issues
Open

fix(thundermail): redirecting to thundermail screen shown when oAuth is cancelled#11045
rafaeltonholo wants to merge 4 commits into
thunderbird:mainfrom
rafaeltonholo:fix/thundermail-redirect-page-issues

Conversation

@rafaeltonholo
Copy link
Copy Markdown
Member

Fix #11043.

  • Add preview with multiple error states (BrowserNotAvailable, Cancelled, Unknown)
  • Extract ThundermailOAuthRedirectScreen composable for preview support
  • Improve layout with consistent horizontal padding
  • Extract RedirectingUserContent into a separate composable
  • Add BrowserNotAvailable error state to AccountOAuthContract and ThundermailContract
  • Catch ActivityNotFoundException when launching OAuth custom tabs
  • Map OAuth error states to Thundermail error states in ThundermailOAuthViewModel
  • Display a user-friendly error message when the browser is unavailable

…rate file

- Add error handling UI with back navigation support
- Display error messages for canceled and unknown errors
- Show loading state during OAuth redirect
@rafaeltonholo rafaeltonholo requested a review from a team as a code owner May 26, 2026 12:16
@rafaeltonholo rafaeltonholo requested a review from jbott-tbird May 26, 2026 12:17
@rafaeltonholo rafaeltonholo added the report: exclude Exclude changes from user-facing reports (internal, minor, or not relevant to users). label May 26, 2026
@github-actions github-actions Bot added the tb-team Tasks and features handled by project maintainers label May 26, 2026
@rafaeltonholo rafaeltonholo requested review from wmontwe and removed request for jbott-tbird May 26, 2026 17:01
@rafaeltonholo rafaeltonholo assigned wmontwe and unassigned jbott-tbird May 26, 2026
- Add BrowserNotAvailable error state to AccountOAuthContract and ThundermailContract
- Catch ActivityNotFoundException when launching OAuth custom tabs
- Map OAuth error states to Thundermail error states in ThundermailOAuthViewModel
- Display user-friendly error message when browser is unavailable
- Add @stable and @immutable annotations to Thundermail contract classes
- Add preview with multiple error states (BrowserNotAvailable, Canceled, Unknown)
- Extract ThundermailOAuthRedirectScreen composable for preview support
- Improve layout with consistent horizontal padding
- Extract RedirectingUserContent into separate composable
- Move ViewModel parameter to end following Compose guidelines
- Extract hardcoded error strings to string resources for localization
@rafaeltonholo rafaeltonholo force-pushed the fix/thundermail-redirect-page-issues branch from 298cf13 to 3390f88 Compare May 26, 2026 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

report: exclude Exclude changes from user-facing reports (internal, minor, or not relevant to users). tb-team Tasks and features handled by project maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Thundermail Integration - Phase 1 - BUG - "Redirecting to Thundermail" screen shown after using canceling OAuth

3 participants