Skip to content

Commit da5899a

Browse files
committed
Merge branch 'shuvcode-dev' into integration
Remove OpenCode Mark logo, fix duplicate header, add PWA StatusBar hiding Closes anomalyco#243
2 parents 0a7a00e + 7f10655 commit da5899a

10 files changed

Lines changed: 791 additions & 269 deletions

File tree

‎CONTEXT/PLAN-240-238-234-tui-web-bugfixes-2026-01-01.md‎

Lines changed: 489 additions & 0 deletions
Large diffs are not rendered by default.

‎packages/app/src/context/platform.tsx‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
import { createSimpleContext } from "@opencode-ai/ui/context"
22
import { AsyncStorage, SyncStorage } from "@solid-primitives/storage"
33

4+
/** Check if running as installed PWA (standalone mode) */
5+
export function isPWA(): boolean {
6+
if (typeof window === "undefined") return false
7+
return (
8+
window.matchMedia("(display-mode: standalone)").matches ||
9+
// @ts-ignore - iOS Safari specific
10+
window.navigator.standalone === true
11+
)
12+
}
13+
414
export type Platform = {
515
/** Platform discriminator */
616
platform: "web" | "tauri"

‎packages/app/src/pages/layout.tsx‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { Tooltip, TooltipKeybind } from "@opencode-ai/ui/tooltip"
1717
import { Collapsible } from "@opencode-ai/ui/collapsible"
1818
import { DiffChanges } from "@opencode-ai/ui/diff-changes"
1919
import { Spinner } from "@opencode-ai/ui/spinner"
20-
import { Mark } from "@opencode-ai/ui/logo"
20+
2121
import { getFilename } from "@opencode-ai/util/path"
2222
import { DropdownMenu } from "@opencode-ai/ui/dropdown-menu"
2323
import { Session } from "@opencode-ai/sdk/v2/client"
@@ -920,11 +920,6 @@ export default function Layout(props: ParentProps) {
920920
return (
921921
<>
922922
<div class="flex flex-col items-start self-stretch gap-4 p-2 min-h-0 overflow-hidden">
923-
<Show when={!sidebarProps.mobile}>
924-
<A href="/" class="shrink-0 h-8 flex items-center justify-start px-2" data-tauri-drag-region>
925-
<Mark class="shrink-0" />
926-
</A>
927-
</Show>
928923
<Show when={!sidebarProps.mobile}>
929924
<TooltipKeybind
930925
class="shrink-0"

0 commit comments

Comments
 (0)