Commit Graph
41 Commits
Author SHA1 Message Date
Chris Scott 2ba959ac0b Add app loader and skeleton states 2026-01-15 19:03:25 -05:00
Chris Scott 99cc7c5c43 Optimize repo list spacing and layout adjustments 2026-01-15 18:02:52 -05:00
Chris Scott f0d97f8d6e Fix issue #42: Support absolute paths when adding local repos (#52)
Add ability to import existing git repositories from absolute paths by copying them to the workspace.

Backend changes:
- Add helper functions: isValidGitRepo(), checkRepoNameAvailable(), copyRepoToWorkspace()
- Add checkoutBranchSafely() helper for consistent branch handling across codebase
- Modify initLocalRepo() to detect absolute vs relative paths
- For absolute paths: validate, check if git repo, copy to workspace using git clone --local
- For relative paths: maintain existing behavior (create new empty git repo)
- Refactor switchBranch() to use shared checkoutBranchSafely() helper
- Fail with clear error message if repo name already exists in workspace

Frontend changes:
- Update UI placeholder and help text to explain absolute path support
- Branch help text adapts based on input type (absolute vs relative)
2026-01-13 10:15:07 -05:00
Chris Scott 8695f7c745 add drag and drop repo reordering functionality 2026-01-10 19:40:42 -05:00
Chris Scott 3af1cfbaac fix repo mcp dialog desktop fullscreen layout 2026-01-04 18:12:59 -05:00
Justin CarlsonandChris Scott cd9a552bf8 fix: centralize iOS safe area and refactor list components (#47)
* fix: add iOS safe-area-inset-top support for fullscreen overlays

- Add pt-safe CSS utility class for safe-area-inset-top
- Create FullscreenSheet component with built-in safe-area support
- Add fullscreen prop to DialogContent for fullscreen dialogs
- Update FileBrowserSheet to use FullscreenSheet
- Update MobileFilePreviewModal to use FullscreenSheet
- Add pt-safe to SettingsDialog mobile view

Fixes status bar overlap on iOS devices with notch/Dynamic Island

* fix: add pt-safe to main page headers

- Header.tsx (main repos page)
- SessionDetailHeader.tsx (session page)

* docs: add TDD refactoring plan for iOS safe area

* remove plan file from repo

* refactor: centralize iOS safe area handling with PageHeader component

- Add PageHeader component with pt-safe, sticky, z-10, border-b styling
- Add TDD test infrastructure (vitest config, testing-library, jsdom)
- Refactor Header, SessionDetailHeader, RepoDetailHeader, Workspace to use PageHeader
- Fix missing pt-safe on RepoDetailHeader and Workspace pages
- All header safe area styling now has single fix point

* fix: add pt-safe to remaining fullscreen dialogs and sheets

- GitChangesSheet, FilePreviewDialog: add fullscreen prop
- ModelSelectDialog, RepoMcpDialog: add pt-safe class
- EditSessionTitleDialog: add pt-safe on mobile

* fix: use mobile-first positioning for large dialogs

Dialogs need top-0 positioning on mobile for pt-safe to work.
Centered dialogs don't benefit from safe area padding.

* fix: add mobileFullscreen prop to DialogContent

- Fullscreen on mobile with pt-safe, centered on desktop
- Simplifies large dialog styling

* fix: use inline styles for iOS safe area to fix CSS cascade issues

- Convert pt-safe/pb-safe to @utility directives with iOS 11 fallback
- Use inline styles on DialogContent for reliable safe-area padding
- Position close button with calc(env(safe-area-inset-top) + 1rem)
- Add 10 tests for DialogContent safe-area behavior

* refactor: extract ListToolbar and Header components for reuse

- Add ListToolbar component for search/select all/delete UI
- Add Header compound component (Header.Root, Header.Title, etc.)
- Update SessionList and RepoList to use ListToolbar
- Mobile delete: deletes selected or all if none selected
- Cancel delete now clears selection
- Remove unused layout components

---------

Co-authored-by: Chris Scott <99081550+chriswritescode-dev@users.noreply.github.com>
2026-01-04 14:05:59 -05:00
Chris Scott a736e98880 Add multiple git credentials support with migration 2025-12-31 10:47:55 -05:00
Chris Scott cc04cb073c Add MCP server search functionality to repo dialog 2025-12-28 21:32:15 -05:00
Chris Scott 120d087910 Add support for GitHub shorthand repo URLs 2025-12-27 19:27:37 -05:00
Chris Scott ee99bb65fc Reorder branch switcher dropdown: view changes and add branch at top, scrollable branch list below 2025-12-27 18:19:57 -05:00
Chris Scott ae338bb576 Make branch switcher dropdown scrollable on mobile 2025-12-26 16:37:21 -05:00
Chris Scott f6847ba5ba Use MoreVertical icon in dropdown menus to match RepoDetailHeader 2025-12-26 13:52:17 -05:00
Chris Scott 6ce3548dfe refactor RepoCard component layout and interaction
Simplify card layout with consistent button styling, proper event handling for card clicks, and improved visual feedback with hover states. Consolidate branch and status indicators in a cleaner layout structure.
2025-12-25 13:11:49 -05:00
Chris Scott 3fd62b77a1 Add RepoMcpDialog component for MCP server management 2025-12-25 10:38:51 -05:00
Chris Scott 45119436ae Adjust repo list container height calculations 2025-12-21 21:32:09 -05:00
OpenCode Agent c884656d8a Fix button styling and repo list layout 2025-12-22 02:21:51 +00:00
Chris Scott 277b5456a3 Improve branch switcher caching and repo list mobile layout 2025-12-21 20:30:53 -05:00
Chris Scott 75430230c1 Use API as source of truth for branch switcher current branch 2025-12-21 14:26:46 -05:00
Chris Scott 17a9556c2a Add message editing state management and UI improvements 2025-12-21 13:18:39 -05:00
Chris Scott dc8aeaa26c Show branch switcher for worktrees with view changes option 2025-12-14 19:26:26 -05:00
Chris Scott 99ed632355 Add branch creation endpoint and improve git auth fallback handling 2025-12-14 19:11:27 -05:00
Chris Scott 2c38f7f169 Fix branch switching UI updates and simplify model display
- Use setQueryData for immediate branch switch UI updates
- Replace model selector with SessionStatusIndicator during active streams
- Remove async model name fetching in favor of existing modelString
2025-12-14 18:33:43 -05:00
Chris Scott 2626fd3ccb Fix repo card button layout and mobile branch switcher 2025-12-13 00:45:39 -05:00
Chris Scott af9f645f30 Add ZIP download feature for repositories
- Add archive service to create ZIP files excluding gitignored files
- Add download endpoint to backend repo routes
- Add download button to repo cards with loading state
- Update README with new ZIP download feature
2025-12-12 20:48:38 -05:00
Chris Scott 725f782079 Add iconOnly prop to BranchSwitcher for compact display 2025-12-12 20:31:53 -05:00
Chris Scott 93a69fcaab Improve UI: show branch name on all screen sizes and increase back button padding 2025-12-12 19:35:59 -05:00
Chris Scott e4a27e53e5 Improve branch switcher layout consistency across components 2025-12-12 19:08:34 -05:00
Chris Scott c7d01b1c6e Add loading state to branch switcher during branch switch 2025-12-05 16:11:18 -08:00
Chris Scott 23ec317c5c Fix branch switcher width and add text truncation 2025-12-05 07:56:12 -08:00
Chris Scott daf5754cc1 Replace branch button with dropdown in RepoCard 2025-12-05 07:35:35 -08:00
Chris Scott 8acd0da5cb Add branch refetch on dropdown open and window focus 2025-12-01 15:53:34 -08:00
Chris Scott 8c0689eac8 Update UI components and refactor message display 2025-11-29 20:23:45 -05:00
Chris Scott 28fddb638d Make repo name click toggle checkbox instead of navigation 2025-11-29 18:00:10 -05:00
Chris Scott 977507fa82 Add shadcn checkbox component and update repo/session cards 2025-11-29 17:56:33 -05:00
Chris Scott 283348b64f fix mobile styles 2025-11-28 17:42:58 -05:00
Chris Scott 83834e7ed7 Add local repository support and permission request handling 2025-11-28 10:26:03 -05:00
Chris Scott dcf2dd68e7 Add file preview dialog and line navigation in git diff viewer 2025-11-27 10:52:05 -05:00
Chris Scott ed82b99236 Add git changes viewer with diff display
- Add backend git-operations service for git status and file diffs
- Add git/status and git/diff API routes to repos
- Add GitChangesPanel component to list changed files with status
- Add FileDiffView component with unified diff rendering
- Add GitChangesSheet as full-screen dialog wrapper
- Integrate View Changes option into BranchSwitcher dropdown
- Support both mobile (stacked) and desktop (split) layouts
2025-11-27 10:10:49 -05:00
Chris Scott 7e1b449e27 Improved mobile view 2025-11-25 16:46:54 -05:00
Chris Scott eb0c161ecb reduce clutter on repo card 2025-11-25 16:46:09 -05:00
Chris Scott bbf66c259b Initial release v0.2.5 2025-11-23 23:25:27 -05:00