Files
chat/todo.md
2026-08-26 13:19:14 +10:00

1.7 KiB

Toora St Chat - Development Roadmap

Core Fixes (COMPLETED)

  • Fix message loading after login - ensure auth token is attached to all PocketBase requests
  • Fix Apprise notification routing - send only to selected recipients
  • PocketBase Delete Rule: Set to @request.auth.id = sender (creator can delete)
  • Fix desktop "New Message" button visibility (removed lg:hidden)
  • Fix Save/Read/Delete with proper error handling and UI feedback
  • Fix send message - removed recipients relation field from payload (causing 400)
  • Fix auto-scroll issue - removed scrollIntoView and messagesEndRef
  • Composer auto-hides after successful send
  • Fix Apprise CORS in dev - added /notify proxy to vite.config.ts
    • Dev server now proxies apprise requests through localhost:3000

Pages & Navigation (COMPLETED)

  • Remove Archive page and nav link
  • Saved/Pinned Messages panel at bottom of Inbox (collapsible)

Messaging (COMPLETED)

  • Recipient-aware sending (Family or individual)
  • Message reading panel - click to expand inline
  • Saved messages (bookmark icon, toggle save, pinned section)
  • Auto-cleanup - load only last 30 regular messages
    • Saved messages loaded separately, no age limit

Attachments (PARTIAL)

  • Inline image preview and download link
  • Upload via PocketBase media collection (UI ready, needs backend)

Production Notes

  • Apprise CORS on production requires .35 Caddy to allow chat.lab.audasmedia.com.au origin
  • This is a server config issue, not frontend code

Explicitly NOT Doing

  • No search, reactions, archive, threading, read receipts

Design Principles

  • Family message sender, not full chat system
  • Simple, fast, mobile-first
  • PocketBase single source of truth