freescout-github/Services
Jack Arturo f35ecc23d5 feat: add user-to-GitHub mapping and watchers dropdown
Implements #2 - Full user mapping and watchers selection feature:

Settings:
- Add FreeScout User → GitHub Username mapping table
- Shows all active FreeScout users with GitHub username fields
- Stored as JSON in Options table (no schema change needed)

Modal:
- Add 'Watchers' multi-select dropdown in create issue modal
- Populated from user mappings (only users with GitHub usernames)
- Defaults to current user if they have a mapping
- Select2 for consistent UX with labels dropdown

Backend:
- New endpoint: GET /github/user-mappings
- createIssue() accepts watchers[] parameter
- createRemoteLink() @mentions all selected watchers
- @mentioned users are auto-subscribed to issue notifications

This replaces the simpler default_watcher approach with full
FreeScout-to-GitHub user mapping, allowing any support agent
to select who gets notified about new issues.
2025-11-24 22:13:53 +01:00
..
GithubApiClient.php feat: add user-to-GitHub mapping and watchers dropdown 2025-11-24 22:13:53 +01:00
IssueContentGenerator.php Enhance label mapping UI and diagnostic extraction 2025-11-24 16:31:30 +01:00
LabelAssignmentService.php Move files to root folder 2025-11-13 15:25:19 +02:00