Commit Graph
6 Commits
Author SHA1 Message Date
Dean Sheather 07d6f68176 fix: censor tell target in Eureka in ScreenshotMode 2024-04-11 18:24:56 +10:00
Dean Sheather 87e6573e9b fix: hide unused ECLS indices from chat selector menu
Checks each ExtraChat channel from 1-8 to see if a matching `/eclX`
command is registered in Dalamud before showing it in the list.
2024-04-11 03:40:31 +10:00
Dean Sheather 8ed6c909cb fix: avoid double-up player names in screenshot mode, censor tell target
In party chat, players from other servers seem to have extra (empty)
text chunks with the same PlayerPayload link. The screenshot mode code
would replace all chunks with the hashed player name.

Changes the screenshot mode code to skip changing the chunk content for
PlayerPayload chunks unless the content contans the player name.

Also censors the tell target above the chat input.
2024-04-10 03:25:59 +10:00
Dean Sheather 2ed125d520 feat: allow tab input channel to be set to ExtraChat
Adds ExtraChat Linkshell channels to tab input channel selector. These are only by index, not by channel name due to limitations in the ExtraChat IPC API.

Adds ExtraChat Linkshell channels to the channel selector in the chat log window. As these aren't real channels in-game, these are handled by just sending the corresponding `/eclX` command which causes ExtraChat to set a channel override.
2024-04-09 18:32:10 +10:00
Dean Sheather ae6c966e27 feat: copy directly to clipboard, add copy content option
Moves the options in the "Chat 2" submenu when right clicking a message
to the parent menu if there are no specific context menu items for the
right clicked payload. This moves the "Copy" button to the main context
menu in the majority of cases and reduces the amount of clicks required
to copy.

Changes the "Copy" button to copy directly to the system clipboard and
adds a notification.

Adds a "Copy content" button beneath the "Copy" button which only copies
the message content (not the sender). If the message doesn't have a
sender, this option does not appear as they function identically in such
cases.
2024-04-09 15:51:42 +10:00
Dean Sheather 4701bb3f6d feat: clickable URLs in chat log
Adds a parsing step when constructing `Message` objects that scans the
message content for anything that looks URL-like, and inserts new
`TextChunk`s into the message content with a URIPayload set.

Hovering over a URL shows an on-hover effect. Clicking a URL opens it in
the default browser. Right clicking shows the hostname, with an option
to open and an option to copy the URL to the clipboard.
2024-04-09 15:40:27 +10:00