Skip to content

An online Cloudflare Worker tool to track the captaincy for the day in a busy Tech Support Engineering team.

Notifications You must be signed in to change notification settings

jsg0000/shift-captain

Repository files navigation

ShiftCaptain 🛡️

ShiftCaptain is a specialized, single-page shift management dashboard designed for Technical Support Shift Leads and Captains. It provides high-visibility situational awareness for managing team rosters, case handovers, and scheduled events in a fast-paced environment.

🚀 Current Features (v1.1.0)

👥 Team Roster Management

  • Drag-and-Drop Reordering: Easily move agents between slots. Moving a row now moves the agent, their assigned task, and their lunch slot together.
  • Visual Status Indicators: Large, glowing status lights provide instant visibility of agent states:
    • 🟢 Green: Available / Queues
    • 🟠 Orange: Phones / Chats / Busy
    • 🔴 Red: Lunch / Meeting / Training / Offline
  • Conflict Detection: Visual warnings if too many agents are on lunch simultaneously or if coverage drops.

📝 Case Handover System

  • Categorized Tracking: Organizes cases by region/status (APAC Inherited, EMEA Active, NAMER Handover).
  • P1 / Critical Mode: Visual highlighting for critical incidents.
  • One-Click Report: Generates a formatted text report suitable for pasting into Email, Slack, or Teams for end-of-shift handovers.

⏰ Time Management

  • Shift Clock: Universal UTC clock with a countdown to "Handover" and "Wash Up".
  • World Time: Multi-timezone display for key global hubs (SFO, NYC, LON, SGP, TYO, SYD).
  • Smart Alerts: Browser notifications and modal popups trigger 10 minutes before scheduled calls, meetings, or lunch breaks.

💾 Data Persistence

  • Offline First: State is automatically saved to the browser's localStorage.
  • Backup/Restore: Export full shift state to JSON or restore from a file.

🔮 Future Roadmap & Potential Improvements

To evolve ShiftCaptain into an award-winning enterprise tool, the following features are proposed:

1. Centralized "Overhead" Dashboard (Real-Time Sync)

Current State: Data lives in the user's local browser. Future State: Implement a real-time backend (e.g., Firebase, Supabase, or Cloudflare Durable Objects).

  • Benefit: Enables a "Read-Only" TV Mode. The dashboard can be displayed on a large overhead monitor in the office, updating instantly as the Captain makes changes on their laptop.
  • Benefit: Remote agents can view the live roster from their own homes without asking "When is my lunch?".

2. Integrations Ecosystem

  • Slack / MS Teams Webhooks:
    • Feature: A "Post Roster" button that formats the team list and sends it directly to the #shift-ops channel.
    • Feature: Automated P1 alerts sent to chat when a new Critical Case is logged.
  • Salesforce / Zendesk API:
    • Feature: Auto-fetch case details (Subject, Severity) by simply typing the Case ID.
    • Feature: Visual "staleness" indicators if a case hasn't been updated in the CRM for >1 hour.

3. Advanced UX & Visualization

  • Timeline / Gantt View: Replace the dropdown time selectors with a visual timeline bar to easily spot overlapping lunches or meetings.
  • Focus / Incident Mode: A specialized view that hides the roster and expands the Case section when a P1 is active, featuring a large incident timer.

About

An online Cloudflare Worker tool to track the captaincy for the day in a busy Tech Support Engineering team.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published