Skip to content

Conversation

@bokelley
Copy link
Contributor

@bokelley bokelley commented Jan 3, 2026

Summary

  • Make org names in users table clickable links to org detail page
  • Add user context modal in org detail page for member names
  • Helps distinguish between duplicate org names by allowing easy navigation
  • Makes it easy to see which users belong to which org and vice versa

Changes

  • admin-users.html: Org names are now clickable links to /admin/organizations/{org_id}
  • admin-org-detail.html: Member names open a context modal showing user details, engagement, and working groups

Security

  • All dynamic values in onclick handlers are escaped with escapeHtml()
  • URLs use encodeURIComponent() to prevent injection
  • Keyboard navigation (Escape to close modal) added for accessibility

Test plan

  • Navigate to Admin > Users, click an org name → should open org detail page
  • On org detail page, click a member name → should show user context modal
  • Press Escape → modal should close
  • Click outside modal → modal should close

🤖 Generated with Claude Code

- Make org names in users table clickable links to org detail page
- Add user context modal in org detail page for member names
- Use encodeURIComponent for URL safety
- Escape all dynamic values in onclick handlers to prevent XSS
- Add keyboard navigation (Escape to close modal)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@bokelley bokelley merged commit 12f9948 into main Jan 3, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants