Skip to content

Teams Application Workflow Showcase

This document presents a complete customer issue resolution workflow that demonstrates all key features of the App Suite for Teams application. The workflow is captured through automated end-to-end testing with screenshots at every key step.

Overview

The showcase demonstrates a realistic customer support scenario where two team members (Sven and Felix) collaborate to resolve a customer billing issue. This workflow covers:

  • Thread creation and management
  • Tags and status tracking
  • @mentions with real-time notifications
  • Multi-user collaboration
  • Assignee management
  • Complete conversation threading

Scenario

Customer Issue: A customer (John Smith) reports being double-charged on invoice INV-2025-001, requiring urgent investigation by the support team.

Team Members:

  • Sven Supporter - Support team member who receives the initial issue
  • Felix Finance - Support team member with billing expertise (distinguishable by Blue Sunset theme)

Workflow Steps

1. Empty Inbox - Starting State

Empty Inbox

Sven starts with a clean inbox in the "Support" folder, ready to receive new customer issues.

Features shown:

  • Folder navigation (Support folder selected)
  • Empty thread list
  • Clean starting state

2. Thread Creation - Initial Customer Issue

Thread Composition

A new thread appears in the Support folder containing the customer's billing issue. The thread displays the complete email with subject "Customer Billing Issue - Account #12345" and the issue description.

Features shown:

  • Thread list with new item
  • Thread detail view
  • Rich text email content
  • Reply button for composing responses

3. Tags and Status Management

Thread with Tags and Status

Svencategorizes the issue by adding two tags ("billing" and "urgent") and updates the status from "New" to "In Progress".

Features shown:

  • Tag management interface
  • Multiple tags applied (billing, urgent)
  • Status button showing "In Progress"
  • Tags visible in thread metadata

4. @Mention Autocomplete

Mention Dropdown

Sventypes "@" in the TipTap editor to bring in Felix's expertise. The mention autocomplete dropdown appears, showing Felix's email address and display name.

Features shown:

  • TipTap rich text editor
  • @mention trigger character
  • User suggestion dropdown
  • Filtered user list (limited to users with thread access)

5. Complete Mention and Post Comment

After selecting Felixfrom the dropdown, Svencompletes her message: "@bob Can you investigate this billing issue? Customer is escalating." and clicks Send.

Features shown:

  • @mention rendered in comment
  • Comment posted to activity log
  • Real-time WebSocket notification sent to Bob

6. Real-Time Notification - Felix's View

Felix's Notification

Bob logs in and immediately sees he has been mentioned. A notification indicator appears showing new activity.

Features shown:

  • Real-time WebSocket notifications
  • Notification indicator
  • Multi-user concurrent access
  • Visual distinction (Blue Sunset theme)

7. Shared With Me Folder

Shared With Me Folder

Bob navigates to the "Shared with me" folder, which displays threads where he has been mentioned. The thread appears with an unread mention indicator.

Features shown:

  • "Shared with me" folder
  • Thread with unread mention
  • Smart filtering (only threads with mentions)

8. Viewing the Mention

Thread With Mention

Bob opens the thread and sees Alice's comment with the @mention highlighted. He can now read the full context of the issue.

Features shown:

  • @mention displayed in comment
  • Full thread context visible
  • Activity log with user actions
  • Original email content preserved

9. Conversation Thread

Conversation Thread

Bob adds his response: "I've reviewed the transaction logs. This was a system error during payment processing. I'll process the refund today."

Features shown:

  • Multi-user conversation thread
  • Chronological activity log
  • Comments from both Sven and Felix
  • TipTap editor for composing responses

10. Assignment Management

Thread Assigned

Svenassigns the thread to Bob, making him responsible for resolution. The assignee button now shows Felix's display name.

Features shown:

  • Assignee management interface
  • Assignee dropdown with user selection
  • Updated assignee button
  • Clear ownership indication

11. Final Resolution State

Final Resolved State

Bob adds a final comment ("Refund processed. Customer has been notified via email.") and changes the status to "Done", completing the workflow.

Features shown:

  • Complete conversation history (3 comments)
  • Final status: "Done"
  • Tags preserved: billing, urgent
  • Assignee: Bob
  • Resolved issue with full audit trail

Key Features Demonstrated

1. Thread Management

  • Automatic thread creation from emails
  • Thread list view with folder navigation
  • Thread detail view with full context

2. Collaboration Tools

  • @mentions with autocomplete (limited to users with thread access)
  • Real-time WebSocket notifications
  • Multi-user concurrent access
  • "Shared with me" folder for mentioned threads

3. Workflow Tracking

  • Status management (New → In Progress → Done)
  • Tags for categorization (multiple tags per thread)
  • Assignee management for clear ownership

4. Communication

  • TipTap rich text editor
  • Chronological activity log
  • Comments with @mentions
  • Complete audit trail

5. Real-Time Features

  • WebSocket-based notifications
  • Instant updates across users
  • Smart mark-as-read behavior
  • Unread mention tracking

Technical Implementation

This workflow is tested end-to-end using Playwright with the following capabilities:

  • Multi-browser support - Tests run on Chromium, Firefox, and WebKit
  • Real users - Two actual user accounts with separate browser contexts
  • Real-time sync - WebSocket connections for live notifications
  • Full integration - Tests run against the complete stack (backend + frontend)
  • Visual documentation - 10 screenshots capture every key step

Test file: e2e/tests/workflow-showcase.spec.jsScreenshot output: e2e/output/workflow-showcase/

Use Cases

This workflow represents typical use cases for the Teams application:

  • Customer Support - Issue tracking and resolution
  • Team Collaboration - Bringing in expertise via @mentions
  • Task Management - Assignment and status tracking
  • Audit Trail - Complete history of actions and communications
  • Real-Time Coordination - Instant notifications for urgent issues

Running the Showcase

To run this workflow test and generate the screenshots:

# Start backend
pnpm dev

# Start UI dev server (in separate terminal)
pnpm vite dev

# Run the showcase test (in separate terminal)
LAUNCH_URL=https://localhost:5173 npx playwright test e2e/tests/workflow-showcase.spec.js

# View screenshots
ls e2e/output/workflow-showcase/

The test creates a complete end-to-end workflow in approximately 30-45 seconds, demonstrating the full capabilities of the Teams application.