Skip to content

feat: email-based collaboration invitations#43

Merged
9trocode merged 1 commit intomainfrom
feat/email-collab-invitations
Mar 7, 2026
Merged

feat: email-based collaboration invitations#43
9trocode merged 1 commit intomainfrom
feat/email-collab-invitations

Conversation

@9trocode
Copy link
Contributor

@9trocode 9trocode commented Mar 7, 2026

Summary

This PR adds email-based collaboration invitations, allowing terminal owners to share terminals with other users by email address. It also includes several bug fixes and improvements to the shared terminal experience.

Key Features

  • Email-based invitations: Terminal owners can invite collaborators by email address
  • Real-time status updates: Collaborators now see accurate agent online/offline status
  • Improved UI: Fixed layout glitches on shared terminal cards

Bug Fixes

  • Fixed shared terminals showing "Offline" instead of "Connect" button for collaborators
  • Fixed UI alignment/layout issues with shared terminal cards (text overflow, date breaking, etc.)
  • Agent status broadcasts now include collaborators, not just owners

Other Changes

  • Added session duration options (default 24 hours)
  • Support LXC/PVE environments without sudo in rexec-agent
  • Added agent uninstall documentation
  • Filter mouse-enable escape sequences to preserve browser scrolling

Files Changed

  • Backend: internal/api/handlers/agent.go, container.go, container_events.go, collab.go, internal/storage/postgres.go
  • Frontend: Dashboard.svelte, CollabPanel.svelte, Header.svelte, collab.ts, terminal.ts
  • Agent: cmd/rexec-agent/main.go, scripts/install-agent.sh
  • Docs: docs/AGENTS.md, AgentDocs.svelte

Testing

  • Backend builds successfully (make build)
  • Frontend builds successfully (npm run build)
  • All Go tests pass

- Add flex-wrap and border-radius to .container-meta and .container-resources
- Add text overflow handling (nowrap, ellipsis) to .meta-value
- Prevent resource specs and dividers from breaking with flex-shrink: 0
- Limit email width in shared terminal cards to prevent overflow
- Fix responsive styles for mobile layout
@9trocode 9trocode merged commit 438f6a8 into main Mar 7, 2026
2 checks passed
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