tools announcements - BevvyTech/BrewskiDocs GitHub Wiki
Tools – Announcements (/tools/announcements)
Purpose
Let super users draft, schedule, and publish announcements, blog posts, tutorials, and release notes for Brewski users.
Manage lifecycle of announcements (create, edit, delete, toggle visibility, upload hero imagery) from a single screen.
Data & Dependencies
Lists announcements via announcementsService.list using current filters (type, search, pagination).
Create/update/delete operations post through announcementsService helpers and require super-user access tokens.
Image uploads rely on CloudUpload form input; Quill editor handles rich-text article content.
Key Interactions
Filter bar supports type dropdown, search box, and pagination; table displays title, type, publish dates, status flags, and action buttons.
Modal form (create/edit) captures title, message, content, tags, publish time, buttons (CTA links), and image; includes toggle to exclude from AI search.
Inline previews show selected hero imagery; removal checkbox marks assets for deletion on save.
Success/error alerts surface API results; linear progress strips indicate list fetching or form submissions.