mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 12:54:20 +01:00
fix(activity): surface worktree sessions in active work, the sidebar and repo badges
- Resolve sessions in repo worktrees to the owning repo in the activity list; show the worktree branch and open the Workspaces tab - Look up worktrees only for unmatched sessions in the window or under an active root, and hold the loading state until it settles - Show schedule-worktree sessions only while running or needing input - Light repo badges for worktree sessions through one app-wide worktree lookup - List worktree sessions under the expanded repo in the sidebar - Subscribe the event stream to active session directories so worktree permissions and forms arrive - Keep the worktree tab when navigating from the desktop Activity panel - Remove the braille spinner's always-dim bottom row
This commit is contained in:
1 parent
1d31286904
commit
bfbbbf08ef
23 files changed
+932
-81
No files matched your search
+22
-19
@@ -26,6 +26,7 @@ import { ThemeProvider, useThemeMode } from './contexts/ThemeContext'
|
||||
import { AuthProvider } from './contexts/AuthContext'
|
||||
import { KeyboardShortcutsProvider } from './contexts/KeyboardShortcutsContext'
|
||||
import { EventProvider, usePermissions, useEventContext } from '@/contexts/EventContext'
|
||||
import { RepoWorktreesProvider } from '@/contexts/RepoWorktreesContext'
|
||||
import { SwipeNavigationProvider, useSwipeNavigation } from '@/contexts/SwipeNavigationContext'
|
||||
import { PermissionRequestDialog } from './components/session/PermissionRequestDialog'
|
||||
import { SSHHostKeyDialog } from './components/ssh/SSHHostKeyDialog'
|
||||
@@ -208,26 +209,28 @@ function AppShell() {
|
||||
<ThemeProvider>
|
||||
<AuthProvider>
|
||||
<EventProvider>
|
||||
<KeyboardShortcutsProvider>
|
||||
<GlobalShortcuts />
|
||||
<div className="flex h-dvh w-full min-w-0 flex-col">
|
||||
<PwaUpdatePrompt />
|
||||
<div ref={rootRef} className="flex flex-1 min-h-0 w-full min-w-0">
|
||||
<DesktopSidebar />
|
||||
<main className="flex-1 min-w-0 min-h-0 flex flex-col">
|
||||
<Outlet />
|
||||
</main>
|
||||
<RepoWorktreesProvider>
|
||||
<KeyboardShortcutsProvider>
|
||||
<GlobalShortcuts />
|
||||
<div className="flex h-dvh w-full min-w-0 flex-col">
|
||||
<PwaUpdatePrompt />
|
||||
<div ref={rootRef} className="flex flex-1 min-h-0 w-full min-w-0">
|
||||
<DesktopSidebar />
|
||||
<main className="flex-1 min-w-0 min-h-0 flex flex-col">
|
||||
<Outlet />
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<MobileTabBar />
|
||||
<MobileSheetHost />
|
||||
<PermissionDialogWrapper />
|
||||
<SSHHostKeyDialogWrapper />
|
||||
<SettingsDialog />
|
||||
<HealthMonitor />
|
||||
<VersionNotifier />
|
||||
<ThemedToaster />
|
||||
</KeyboardShortcutsProvider>
|
||||
<MobileTabBar />
|
||||
<MobileSheetHost />
|
||||
<PermissionDialogWrapper />
|
||||
<SSHHostKeyDialogWrapper />
|
||||
<SettingsDialog />
|
||||
<HealthMonitor />
|
||||
<VersionNotifier />
|
||||
<ThemedToaster />
|
||||
</KeyboardShortcutsProvider>
|
||||
</RepoWorktreesProvider>
|
||||
</EventProvider>
|
||||
</AuthProvider>
|
||||
</ThemeProvider>
|
||||
|
||||
Reference in new issue
Block a user