Skip to content

Add main landscape layout#143

Merged
2sem merged 1 commit into
mainfrom
improve/landscape-main-layout
Jul 8, 2026
Merged

Add main landscape layout#143
2sem merged 1 commit into
mainfrom
improve/landscape-main-layout

Conversation

@2sem

@2sem 2sem commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • add an orientation-aware normal-mode layout for landscape screens
  • keep portrait behavior unchanged, including hiding output while text input is focused
  • arrange input and output cards side by side in landscape
  • keep banner anchored at the bottom in landscape, matching the design direction
  • extract shared normal-mode header, cards, banner, actions, and error views for the next landscape slices

User flow

flowchart TD
    A[Open TalkTrans] --> B{Device orientation}
    B -->|Portrait| C[Existing stacked input/output layout]
    B -->|Landscape and input not focused| D[Header + mode selector row]
    D --> E[Input and output side by side]
    E --> F[Actions above bottom banner]
    B -->|Landscape with input focused| C
Loading

Verification

  • Visual review on iPhone 11 Pro Max simulator: /var/folders/6x/l8h411bn30xd7f7ptkpc48mr0000gn/T/opencode/landscape-main-slice1.png
  • mise x -- tuist build
  • mise x -- tuist test
  • git diff --check

Release / rollback

  • Incremental UI-only slice for main normal mode; Table Mode landscape remains untouched.
  • Roll back by reverting this PR if landscape layout causes visual regressions.

Result

Simulator Screenshot - iPhone 11 Pro Max - 2026-07-08 at 22 51 10

@tuist

tuist Bot commented Jul 8, 2026

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Cache hit rate Tests Skipped Ran Commit
talktrans-Workspace 0 % 10 0 10 aa7b51d92

Builds 🔨

Scheme Status Duration Commit
talktrans-Workspace 1m 57s aa7b51d92

@2sem 2sem force-pushed the improve/landscape-main-layout branch 5 times, most recently from 7412124 to 9467504 Compare July 8, 2026 07:32
@2sem 2sem force-pushed the improve/landscape-main-layout branch from 9467504 to 9b1a280 Compare July 8, 2026 13:57
@2sem 2sem merged commit 78e9280 into main Jul 8, 2026
1 check passed
@2sem 2sem deleted the improve/landscape-main-layout branch July 8, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant