feat: implement admin audit history, session management, and dashboard modules with supporting API service layer

This commit is contained in:
2026-07-13 12:22:46 +05:30
parent e5c2b047d7
commit 98eb91af71
4 changed files with 135 additions and 18 deletions

View File

@@ -3,6 +3,7 @@ import {
Box, Table, TableBody, TableCell, TableContainer, TableHead, TableRow,
Paper, FormControl, InputLabel, Select, MenuItem, ToggleButtonGroup,
ToggleButton, CircularProgress, Typography, TextField, Chip, TablePagination,
Tooltip,
} from '@mui/material';
import { adminService } from '../../api/adminService';
import type { AuditHistoryUserCount, AuditHistoryRecord } from '../../api/adminService';
@@ -240,9 +241,21 @@ export const AuditHistory: React.FC = () => {
<TableHead>
<TableRow>
<TableCell>User</TableCell>
<TableCell align="right">Assigned</TableCell>
<TableCell align="right">Completed</TableCell>
<TableCell align="right">Efficiency</TableCell>
<TableCell align="right">
<Tooltip title="Records assigned to the user whose video date falls in the selected range">
<span>Assigned</span>
</Tooltip>
</TableCell>
<TableCell align="right">
<Tooltip title="Records the user completed within the selected range - includes backlog whose video arrived earlier, so this can exceed Assigned">
<span>Completed</span>
</Tooltip>
</TableCell>
<TableCell align="right">
<Tooltip title="Share of the user's own Assigned queue that is done - never exceeds 100%">
<span>Queue Done %</span>
</Tooltip>
</TableCell>
</TableRow>
</TableHead>
<TableBody>