deploy: exclude codex scratch artifacts

This commit is contained in:
archipelago
2026-06-11 01:46:38 -04:00
parent c79afa9541
commit 8f2e03df2a
5 changed files with 63 additions and 11 deletions
@@ -140,6 +140,8 @@ const appLauncher = useAppLauncherStore()
const uiMode = useUIModeStore()
const mobileTabBar = ref<HTMLElement | null>(null)
const MOBILE_LAYOUT_MAX_WIDTH = 920
const viewportWidth = ref(typeof window === 'undefined' ? 1024 : window.innerWidth)
// App sessions own their mobile controls. Normal mobile launches use the route
// session; keeping this guard also protects any desktop-panel state on resize.
@@ -148,14 +150,14 @@ const isAppSessionActive = computed(() => route.name === 'app-session')
// Show persistent tabs for Apps/Marketplace on mobile
const showAppsTabs = computed(() => {
if (typeof window === 'undefined') return false
if (window.innerWidth >= 768) return false
if (viewportWidth.value > MOBILE_LAYOUT_MAX_WIDTH) return false
return route.path.includes('/apps') || route.path.includes('/marketplace') || route.path.includes('/discover')
})
// Show persistent tabs for Network/Cloud on mobile
const showNetworkTabs = computed(() => {
if (typeof window === 'undefined') return false
if (window.innerWidth >= 768) return false
if (viewportWidth.value > MOBILE_LAYOUT_MAX_WIDTH) return false
if (route.name === 'cloud-folder') return false
return route.path.includes('/server') || route.path.includes('/cloud') || route.path.includes('/web5') || route.path.includes('/mesh')
})
@@ -171,7 +173,7 @@ function readSafeAreaTop() {
}
const mobileTabPaddingTop = computed(() => {
if (typeof window === 'undefined' || window.innerWidth >= 768) return 0
if (typeof window === 'undefined' || viewportWidth.value > MOBILE_LAYOUT_MAX_WIDTH) return 0
const sat = safeAreaTop.value
if (showAppsTabs.value && showNetworkTabs.value) return 160 + sat
if (showAppsTabs.value || showNetworkTabs.value) return 80 + sat
@@ -193,6 +195,7 @@ function updateTabBarHeight() {
}
function onResize() {
viewportWidth.value = window.innerWidth
updateTabBarHeight()
}