feat: test signal via avatar/indicator tap on main screen

Tapping user avatar or network indicator sends a test signal with
geo data. Backend formats it as "Тест от username" (🧪) instead of
"Сигнал" (🚨). Only active after login on main screen.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Gros Frumos 2026-03-21 16:06:02 +02:00
parent 0562cb4e47
commit 268fb62bf3
3 changed files with 54 additions and 5 deletions

View file

@ -25,6 +25,7 @@ class SignalRequest(BaseModel):
user_id: Optional[str] = None # UUID for legacy api_key auth; omit for JWT auth
timestamp: int = Field(..., gt=0)
geo: Optional[GeoData] = None
is_test: bool = False
class SignalResponse(BaseModel):