feat: entity cache system, nav UX improvements, split CLAUDE.md
- Add $state-based entity cache layer with 30s TTL, request deduplication, and local mutation helpers (entity-cache.svelte.ts + caches.svelte.ts) - Wire all 10 page components to use shared caches for cross-page data - Add slide animation for nav tree expand/collapse with rotating chevron - Remove aggregate count badges from container nav nodes (keep on leaves) - Convert Targets from flat leaf to group with per-type children (Telegram, Webhook, Email, Discord, Slack, ntfy, Matrix) - Add URL-based type filtering on Targets page with per-type descriptions - Add Bots group children for Email and Matrix alongside Telegram - Tab-based routing for bots page (?tab=telegram/email/matrix) - Add per-type target counts and email/matrix bot counts to /status/counts - Split CLAUDE.md into focused context files under .claude/docs/ - Fix .gitignore: scope lib/ to root, allow .claude/docs/ tracking - Clear all caches on logout - Reset form state when switching target type tabs
This commit is contained in:
@@ -26,7 +26,14 @@
|
||||
"telegram": "Telegram",
|
||||
"email": "Email",
|
||||
"matrix": "Matrix",
|
||||
"common": "Общие"
|
||||
"common": "Общие",
|
||||
"targetTelegram": "Telegram",
|
||||
"targetWebhook": "Webhook",
|
||||
"targetEmail": "Email",
|
||||
"targetDiscord": "Discord",
|
||||
"targetSlack": "Slack",
|
||||
"targetNtfy": "ntfy",
|
||||
"targetMatrix": "Matrix"
|
||||
},
|
||||
"auth": {
|
||||
"signIn": "Войти",
|
||||
@@ -188,7 +195,14 @@
|
||||
},
|
||||
"targets": {
|
||||
"title": "Получатели",
|
||||
"description": "Адреса уведомлений (Telegram, Discord, Slack, Email, ntfy, Matrix, вебхуки)",
|
||||
"description": "Адреса доставки уведомлений",
|
||||
"descTelegram": "Чаты Telegram для доставки уведомлений",
|
||||
"descWebhook": "HTTP вебхуки для доставки уведомлений",
|
||||
"descEmail": "Email-адреса для доставки уведомлений",
|
||||
"descDiscord": "Вебхуки каналов Discord для уведомлений",
|
||||
"descSlack": "Вебхуки каналов Slack для уведомлений",
|
||||
"descNtfy": "Топики ntfy для push-уведомлений",
|
||||
"descMatrix": "Комнаты Matrix для доставки уведомлений",
|
||||
"addTarget": "Добавить получателя",
|
||||
"cancel": "Отмена",
|
||||
"type": "Тип",
|
||||
|
||||
Reference in New Issue
Block a user