82e400ddcd
Chat language: - Added language_code field to TelegramChat model + migration - Saved from message.from.language_code on webhook/polling - Displayed as badge on bot chat cards and target receiver items - Resolved from DB in target API response (works for existing receivers) - Shown in chat picker dropdown (desc includes language) EntitySelect improvements: - Tracker-target link selector shows all targets, already-linked ones appear disabled with "Already linked" hint - Receiver chat picker shows already-added chats as disabled Dev scripts: - scripts/restart-backend.sh and restart-frontend.sh - Updated .claude/docs/dev-servers.md to reference scripts
18 lines
585 B
Markdown
18 lines
585 B
Markdown
# Development Servers
|
|
|
|
**MANDATORY**: You MUST restart the backend server IMMEDIATELY after ANY backend code change (files in `packages/server/` or `packages/core/`). Do NOT wait for the user to ask — restart automatically every time. Failure to restart means the user will test against stale code and encounter bugs that don't exist.
|
|
|
|
```bash
|
|
bash scripts/restart-backend.sh
|
|
```
|
|
|
|
**IMPORTANT**: When the user requests it, restart the frontend dev server:
|
|
|
|
```bash
|
|
bash scripts/restart-frontend.sh
|
|
```
|
|
|
|
## Test Credentials
|
|
|
|
Default test account: username `admin`, password `admin1`.
|