Skip to content

Desktop: prefill Add Instance URL from ProPR Connect #2322

Closed

Description

@integry

Parent epic #1950 / PR #1970. Implement as a separate child PR targeting 1950-epic-cross-platform-dsk, not main. User asks: when adding a new instance, provide a shortcut to ProPR Connect to prefill the shared API URL.

Add an accessible Use ProPR Connect action in the shared macOS/Linux ProfileEditor (propr-ui/src/desktop/DesktopExperiencePanels.tsx), wired through existing trusted main-process Connect discovery/deep-link/candidate flow. Discover and prefill the shared/tunnel API endpoint; preserve the display name the user typed. Require explicit final Connect confirmation; no implicit account switch, pairing, or overwrite of saved profiles. Keep localhost default and manual URL entry. Do not hardcode api.gitfix.dev or any private deployment. If no endpoint is discoverable, show actionable guidance to run/open ProPR Connect and retry; if multiple candidates exist, allow explicit selection. Preserve identity verification, cancellation, stale-result protection and credential isolation. Do not label a URL cryptographically verified based only on hostname parsing. Test prefill success, no running Connect, errors, cancellation, manual edits and confirmation on both platform adapters. Include a privacy-safe UI preview. Keep the change focused and do not restart apps or backend workers. Link the child PR with Closes this issue.

Activity

  1. integry commented on Sep 11, 2026

    @integry
    OwnerAuthor

    Please implement this scoped follow-up now in a new child PR against the desktop epic branch. The AI label is already present. Work independently of #2311 (native menus/About/Keychain test) and preserve that in-flight work.

  2. propr-dev commented on Sep 11, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using codex agent with gpt-6-astra model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: codex
    • Model: gpt-6-astra
    • Branch: 2322/gpt-6-astra-desktop-prefill-add-insta-20260911-0057-21n
    • Base Branch: main
    • Worktree: issue-2322-20260911-0057-gpt-6-astra-21n

    🔍 Track Task Execution

  3. propr-dev commented on Sep 11, 2026

    @propr-dev
    Contributor

    ✅ No code changes needed - the implementation was already complete.

    AI Processing Completed

    Execution Details:

    Summary:
    Blocked by missing prerequisite code: this checkout has no propr-ui/src/desktop/DesktopExperiencePanels.tsx, desktop adapters, or Connect discovery flow.

    Please provision the worktree from 1950-epic-cross-platform-dsk, as the issue requires. No files were changed, tests run, or previews generated.

    Detailed Logs:

    • Conversation: 20 messages
    • Session: 01a08df9-5e10-7780-a90e-e1e4ad783552

    Log files stored at:

    • conversation: /tmp/claude-logs/issue-2322-2026-09-11T00-59-49-951Z-conversation.json
    • output: /tmp/claude-logs/issue-2322-2026-09-11T00-59-49-951Z-output.txt
    Latest Conversation Messages

    This processing report was generated automatically by ProPR for issue #2322.

  4. integry commented on Sep 11, 2026

    @integry
    OwnerAuthor

    Resume implementation: previous run stopped because the worktree was provisioned from main, not because the feature exists. You are explicitly authorized to fetch origin/1950-epic-cross-platform-dsk and merge that epic into your clean issue branch before implementing; do not reset or discard unrelated work. Target the resulting PR to 1950-epic-cross-platform-dsk. The required desktop source exists there. This resolves the missing-source prerequisite. Please implement the requested shortcut and tests.

  5. integry commented on Sep 11, 2026

    @integry
    OwnerAuthor

    The AI-done marker was left by the unsuccessful missing-source run and has now been cleared; AI remains enabled. Please resume using the epic branch as authorized in the preceding comment. The Connect shortcut is not implemented and this issue is not complete.

  6. propr-dev commented on Sep 11, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using codex agent with gpt-6-astra model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: codex
    • Model: gpt-6-astra
    • Branch: 2322/gpt-6-astra-desktop-prefill-add-insta-20260911-0103-kmf
    • Base Branch: 1950-epic-cross-platform-dsk
    • Worktree: issue-2322-20260911-0103-gpt-6-astra-kmf

    🔍 Track Task Execution

  7. integry commented on Sep 11, 2026

    @integry
    OwnerAuthor

    Dispatch metadata corrected: base-1950-epic-cross-platform-dsk is now applied, not just mentioned in prose. Please process the requested shortcut from that base. AI remains enabled.

  8. added a commit that references this issue on Sep 11, 2026
  9. integry commented on Sep 11, 2026

    @integry
    OwnerAuthor

    Implemented and merged via #2327 into desktop epic #1970, not main. Root combined review: 52 UI and 93 native discovery/credential tests pass; privacy-safe Chromium preview reviewed. Shortcut prefills canonical Connect URL, preserves typed display name, requires explicit Connect, handles missing/multiple/stale/cancelled discovery, and keeps fresh profile IDs to prevent saved-account overwrite. Native installed-build acceptance remains an epic gate.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions