Skip to content

Show user status in timeline#32991

Merged
dbkr merged 42 commits into
developfrom
hs/enable-profile-updates
Apr 29, 2026
Merged

Show user status in timeline#32991
dbkr merged 42 commits into
developfrom
hs/enable-profile-updates

Conversation

@Half-Shot

@Half-Shot Half-Shot commented Mar 31, 2026

Copy link
Copy Markdown
Member

This implements:

  • Slash command for setting status + emoji
  • Ability to see user status my that user's messages in their timeline
  • Labs flag for it to hide behind

Status isn't shown anywhere else yet.

Depends on matrix-org/matrix-js-sdk#5246 (merged)

Closes https://github.com/element-hq/wat-internal/issues/465

Checklist

Comment thread apps/web/src/components/views/messages/SenderProfile.tsx Outdated
Comment thread apps/web/src/slash-commands/SlashCommands.tsx Fixed
expect(screen.getByText("Early previews")).toBeInTheDocument();
const labsSections = container.getElementsByClassName("mx_SettingsSubsection");
expect(labsSections).toHaveLength(8);
expect(labsSections).toHaveLength(9);

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.

I somewhat question the utility of this test but I've updated the number rather than contest it.

@dbkr dbkr marked this pull request as ready for review April 27, 2026 14:23
@dbkr dbkr requested a review from a team as a code owner April 27, 2026 14:23
@dbkr dbkr requested review from florianduros and t3chguy April 27, 2026 14:23
Comment thread apps/web/src/hooks/useUserStatus.ts
"no_args": "No arguments provided. You should supply an emoij and an optional text component.",
"no_emoji": "You did not provide an emoji",
"no_text": "You did not provide any status text",
"too_long_emoji": "The first argument must be an emoji",

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.

i18n key meaning seems different than the translation

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.

Well, it's checking that the emoji is a single grapheme, so the error is that more than one grapheme is "not an emoji" in that it could be multiple emoji, or letters etc. Commented.

@dbkr dbkr added this pull request to the merge queue Apr 28, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 28, 2026
@dbkr dbkr added this pull request to the merge queue Apr 28, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 28, 2026
@dbkr dbkr added this pull request to the merge queue Apr 29, 2026
Merged via the queue into develop with commit 4bee845 Apr 29, 2026
53 of 55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants