Skip to content

feat: implement persistent terminal sessions#103

Merged
Che-Zhu merged 2 commits intoFullAgent:mainfrom
Che-Zhu:persistent-websocket
Nov 23, 2025
Merged

feat: implement persistent terminal sessions#103
Che-Zhu merged 2 commits intoFullAgent:mainfrom
Che-Zhu:persistent-websocket

Conversation

@Che-Zhu
Copy link
Copy Markdown
Collaborator

@Che-Zhu Che-Zhu commented Nov 23, 2025

This PR implements persistent terminal sessions by refactoring the project layout and sidebar navigation.

Changes

  • Refactored ProjectLayout to use ProjectContentWrapper for route-based visibility.
  • Moved terminal rendering to the layout level to prevent unmounting on navigation.
  • Updated ProjectSidebar to use next/link for client-side navigation, fixing a full page reload issue.
  • Added isVisible prop to terminal components to trigger resize logic when the terminal becomes visible.
  • Converted the terminal page into a placeholder.

Verification

  • Verified that the terminal session (command history, running processes) persists when navigating between the terminal and other project pages.
  • Verified that the sidebar navigation no longer causes full page reloads.

- Refactor ProjectLayout to use ProjectContentWrapper for route-based visibility
- Move terminal rendering to layout level to prevent unmounting on navigation
- Update ProjectSidebar to use next/link for client-side navigation
- Add isVisible prop to terminal components to trigger resize on visibility change
- Make terminal page a placeholder
@github-actions
Copy link
Copy Markdown

github-actions bot commented Nov 23, 2025

✅ PR Check Results: Passed

Build Checks

Check Status
Lint & Build ✅ Passed
Docker Build ✅ Passed

✨ Great work!

All checks passed successfully. Your PR is ready for review.

Details:

  • ✅ Code quality verified (linting passed)
  • ✅ Build successful
  • ✅ Docker image build verified (linux/amd64)
    Commit: cf5e193d9aa93547133964b46997aca11fdc5ca1
    Branch: persistent-websocket

🔗 View Details:

@Che-Zhu Che-Zhu merged commit c7a9e3a into FullAgent:main Nov 23, 2025
9 checks passed
@Che-Zhu Che-Zhu deleted the persistent-websocket branch November 24, 2025 02:14
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.

1 participant