Description
Clicking a session row should open a device-detail drawer with browser, OS, approximate location on a small map, IP, and last-activity timestamp, plus a Revoke button that surfaces confirmation.
Requirements and context
- Must be accessible (WCAG 2.1 AA), responsive, and documented in the design system
- Should be consistent with existing patterns and easy to review
- Relevant code:
src/components/SessionManagement
- Map must have an accessible text alternative describing the location
Suggested execution
- Fork the repo and create a branch
git checkout -b uiux/sessions-device-detail-drawer
- Implement changes
- Design the drawer header, details section, and map area
- Specify the Revoke confirmation dialog and undo timing
- Draft the "current session" state that disables revoke
- Validate accessibility and responsive assumptions
Test and commit
- Run checks
npm run lint and component/visual tests
- Cover edge cases
- Unknown location, VPN detection, mobile drawer
- Include screenshots/before-after and accessibility (axe) notes
Example commit message
design: sessions device detail drawer
Guidelines
- Minimum 95 percent test coverage
- Clear documentation
- Timeframe: 96 hours
Description
Clicking a session row should open a device-detail drawer with browser, OS, approximate location on a small map, IP, and last-activity timestamp, plus a Revoke button that surfaces confirmation.
Requirements and context
src/components/SessionManagementSuggested execution
git checkout -b uiux/sessions-device-detail-drawerTest and commit
npm run lintand component/visual testsExample commit message
design: sessions device detail drawerGuidelines