Skip to content

Highlight @username mentions in task description - #285

Open
Abhishek4512009 wants to merge 1 commit into
anoopcodehack:mainfrom
Abhishek4512009:feat/mention-highlights
Open

Highlight @username mentions in task description#285
Abhishek4512009 wants to merge 1 commit into
anoopcodehack:mainfrom
Abhishek4512009:feat/mention-highlights

Conversation

@Abhishek4512009

Copy link
Copy Markdown

Fixes #279

TaskModal renders the description in an editable textarea (no separate read mode), so this adds a live preview below the textarea that highlights @username mentions in purple. Uses split(/(@\w+)/g) + map (no dangerouslySetInnerHTML), so it's XSS-safe. JSX verified with esbuild.

Splits the description on @word tokens and renders mentions with a purple
highlight in a live preview below the textarea. Uses split+map (not
dangerouslySetInnerHTML) so it is XSS-safe.

Closes anoopcodehack#279
@Abhishek4512009
Abhishek4512009 force-pushed the feat/mention-highlights branch from 7cd9f67 to 62371c3 Compare August 20, 2026 17:46
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.

Highlight @username mentions in task description 👥

1 participant