Commit 1b3bc87
feat(web): open chat links in new tab with external link icon
- Add custom anchor renderer to MarkdownRenderer component
- Set target='_blank' and rel='noopener noreferrer' on all links
- Display subtle ExternalLinkIcon (↗) after link text
- Icon uses opacity-60 for muted appearance in both themes
Fixes SOU-822
Co-authored-by: Michael Sukkarieh <msukkari@users.noreply.github.com>1 parent 2fa86ff commit 1b3bc87
File tree
1 file changed
+17
-1
lines changed- packages/web/src/features/chat/components/chatThread
1 file changed
+17
-1
lines changedLines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
174 | 189 | | |
175 | 190 | | |
176 | 191 | | |
| |||
239 | 254 | | |
240 | 255 | | |
241 | 256 | | |
| 257 | + | |
242 | 258 | | |
243 | 259 | | |
244 | 260 | | |
| |||
0 commit comments