Skip to content

feat: add support for @all member mention - #54

Merged
babblebey merged 7 commits into
mainfrom
feat/all-mention
Jul 12, 2026
Merged

babblebey merged 7 commits into
mainfrom
feat/all-mention

Conversation

@babblebey

Copy link
Copy Markdown
Member

This pull request implements support for the @all member mention feature, allowing OWNER and ADMIN users to mention all claimed members of a family in posts and comments. The implementation spans the database schema, backend, and frontend, ensuring that @all is treated as a structured, role-gated mention type, with correct notification fan-out, deduplication, and rendering. The changes also update tests and acceptance criteria to cover the new behavior.

Database and Schema Changes:

  • Introduced a new MentionKind enum (MEMBER, ALL) in the Prisma schema and database, and updated PostMention and CommentMention models to support the @all mention kind with an optional mentionedMemberId field.

Backend and Notification Logic:

  • Updated backend logic to distinguish and process @all mentions, ensuring correct authorization (OWNER/ADMIN only), recipient expansion, deduplication, and notification fan-out, while preserving existing mention notification types and behavior.

Frontend Authoring and Rendering:

  • Modified mention suggestion, authoring, and rendering logic to include @all for eligible users, display it as a special token, and handle it in all relevant UI and data mapping locations.

Testing and Acceptance:

  • Added and updated tests to cover all major scenarios for @all, including suggestion filtering, insertion, deduplication, authorization, notification fan-out, and rendering, and updated acceptance criteria to ensure no regression in existing mention flows.

Screencast/Screenshot

screen-capture.85.webm

@babblebey
babblebey merged commit 8c68b66 into main Jul 12, 2026
4 checks passed
@babblebey
babblebey deleted the feat/all-mention branch July 12, 2026 13:10
github-actions Bot pushed a commit that referenced this pull request Jul 12, 2026
# [1.1.0](v1.0.0...v1.1.0) (2026-07-12)

### Features

* add support for [@ALL](https://github.com/all) member mention ([#54](#54)) ([8c68b66](8c68b66))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant