Skip to content

Fix desktop sign-in and production build issues#590

Merged
mehmetozguldev merged 16 commits intomasterfrom
fix/desktop-sign-in-and-ux
Apr 7, 2026
Merged

Fix desktop sign-in and production build issues#590
mehmetozguldev merged 16 commits intomasterfrom
fix/desktop-sign-in-and-ux

Conversation

@mehmetozguldev
Copy link
Copy Markdown
Member

@mehmetozguldev mehmetozguldev commented Apr 7, 2026

Fixes #578

Resolved desktop sign-in by removing the IP check between Tauri and browser on session validation. Terminal tabs now stay alive when switching between them. Added gh CLI binary resolution for bundled apps. Cleaned up the browser toolbar, fixed favicon CSP and added real page title polling from webviews. Merged agent instruction files into AGENTS.md.

  • Remove browser-side IP validation from desktop auth sessions
  • Keep terminal PTY mounted with visibility:hidden on tab switch
  • Search common paths (/opt/homebrew/bin, /usr/local/bin) for gh binary
  • Remove back/forward buttons from browser toolbar
  • Add role="menu" to zoom popover so webview hides underneath
  • Add https: to img-src CSP for external favicons
  • Add poll_webview_metadata command for real page titles
  • Consolidate .rules/CLAUDE.md/GEMINI.md into AGENTS.md

Resolve gh CLI path in bundled apps, add webview metadata polling,
keep terminal PTY alive on tab switch, fix browser toolbar and CSP.
Cleanup after toolbar back/forward button removal.
@mehmetozguldev mehmetozguldev self-assigned this Apr 7, 2026
@mehmetozguldev mehmetozguldev added this to the v0.4.5 milestone Apr 7, 2026
@mehmetozguldev mehmetozguldev added the MacOS macOS-specific label Apr 7, 2026
Bundled apps get a restricted PATH, now we source the full PATH from
the user's login shell and cache it for the process lifetime.
Shows platform-specific install instructions when gh is missing,
and the existing auth login message when gh is installed but not logged in.
Same restricted PATH issue as gh CLI - agent binaries like codex-cli
and npx are not found in bundled .app launches. Sources the user's
login shell PATH and merges it into the process environment.
Fixes "open in GitHub" buttons not working in production builds.
Keep webviewer buffers mounted on tab switch like terminals. Only hide
the native webview when overlays actually overlap its container. Restore
back/forward navigation buttons. Listen for fullscreen changes to resize
the embedded webview. Fix metadata polling to avoid hash conflicts with
the shortcut polling mechanism.
Branch button now shrinks and overflows hidden so long names
don't overlap with the action buttons in the header.
Split panes now show a close button in their tab bar to let users
collapse them. New tab screen has a "New File" option that opens an
untitled virtual buffer.
Prevents layout jumping when opening/closing the last tab and
ensures split panes always have visible chrome with close button.
Use theme-aware CSS variables for error display in light themes.
Limit file mention dropdown to 10 results and 220px max height.
Guide users to system privacy settings on mic permission failure.
@mehmetozguldev mehmetozguldev marked this pull request as ready for review April 7, 2026 21:51
@mehmetozguldev mehmetozguldev merged commit 9a87831 into master Apr 7, 2026
2 checks passed
@mehmetozguldev mehmetozguldev deleted the fix/desktop-sign-in-and-ux branch April 7, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

MacOS macOS-specific

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sign in redirects but nothing happens

1 participant