Commit Graph
3741 Commits
Author SHA1 Message Date
Brennan BensonandOrca 167257a99b Simplify sidebar worktree card modes (#5470)
Co-authored-by: Orca <help@stably.ai>
2026-06-17 14:07:36 -07:00
Brennan BensonandOrca 874988ddff Let hosted review links open in the system browser (#5564)
Co-authored-by: Orca <help@stably.ai>
2026-06-17 14:04:25 -07:00
Jinwoo HongandOrca 18d3545bae fix: prevent remote port scanner rescan loops (#5632)
Co-authored-by: Orca <help@stably.ai>
2026-06-17 13:58:24 -07:00
Brennan BensonandOrca 9e3b3ca028 Hide pending workspace rename badges (#5625)
Co-authored-by: Orca <help@stably.ai>
2026-06-17 13:32:46 -07:00
Jinjing f230c2d33d Bound concurrent repo scans and trace renderer breadcrumbs (#5608)
- Limit worktree refresh concurrency to 5 parallel workers to prevent launching too many concurrent git scans during startup and activation.
- Record renderer breadcrumbs as tracer spans to provide durable pre-crash context for native main-process crashes.
- Log a breadcrumb when activating a worktree from the sidebar.
2026-06-17 13:29:39 -07:00
Jinwoo HongandOrca 03c18c4373 Diagnose Claude usage refresh auth failures (#5614)
Co-authored-by: Orca <help@stably.ai>
2026-06-17 13:05:32 -07:00
Brennan BensonandOrca 172962bcde Fix persisted UI no-op sync loop (#5623)
Co-authored-by: Orca <help@stably.ai>
2026-06-17 13:02:47 -07:00
Jinwoo HongandOrca 9b96fd3b63 Suppress stale agent completion replay after new work (#5620)
Co-authored-by: Orca <help@stably.ai>
2026-06-17 12:46:46 -07:00
Jinjing a448956fe8 Use outline destructive style for delete worktree button (#5622)
Change the button variant from solid destructive to outline destructive
in MergedReviewActions. This matches the styling of the sibling Reopen
control, signaling danger without having a solid red fill dominate the
PR summary panel.
2026-06-17 12:39:39 -07:00
Jinjing d2a1b88e95 Defer smart workspace source popover until user interaction (#5613)
Prevent the source selection popover from opening automatically during
dialog autofocus or other programmatic focus calls upon dialog mount.

Instead, defer opening the popover until the user actively interacts
with the name input (clicks or typing) or moves focus to it from another
control within the workspace composer.
2026-06-17 12:11:37 -07:00
Brennan BensonandOrca 2916f68dc9 Keep new projects as Git repositories (#5612)
Co-authored-by: Orca <help@stably.ai>
2026-06-17 12:06:41 -07:00
99b5de6e3d Add Ante as a supported CLI agent (#5193)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Orca <help@stably.ai>
Co-authored-by: brennanb2025 <brennankbenson@gmail.com>
2026-06-17 11:12:45 -07:00
Brennan BensonandOrca 5429e659d4 Show PDF export only in Markdown controls (#5548)
Co-authored-by: Orca <help@stably.ai>
2026-06-17 10:51:41 -07:00
Brennan BensonandOrca 0b3cfa7b46 Keep terminal text painted after app resume (#5565)
Co-authored-by: Orca <help@stably.ai>
2026-06-17 10:49:41 -07:00
Jinjing b0979e7707 Increase horizontal padding for "No checks configured" state (#5604)
Update the padding from px-3 to px-4 to align the empty state message with other list elements.
2026-06-17 10:23:07 -07:00
KMGeon f4f6fb6b4d fix: restore File Explorer tree scrolling (#5578) 2026-06-17 08:53:22 -07:00
JinjingandOrca 3aa553892f Streamline Create PR UX and format git pull policy errors (#5576)
* Show disabled Create PR button in header when branch is not ready

Ensure the source control toolbar does not look blank or shift
unexpectedly when the branch has no changes or cannot yet create
a pull request.

- Add helper to resolve disabled Create PR header actions with contextual
  titles (e.g. commit in progress, no changes, unsynced commits)
- Keep the header button visible as a disabled anchor instead of hiding it
- Prevent the Create PR button from stretching across the toolbar when
  visible without a hosted review

* Refactor Create PR flow with inline-composer toggle and direct-create pa

Co-authored-by: Orca <help@stably.ai>

* Streamline Create PR UX and format git pull policy errors

Simplify the source control review-creation flow by removing the
collapsible composer state and corresponding toolbar buttons, always
rendering the PR composer directly when available.

Additionally, add a specialized notice component for divergent branch
errors that parses git pull policy issues and provides quick-copy
buttons for configuring merge, rebase, or fast-forward behaviors.

* Add loading state to Create PR and tooltip to disabled AI button

- Display a disabled loading state for the Create PR action while review eligibility is fetching to avoid layout flashing.
- Use aria-disabled and Tooltip for the AI commit message generator button to ensure tooltips are viewable when disabled.

---------

Co-authored-by: Orca <help@stably.ai>
2026-06-17 01:03:43 -07:00
Jinjing b1563c8dae Force file content reload when opening paths from terminal links (#5575)
Introduce a `fileContentReloadNonce` on open files and a new
`forceContentReload` option for `openFile`. When terminal links or file-open
actions re-open an existing clean tab, increment the nonce to trigger a
refetch of the file content. This provides a manual recovery path for when
remote file watchers miss external writes.
2026-06-17 01:03:28 -07:00
Neil 38e289602d Fix workspace sidebar grouping toggle (#5573) 2026-06-17 00:51:07 -07:00
Jinwoo HongandOrca 89acb8d47c Fix duplicate agent completion notifications after worktree switch (#5572)
Co-authored-by: Orca <help@stably.ai>
2026-06-16 23:47:28 -07:00
Brennan BensonandOrca 00df8288dc Simplify support diagnostics settings (#5554)
Co-authored-by: Orca <help@stably.ai>
2026-06-16 23:11:27 -07:00
Brennan Benson 928c1ee106 Show restored agent sessions in pane chrome (#5568) 2026-06-16 23:09:43 -07:00
Jinwoo Hong 98120417f2 Fix browser history shortcuts for Logitech side-button remaps (#5569) 2026-06-16 22:57:39 -07:00
Jinwoo HongandOrca 5dffcd1562 Fix terminal capability query replies (#5555)
Co-authored-by: Orca <help@stably.ai>
2026-06-16 20:54:17 -07:00
Jinjing 5903b4a742 fix: address pull reconciliation policy errors (#5562) 2026-06-16 20:13:46 -07:00
Jinjing dda576b8c1 No delete toast when deleting file (#5560)
* Add temporary screenshot

* fix: address review findings
2026-06-16 19:50:32 -07:00
Neil e14a1921ee Fix sidebar footer button icon sizing (#5559) 2026-06-16 19:28:11 -07:00
Jinjing 1041eadeb2 Use outline variant for merge abort buttons (#5558)
Restore the quieter abort-merge styling that was accidentally reverted
during the host-context merge repair in #5071. Abort merge and abort
rebase now match the Review conflicts outline button treatment.
2026-06-16 19:10:18 -07:00
JinjingandOrca 8dd5256308 Refactor Source Control header toolbar (#5553)
* Refactor SourceControl header into extracted, testable subcomponents

Co-authored-by: Orca <help@stably.ai>

* Extract branch context stats into dedicated module with upstream status

Co-authored-by: Orca <help@stably.ai>

* Refine source control header layout and add branch comparison i18n

* Right-align branch status stats in the context row and left-align the base ref button to optimize space usage.
* Make the expanded filter input occupy the full toolbar width, hiding PR links and overflow menus when active, to prevent squeezed input.
* Add translation keys and localizations for commits "behind" and "even with" the base branch.

---------

Co-authored-by: Orca <help@stably.ai>
2026-06-16 18:56:52 -07:00
Neil 896a2ae4de Show workspace board preview while dragging cards 2026-06-16 18:49:24 -07:00
JinjingandOrca 3f7e869f0c Keep Create PR intent pinned to original worktree (#5552)
* Make Create PR intent resilient to worktree switching

Co-authored-by: Orca <help@stably.ai>

* Restrict PR creation sidebar actions to foreground worktrees

- Prevent switching tabs and opening the PR URL when a background
  worktree's PR creation finishes.
- Extract commit eligibility checking into a dedicated module and
  disable the commit message textarea during operations or when
  ineligible.
- Fix flakiness in the remote runtime request connection test.

* Abort Create PR if branch changes during details generation

If the branch changes within the active worktree while review details
are being generated, the Create PR flow now aborts and shows a muted
notice prompting the user to retry.

- Allows worktree navigation during PR details generation without
  treating it as an intent conflict.
- Adds localized strings for the new retry notice.
- Uses platform-independent paths in tests for cross-platform support.

---------

Co-authored-by: Orca <help@stably.ai>
2026-06-16 18:45:24 -07:00
Jinjing b6f45d0c27 Fix scrolling and layout in base ref picker dialog (#5556)
Prevent Radix Dialog's scroll lock from canceling mouse wheel events
inside the search results list by manually handling wheel events. Also,
add flex and max-height constraints to the dialog layout to support
clean scrolling behavior.
2026-06-16 18:40:03 -07:00
JinjingandOrca 770fe56ba9 Improve mobile emulator intro callout styling (#5551)
* Redesign mobile emulator callout arrow with CSS triangle and improve dar

Co-authored-by: Orca <help@stably.ai>

* Improve styling and theme adaptability of emulator intro callout

Use theme variables (--border and --foreground) instead of hardcoded
black and white opacities to ensure borders adapt properly to different
color themes.

Additionally:
- Align the horizontal position of the callout arrow pseudo-elements.
- Update JSX classes to use token-based rounding and borders.

---------

Co-authored-by: Orca <help@stably.ai>
2026-06-16 18:32:46 -07:00
Brennan BensonandOrca fa557a0cd9 Make the GitHub star prompt clearer (#5538)
Co-authored-by: Orca <help@stably.ai>
2026-06-16 18:12:55 -07:00
Jinjing 692e0b0ab9 Push existing fork review branches without republishing (#5531)
* Enable pushing to configured push targets for existing fork reviews

* Resolve push targets using branch.pushRemote, remote.pushDefault,
  and URL-valued remotes normalized to matching named remotes.
* Support this push target resolution on both local and relay/SSH
  git handlers to prevent drift in SSH worktrees.
* Offer "Push" instead of "Publish Branch" in the Source Control UI
  when a linked review exists and a valid push target is available.
* Prevent pushing a feature branch's base branch (e.g. main) directly
  to a fork via remote.pushDefault.

* Keep fork push target when contributor branch matches base branch name

Ensure that a fork push target is not incorrectly discarded when its
branch name matches the base branch name on another remote (for example,
targeting fork/main while the base is origin/main).

Previously, the matching logic only compared the branch leaf name, which
treated different remotes as identical and disabled the push target. We
now qualify the ref comparison with the remote name to differentiate them.
2026-06-16 18:10:01 -07:00
Jinjing 72ec39bcc0 fix: preserve focused notification suppression default (#5550) 2026-06-16 18:05:39 -07:00
Brennan BensonandOrca 9885ff9760 Add crash report diagnostic log upload (#2580)
Co-authored-by: Orca <help@stably.ai>
2026-06-16 18:05:15 -07:00
Brennan BensonandOrca 7077736602 Create folder workspaces from project groups (#5474)
Co-authored-by: Orca <help@stably.ai>
2026-06-16 18:04:50 -07:00
Jinjing 62fbb51eb2 Refine terminal close confirmation (#5541)
* Refine terminal close confirmation

* Translate terminal close dialog strings
2026-06-16 17:42:48 -07:00
Jinjing 8da3f864b3 Update Android APK links to 0.0.14
Point Android APK links at the published mobile-android-v0.0.14 release.
2026-06-16 17:36:43 -07:00
Jinjing 58609c565e Keep usage provider status bar items visible using durable settings (#5546)
Instead of relying solely on transient live usage snapshots to determine
status bar visibility, incorporate durable settings configuration (e.g.,
managed accounts, OAuth enablement, or session cookies).

This keeps provider items in a pending/fetching state during initial
hydration or transient failures, preventing UI flickering and ensuring
the setup CTA does not prematurely display before settings load.
2026-06-16 17:35:28 -07:00
Jinwoo HongandOrca c334f2cc6f fix: align issue hover action order (#5545)
Co-authored-by: Orca <help@stably.ai>
2026-06-16 17:24:47 -07:00
Jinwoo HongandOrca 3091b286ec fix(composer): honor pinned worktree base (#5542)
Co-authored-by: Orca <help@stably.ai>
2026-06-16 16:51:48 -07:00
Jinjing c548e85f57 Persist and repair target base branch for PR and MR worktrees (#5540)
* Resolve and fetch the review target branch (compareBaseRef) during PR and MR worktree creation.
* Persist this ref on worktree metadata instead of pinning the head SHA.
* Dynamically repair existing worktrees with stale commit SHA compare bases in the Source Control UI using linked review metadata.
2026-06-16 15:51:55 -07:00
gsxdsm f9e3c3945e fix(web): keep hover-reveal action icons visible on touch devices
Fix hover-reveal action icons so touch/no-hover environments keep controls visible while hover-capable desktop behavior remains unchanged.\n\nAlso covers touch-safe swap cases where passive timestamp/sparkline content shares a slot with newly visible actions.
2026-06-16 15:46:06 -07:00
slashdevcorpse 140151d5cd Recognize shell-rooted Windows agent foregrounds (#5503)
Recognize shell-rooted Windows agent foregrounds.
2026-06-16 15:40:08 -07:00
Neil 2e93b6002e Update usage tracking CTA copy (#5539) 2026-06-16 15:38:45 -07:00
Jinjing a300e2c7b4 Add Source Control Create PR flow (#5436)
* Add Source Control Create PR intent flow

Implements the Source Control Create PR flow described in docs/source-control-create-pr-flow.md.

* Keep Commit visible beside Create PR

* Fix Create PR partial staging action band

* Integrate hosted review creation into Create PR intent flow

- Automatically create the pull or merge request on GitHub/GitLab after
  successfully staging, committing, and pushing in the intent flow.
- Introduce a unified `updateCommitDrafts` helper to keep React state and
  its ref synchronized, preventing draft-overwrite race conditions.
- Split primary action tests into focused files to satisfy the ESLint
  `max-lines` rule.
- Replace hardcoded "Local Mac" strings with dynamic host labels.

* Support Azure DevOps and Gitea PR creation and limit large diffs

Implement automated pull request creation for Azure DevOps and Gitea
repositories. This includes REST API integration, credential checks via
environment variables, template support, and error classification.

Additionally, introduce limits on large diff payloads in git status
extraction to prevent renderer-freezing performance bottlenecks when
loading extremely large files.

* Skip source control refetches when PR creation intent is in flight

Avoid recomputing branch eligibility while isCreatePrIntentInFlight is true.
This prevents tearing down the PR composer or rotating dropdown hints
prematurely if ahead/behind or dirty states are temporarily perturbed
temporarily perturbed mid-flow.

* Expose manual prerequisite actions next to Create PR button

Previously, the Create PR intent only supported "Stage All" as a
sibling action. This expands prerequisite resolution to handle other
intermediate steps such as committing, publishing, and pushing
(including force pushing).

This ensures the edit-commit-push-review loop remains streamlined
directly within the CommitArea by displaying the specific required
next action beside the primary Create PR button.

* Move PR creation actions from CommitArea to sidebar header

- Decouples PR creation and PR intent actions from the local commit area
  primary button, ensuring local/remote git actions remain primary.
- Renders a dedicated PR creation button in the source control header
  beside the hosted review status.
- Simplifies CommitArea by removing prerequisite split-button rendering
  and review composer logic.

* Delete source control create PR flow design document

Remove the design document for the source control create PR flow as the feature has been successfully implemented.

* Display PR creation errors in inline notice

Unify PR/review creation error reporting by replacing the duplicate
createPrErrors state with the shared createPrIntentNotice. Validation
and API errors are now shown directly within the visible inline alert
notice to improve layout consistency and visibility.

Also refactor the execution host platform label lookup to use simple
if statements instead of a switch block.

* Improve Create PR intent flow safety and provider awareness

- Integrate the hosted review composer directly into the Source Control
  panel when a direct review creation action is available.
- Abort the in-flight PR creation intent flow early if the current git
  branch changes to prevent staging or committing on the wrong target.
- Keep in-flight action labels provider-aware (e.g., "Create MR" on GitLab)
  by passing hosted review inputs to the action resolver.
- Omit large diff text payloads from git status responses when line counts
  exceed safe rendering limits to avoid UI performance degradation.
- Ensure field generation does not retarget the base branch of a PR/MR without
  explicit user confirmation.

* Preserve PR and MR templates in AI pull request generation

- Preload templates (including GitLab merge requests) into the AI
  context before generation to prevent bypassing provider-side fallbacks.
- Instruct the AI generator to fill out and preserve existing template
  headings, required sections, and checklists instead of deleting them.
- Pass provider and template settings from the renderer to the backend
  RPC and runtime handlers.

* Mock DropdownMenuShortcut in tab-title-tooltip test

Add a mock for the DropdownMenuShortcut component in the dropdown menu
mock to prevent test failures.
2026-06-16 15:36:27 -07:00
JinjingandOrca ca05dbf652 Fix PR check full-details worktree routing (#5529)
* Fix view full details button to use correct worktree and sticky header

- Pin a sticky bar with check name and "View full logs" button inside expanded check details so the affordance stays visible while scrolling through annotations and job output
- Accept an explicit `worktreeId` prop so folder-workspace PR checks use the child worktree ID rather than the (non-existent) active worktree
- Show "View full logs" when log tail is available, "View full details" otherwise

Co-authored-by: Orca <help@stably.ai>

* fix: address review findings

* fix: address CI failures

---------

Co-authored-by: Orca <help@stably.ai>
2026-06-16 15:31:10 -07:00
OrcaWinandNeil 7e1c4ee929 Follow up Windows terminal onboarding polish (#5530)
Co-authored-by: Neil <neil@stably.ai>
2026-06-16 14:59:35 -07:00