@pmcollab/coworkstream-details-team
v5.0.0
Published
Fork-friendly team-capacity templates for @pmcollab/coworkstream — staff out, overload, team update.
Downloads
374
Readme
@pmcollab/coworkstream-details-team
Fork-friendly team-capacity templates for @pmcollab/coworkstream: staff out, overload, and team update.
Starter templates, not stable APIs. Fork them. See
FORKING.md.
What's included
| Component | Category | Renders |
|---|---|---|
| StaffSickDetails | staff-sick | Sick/leave coverage, redistribution suggestions, return-by date |
| StaffOverloadDetails | staff-overload | Workload graph, hot tasks, redistribution candidates |
| TeamUpdateDetails | team-update | Team availability summary, capacity, current assignments |
Install
npm install @pmcollab/coworkstream-details-teamUse
import {
StaffSickDetails, StaffOverloadDetails, TeamUpdateDetails,
} from '@pmcollab/coworkstream-details-team'
const renderDetails = (item) => {
switch (item.category) {
case 'staff-sick': return <StaffSickDetails item={item} />
case 'staff-overload': return <StaffOverloadDetails item={item} />
case 'team-update': return <TeamUpdateDetails item={item} />
default: return null
}
}Fork
See FORKING.md. Same pattern as the HR package: copy into your codebase, replace _fork-stubs.js with your stores, rename to your namespace.
License
Commercial. See LICENSE in the repository root.
