Skip to content

Remove commented-out auth login checks from autocomplete logic#7

Open
usqr wants to merge 4 commits into
mainfrom
claude/agents-process-continuation-KfQIf
Open

Remove commented-out auth login checks from autocomplete logic#7
usqr wants to merge 4 commits into
mainfrom
claude/agents-process-continuation-KfQIf

Conversation

@usqr

@usqr usqr commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Summary

This PR removes commented-out authentication checks that were previously gating autocomplete functionality. These checks are no longer needed as part of the auth removal effort.

Changes

  • crates/fig_desktop/src/webview/mod.rs: Removed two commented-out fig_request::fig_auth::is_logged_in() checks from autocomplete enable logic (lines 511 and 525)
  • crates/fig_desktop/src/platform/macos.rs: Removed one commented-out fig_request::fig_auth::is_logged_in() check from autocomplete enable logic (line 517)
  • Added .gitignore: Comprehensive gitignore file covering build artifacts, IDE configs, dependencies, and environment files
  • Updated TODO.md: Added verification notes and build requirements documentation for fig_desktop GTK/webkit dependencies

Implementation Details

The autocomplete enable conditions now rely solely on:

  • The autocomplete.disable settings flag
  • Platform-specific accessibility checks (PlatformState::accessibility_is_enabled)

The removal of these commented-out auth checks completes the login gate removal from the autocomplete feature, allowing it to function without authentication requirements.

https://claude.ai/code/session_01DTdpq5f5q6hNkwAyJLpd7e

claude added 4 commits June 3, 2026 13:57
The Precog rebrand commit (03ab966) accidentally deleted the root
.gitignore, leaving node_modules/, target/, dist/ and other build
artifacts untracked-but-not-ignored. Restore the upstream ignore set.
Three commented-out fig_request::fig_auth::is_logged_in() references in
fig_desktop pointed at a crate removed during the auth-removal work.
…-continuation-KfQIf

# Conflicts:
#	.gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants