Skip to content

UI improvements for older iPhones#4652

Merged
bgoncal merged 2 commits into
mainfrom
old-iphone-ui-adjusts
May 20, 2026
Merged

UI improvements for older iPhones#4652
bgoncal merged 2 commits into
mainfrom
old-iphone-ui-adjusts

Conversation

@bgoncal
Copy link
Copy Markdown
Member

@bgoncal bgoncal commented May 20, 2026

Summary

  • Fix welcome view title multi line text
  • Fix bottom safe are on onboarding base view

Screenshots

Link to pull request in Documentation repository

Documentation: home-assistant/companion.home-assistant#

Any other notes

@bgoncal bgoncal self-assigned this May 20, 2026
Copilot AI review requested due to automatic review settings May 20, 2026 11:42
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates onboarding SwiftUI layouts to behave better on smaller/older iPhones, focusing on title wrapping and bottom action spacing.

Changes:

  • Adjusted BaseOnboardingView bottom action area padding to add space on non-Catalyst builds.
  • Allowed the Welcome screen header to grow vertically (wrap) instead of being constrained to a single line height.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
Sources/App/Onboarding/Views/BaseOnboardingView.swift Tweaks bottom action padding inside the bottom safeAreaInset to improve spacing near the bottom edge.
Sources/App/Onboarding/Steps/Welcome/OnboardingWelcomeView.swift Adds fixedSize to the welcome header to support multi-line titles on smaller screens.

Comment thread Sources/App/Onboarding/Views/BaseOnboardingView.swift
Comment thread Sources/App/Onboarding/Steps/Welcome/OnboardingWelcomeView.swift
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@4ee40bd). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4652   +/-   ##
=======================================
  Coverage        ?   43.98%           
=======================================
  Files           ?      280           
  Lines           ?    17021           
  Branches        ?        0           
=======================================
  Hits            ?     7487           
  Misses          ?     9534           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bgoncal bgoncal merged commit 9a88cde into main May 20, 2026
15 checks passed
@bgoncal bgoncal deleted the old-iphone-ui-adjusts branch May 20, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants