Skip to content

v1.5.4

@aotearoait aotearoait tagged this 19 Apr 04:47
The Filament resource pages (/admin/issues/create, /{id}/edit) still
called GitHub directly via the GithubTrait — only the floating
Report-a-Bug modal was wired through TicketMate. When TM mode was on,
clicking "+New Issue" or opening the create page tried to POST to
GitHub using the consuming app's GITHUB_TOKEN/owner/repo, which is
either missing or wrong (TicketMate is supposed to own that). Result:
"Github\Exception\RuntimeException: Not Found".

In TM mode the floating modal IS the only correct creation surface
(it routes through TicketmateClient::createIssue() which uses TM's
own GITHUB_TOKEN against the right repo). So:

- IssueResource::canCreate/canEdit/canDelete return false in TM mode
- ListIssues "New Issue" header action hides itself in TM mode
Assets 2
Loading