Skip to content

feat(PM-6433): render forum mentions and autocomplete handles - #2402

Merged
jmgasper merged 1 commit into
devfrom
fix/PM-6433-forum-mentions
Sep 25, 2026
Merged

jmgasper merged 1 commit into
devfrom
fix/PM-6433-forum-mentions

Conversation

@jmgasper

@jmgasper jmgasper commented Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes PM-6433.

Forum topic excerpts, posts, and editor previews render bare, braced, and straight/curly-quoted mentions as profile links colored by the member's public maximum rating. This includes existing @"Harshit.Chudasama" content shown in the Jira screenshot. Mention links remain clickable above the topic-card overlay; code blocks, inline code, existing links, and sanitized HTML retain their behavior.

Typing @ in the shared topic/comment/reply/edit composer opens debounced handle autocomplete using the member-accessible Members API endpoint. Arrow keys select a member, Enter/Tab or a click inserts @"handle", and Escape dismisses suggestions. Selection preserves surrounding text and the character limit; failed searches keep the draft editable.

Validation: yarn lint --fix; 43 passing forum, Markdown, autocomplete, parser, profile-link, and member-service tests; real ReactMarkdown rendering check for mention links, code/link preservation, and HTML sanitization; production build passed with NODE_OPTIONS=--max-old-space-size=8192.

@jmgasper
jmgasper requested a review from kkartunov as a code owner September 25, 2026 05:25
@jmgasper
jmgasper merged commit bda274b into dev Sep 25, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant