Skip to content

[Feat] Add Roo Code history import to the About page - #141

Merged
edelauna merged 4 commits into
mainfrom
feature/import-roo-history-3rocsalfk3hja
Jun 21, 2026
Merged

[Feat] Add Roo Code history import to the About page#141
edelauna merged 4 commits into
mainfrom
feature/import-roo-history-3rocsalfk3hja

Conversation

@roomote

@roomoteroomoteBot commented May 15, 2026

Copy link
Copy Markdown
Contributor

Opened on behalf of Toray Altas. View the task or mention @roomote for follow-up asks.

What problem this solves

Adds a clearer Roo Code history import flow in Zoo Code's About page so users can bring over existing task history and see visible progress while the import is running.

Why this change was made

The import flow already resolved Roo and Zoo storage roots and copied only the top-level history files Zoo uses. This update threads progress events from the extension host back to the About card, so the UI can disable the action while the import is active and show real percentage/file progress instead of looking idle.

User impact

Users now get a more obvious Import history from Roo Code card in the About section, plus a live progress bar, percentage, and copy counts while Roo history is being imported. When the import finishes, Zoo refreshes the history list immediately; when there is nothing to import or the import fails, the UI resets cleanly instead of leaving an ambiguous in-progress state.

Screen.Recording.2026-05-15.at.9.52.05.pm.mov

@roomoteroomoteBot added the roomote:auto-resolve-conflicts Allow Roomote to auto-resolve merge conflicts for this PR label May 15, 2026
@roomote

roomoteBot commented May 15, 2026

Copy link
Copy Markdown
ContributorAuthor

3 issues outstanding. Action required. See task

  • Re-importing a task overwrites an existing Zoo tasks/<id> directory and can roll back newer Zoo-side history.
  • Import failures from stale or inaccessible Roo storage paths are not surfaced to the user.
  • Re-importing an already-imported Roo task now reports No Roo Code task history was found even though Roo history exists and Zoo only skipped copying because the destination already exists.
  • platform-unit-test (windows-latest) is still pending after the bounded CI wait.
  • platform-unit-test (ubuntu-latest) is still pending after the bounded CI wait.

Comment threadsrc/core/task-persistence/importRooTaskHistory.ts Outdated
Comment threadsrc/core/webview/webviewMessageHandler.ts Outdated
@codecov

codecovBot commented May 15, 2026

Copy link
Copy Markdown

@taltas
taltas marked this pull request as ready for review May 16, 2026 02:11
@navedmerchant

Copy link
Copy Markdown
Contributor

How about creating a top level import export settings tab for discoverability? This way users can quickly find the page. We can also redirect users to this page with the import export link

@edelaunaedelauna left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice - This is so cool!

Comment threadsrc/core/task-persistence/importRooTaskHistory.ts
Comment threadwebview-ui/src/components/settings/About.tsx Outdated
Comment threadwebview-ui/src/components/settings/__tests__/About.spec.tsx
@taltas

taltas commented May 16, 2026

Copy link
Copy Markdown
Contributor

How about creating a top level import export settings tab for discoverability? This way users can quickly find the page. We can also redirect users to this page with the import export link

I did think about it, but this is a temporary issue until we complete the migration, and there are so many menu tabs already. I think this is a reasonable place to put it. I do think we should add a link in the readme and version announcement popup that links to the about section, showing the import of history etc.
@navedmerchant

@navedmerchant

Copy link
Copy Markdown
Contributor

How about creating a top level import export settings tab for discoverability? This way users can quickly find the page. We can also redirect users to this page with the import export link

I did think about it, but this is a temporary issue until we complete the migration, and there are so many menu tabs already. I think this is a reasonable place to put it. I do think we should add a link in the readme and version announcement popup that links to the about section, showing the import of history etc. @navedmerchant

Sounds good!

Comment threadsrc/core/task-persistence/importRooTaskHistory.ts
@taltas
taltas requested a review from edelaunaMay 18, 2026 14:41
Comment threadwebview-ui/src/components/settings/About.tsx Outdated
@edelauna
edelaunaforce-pushed the feature/import-roo-history-3rocsalfk3hja branch from b495e13 to 61ab73eCompareJune 17, 2026 03:05

@taltastaltas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Couple of small tweaks

Add can you also add a regression test that runs two importRooTaskHistory() calls concurrently against the same Roo task and asserts the imported Zoo task directory contains the complete expected file set.

Comment threadsrc/core/task-persistence/importRooTaskHistory.ts Outdated
Comment threadwebview-ui/src/components/settings/About.tsx Outdated
@github-actionsgithub-actionsBot added the awaiting-author PR is waiting for the author to address requested changes label Jun 21, 2026
@edelauna
edelauna requested a review from taltasJune 21, 2026 00:59
@edelauna
edelaunaforce-pushed the feature/import-roo-history-3rocsalfk3hja branch from 2ff09f0 to d45ef4eCompareJune 21, 2026 02:28

@taltastaltas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes addressed

@edelauna
edelauna added this pull request to the merge queueJun 21, 2026
Merged via the queue into main with commit e2fce6cJun 21, 2026
9 checks passed
@edelauna
edelauna deleted the feature/import-roo-history-3rocsalfk3hja branch June 21, 2026 02:58
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-authorPR is waiting for the author to address requested changesroomote:auto-resolve-conflictsAllow Roomote to auto-resolve merge conflicts for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@navedmerchant@taltas@edelauna