Skip to content

feat(frontend): workspace/project import UI flow#2315

Merged
neversettle17-101 merged 2 commits into
ao/agent-orchestrator-19/workspace-backend-scm-observerfrom
ao/agent-orchestrator-19/workspace-import-ui-with-backend
Jul 5, 2026
Merged

feat(frontend): workspace/project import UI flow#2315
neversettle17-101 merged 2 commits into
ao/agent-orchestrator-19/workspace-backend-scm-observerfrom
ao/agent-orchestrator-19/workspace-import-ui-with-backend

Conversation

@neversettle17-101

Copy link
Copy Markdown
Collaborator

Summary

  • add the import modal type picker for Workspace vs Project from the existing sidebar add-project entry point
  • add Electron IPC folder scanning for project/workspace repo previews, including branch and origin remote validation
  • submit workspace imports through POST /api/v1/projects with asWorkspace:true and project imports with asWorkspace:false while preserving worker/orchestrator agent selection

Testing

  • cd frontend && npm run typecheck
  • cd frontend && npm test -- Sidebar.test.tsx
  • cd frontend && npm test

References #2222.

Stacked on #2243 so this branch includes the backend workspace project and lifecycle changes for end-to-end testing.

@neversettle17-101 neversettle17-101 changed the base branch from ao/agent-orchestrator-19/multi-worktree-lifecycle to ao/agent-orchestrator-19/workspace-backend-scm July 1, 2026 07:05
@neversettle17-101 neversettle17-101 force-pushed the ao/agent-orchestrator-19/workspace-import-ui-with-backend branch 8 times, most recently from 37d1b29 to 877ac78 Compare July 1, 2026 09:43
@neversettle17-101

Copy link
Copy Markdown
Collaborator Author

Testing details screenshots
Working end to end with SCM observer
Screenshot 2026-07-01 at 5 18 24 PM

In case of error:
Screenshot 2026-07-01 at 5 00 54 PM

@neversettle17-101 neversettle17-101 changed the base branch from ao/agent-orchestrator-19/workspace-backend-scm to ao/agent-orchestrator-19/workspace-backend-scm-observer July 1, 2026 14:09
@neversettle17-101 neversettle17-101 force-pushed the ao/agent-orchestrator-19/workspace-import-ui-with-backend branch from 877ac78 to 219eab9 Compare July 1, 2026 14:09

@neversettle17-101 neversettle17-101 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ready. I did not find any correctness issues in the UI import flow changes.

@neversettle17-101 neversettle17-101 force-pushed the ao/agent-orchestrator-19/workspace-backend-scm-observer branch from 807439f to 190da7e Compare July 3, 2026 16:11
@neversettle17-101 neversettle17-101 force-pushed the ao/agent-orchestrator-19/workspace-import-ui-with-backend branch from 1487b70 to 9225e4d Compare July 3, 2026 16:13
@neversettle17-101 neversettle17-101 force-pushed the ao/agent-orchestrator-19/workspace-backend-scm-observer branch 2 times, most recently from c334979 to ce127d8 Compare July 4, 2026 08:38
@neversettle17-101 neversettle17-101 force-pushed the ao/agent-orchestrator-19/workspace-import-ui-with-backend branch from 9225e4d to 757955b Compare July 4, 2026 08:44
@neversettle17-101 neversettle17-101 force-pushed the ao/agent-orchestrator-19/workspace-backend-scm-observer branch from ce127d8 to c3831b5 Compare July 4, 2026 08:46
@neversettle17-101 neversettle17-101 force-pushed the ao/agent-orchestrator-19/workspace-import-ui-with-backend branch from 757955b to 80d6db4 Compare July 4, 2026 08:47

@neversettle17-101 neversettle17-101 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ready. I did not find any blocking correctness issues in the updated workspace import UI flow.

@Vaibhaav-Tiwari Vaibhaav-Tiwari left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall lgtm
small issue for now: the new folder scan runs git without using the app’s recovered shell PATH, so on macOS/linux app launches it may fail to find git

@neversettle17-101 neversettle17-101 merged commit 2486205 into ao/agent-orchestrator-19/workspace-backend-scm-observer Jul 5, 2026
neversettle17-101 added a commit that referenced this pull request Jul 5, 2026
* feat: add workspace project lifecycle teardown

* refactor: reuse workspace lifecycle for child repos

* feat: observe workspace project SCM repos

* fix: require workspace child origin remotes

* fix: keep workspace teardown minimal

* fix: prune stale workspace worktree registrations

* fix: restore legacy saved worktree markers

* fix: retain restored workspace project inventory

* fix: address workspace lifecycle review gaps

* feat(frontend): workspace/project import UI flow (#2315)

* feat: add workspace import UI flow

* chore: format with prettier [skip ci]

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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