Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/JAQA20/Paradigmas-G3/llms.txt

Use this file to discover all available pages before exploring further.

The Staff Control module at /staff gives Admin users a live view of all employees, their current shift status, role assignment, and contact information. From this single panel you can monitor who is currently on the floor, identify upcoming shift gaps, review aggregate performance, and make roster changes — adding, editing, or removing team members — without leaving the application.
The Staff Control module is restricted to Admin users. Managers, waitstaff, and kitchen staff cannot access /staff.

Stats Bar

Three summary cards span the top of the page, updating live from the shift clock.

Active Staff

Live headcount of staff currently clocked in vs. total roster — for example, 24 / 28. A LIVE badge in the tertiary accent colour confirms the figure is being pushed from the attendance system in real time.

Pending Shifts

Count of upcoming shifts not yet started — for example, 06. An Upcoming pill in a neutral surface colour distinguishes this stat from live metrics.

Avg Performance

Rolling average performance score across all active staff — for example, 94.2%. A stacked avatar cluster (showing two profile photos and a +18 overflow badge) represents the contributing employees.

Staff Table

The employee roster is displayed in a full-width table with five columns:
ColumnDescription
Name / IdentityCircular profile photo + full name + internal employee ID (e.g. ID: LC-9442)
RolePill badge styled by role type (see below)
StatusColoured dot + label: green = Online, amber = On Break, grey = Offline
ContactWork email address and phone number
ActionsEdit (pencil icon) and Delete (trash icon) buttons — visible on row hover

Role badge styles

RoleBadge style
ManagerSecondary-container background (warm tint)
WaiterSurface-container (neutral)
Executive ChefTertiary-fixed (teal/green tint)

Status indicators

StatusDot colourMeaning
OnlineEmerald green with glowCurrently clocked in and active
On BreakAmber with glowClocked in but on a scheduled break
OfflineGrey / outline-variantNot on shift

Example employee records

NameIDRoleStatusContact
Lucía MendozaLC-9442ManagerOnlinel.mendoza@lacomanda.com · +34 600 123 456
Mateo RicciLC-1021WaiterOn Breakm.ricci@lacomanda.com · +34 600 987 654
Chef FerranLC-0005Executive ChefOnlinef.adri@lacomanda.com · +34 600 555 123
Elena SolerLC-2231WaiterOfflinee.soler@lacomanda.com · +34 600 444 777

Filtering

Two sets of controls above the table let you narrow the view:
  • Role tabsAll (default, highlighted in primary), Managers, Waiters, Chefs. One tap switches the table to show only that role group.
  • Status dropdownAll statuses, Online, Offline, On Break. Can be combined with a role tab to find, for example, all Waiters who are currently Online.

Adding a New Team Member

Click the New Member button in the top-right of the page header to open the employee creation form. Fill in the name, role, contact details, and assign login credentials. The new record appears immediately in the table after saving.

Pagination

The table footer shows the result count in the format Showing 4 of 28 employees. Page navigation controls (numbered buttons plus chevron arrows) allow browsing through the full roster without loading all records at once.

Build docs developers (and LLMs) love