Skip to content

mv2: Support nearly every type of message deletion#227

Merged
KentoNishi merged 7 commits into
LiveTL:mv2from
FlaminSarge:deletions-mv2
May 24, 2026
Merged

mv2: Support nearly every type of message deletion#227
KentoNishi merged 7 commits into
LiveTL:mv2from
FlaminSarge:deletions-mv2

Conversation

@FlaminSarge
Copy link
Copy Markdown
Member

@FlaminSarge FlaminSarge commented May 13, 2026

  • Delete self messages, on own or other streams (retract a message)
  • Streamer/mods can delete others' messages
  • Removed messages get italic/faded style (as before). Pending removals get a strikethrough. The entire line gets 50% opacity, so emoji-only message deletions can be detected by the avatar/username getting faded.
  • Removal success alert no longer shows, instead doing the style changes above.
  • Moderators will see "View deleted message" to show the original message
  • Already-deleted messages no longer show the delete option
  • If someone else deletes their own message it'll show the strikethrough/etc.
  • Adjust the style of the dropdown menu buttons

Fair warning: Claude-assisted.

Includes moderation deletions, self-deletions, etc.
Also solves an issue where the message menu would cause it to run out of space and overflow
@FlaminSarge FlaminSarge changed the base branch from main to mv2 May 13, 2026 13:21
@FlaminSarge FlaminSarge marked this pull request as ready for review May 13, 2026 13:38
@KentoNishi KentoNishi requested a review from r2dev2 May 15, 2026 19:56
@KentoNishi
Copy link
Copy Markdown
Member

@r2dev2 check this thoroughly for ff

i approb #228 the mv3 equiv

if this is all good too then we can merge both

class="ml-1 align-middle text-xs cursor-pointer text-deleted-light dark:text-deleted-dark bg-transparent border-0 p-0"
>
<MessageRun
runs={toggleLabelRuns}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

throws a TS error that toggleLabelRuns may be undefined, but from code inspection, deleted?.viewOriginalText ensures that it is not

@KentoNishi KentoNishi merged commit bb8ccef into LiveTL:mv2 May 24, 2026
1 check passed
@FlaminSarge FlaminSarge deleted the deletions-mv2 branch May 25, 2026 11:20
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.

3 participants