mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-22 14:38:09 +00:00
* feat(ios): expand iPad layout support Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * feat: improve iPad and iPhone control surfaces * fix: preserve workboard dispatch compatibility * fix: keep Talk reachable on iPad * fix: add universal iPad app icons * fix: address ready-review iOS feedback * fix: avoid workboard board id shadowing * fix ios sidebar separators --------- Co-authored-by: Solvely-Colin <211764741+Solvely-Colin@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: joshavant <830519+joshavant@users.noreply.github.com>
28 lines
778 B
Swift
28 lines
778 B
Swift
import SwiftUI
|
|
import Testing
|
|
@testable import OpenClaw
|
|
|
|
@MainActor
|
|
@Suite struct CommandCenterTabLayoutTests {
|
|
@Test func splitLayoutDisabledForCompactWidth() {
|
|
#expect(
|
|
!CommandCenterTab.usesSplitSectionsLayout(
|
|
horizontalSizeClass: .compact,
|
|
containerWidth: 1_200))
|
|
}
|
|
|
|
@Test func splitLayoutDisabledBelowWidthThreshold() {
|
|
#expect(
|
|
!CommandCenterTab.usesSplitSectionsLayout(
|
|
horizontalSizeClass: .regular,
|
|
containerWidth: 900))
|
|
}
|
|
|
|
@Test func splitLayoutEnabledForRegularWideLayout() {
|
|
#expect(
|
|
CommandCenterTab.usesSplitSectionsLayout(
|
|
horizontalSizeClass: .regular,
|
|
containerWidth: 1_024))
|
|
}
|
|
}
|