diff --git a/mobile/src/components/BugReportFAB.tsx b/mobile/src/components/BugReportFAB.tsx index 821ddf7..3c79feb 100644 --- a/mobile/src/components/BugReportFAB.tsx +++ b/mobile/src/components/BugReportFAB.tsx @@ -173,6 +173,16 @@ export function BugReportFAB({ client, appVersion, navRef }: Props) { extraContext.push(`${key}=${val}`); } } + // Identyfikatory tekstowe (nie-UUID): SiteScenes przekazuje stronę jako + // `origin` (sitetag) + `name` (display), PerformerScenes/TagScenes bywa + // po nazwie. Bez tego zgłoszenie "ingest tej strony stoi" nie mówi której + // (bug-report 14f3a655 2026-06-14). Cap długości, żeby nie wlec listy. + for (const key of ['origin', 'name', 'sitetag', 'tag', 'q']) { + const val = params[key]; + if (typeof val === 'string' && val.trim() && !UUID_RE.test(val)) { + extraContext.push(`${key}=${val.trim().slice(0, 64)}`); + } + } } catch { // navRef nie ready — zostawiamy puste, backend i tak przyjmie nullable }