Skip to content

Show online status ring on DM tab icons - #1649

Open
SkyJoshua wants to merge 3 commits into
version/0.8.0from
feat/dm-tab-status-ring
Open

Show online status ring on DM tab icons#1649
SkyJoshua wants to merge 3 commits into
version/0.8.0from
feat/dm-tab-status-ring

Conversation

@SkyJoshua

@SkyJoshua SkyJoshua commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Summary

This came from an idea in #1446 — I thought it'd be a nice touch, so here's my take on how to build it. DM tabs at the top now show the other user's live avatar (with the same online/away/DND status ring used in the sidebar and message list) instead of a static icon, so you can tell someone's status at a glance without opening the chat.

Changes

  • Channel.GetDmUserAsync() resolves the other member (or yourself, for a self-DM) of a DM channel
  • WindowContent can carry an optional live IconUser; when set, the tab strip renders a UserAvatar with its status ring instead of the plain icon image
  • The status ring persists across a page reload (saved/restored alongside the rest of a tab's layout state), not just for tabs opened in the current session
  • Tightened the status ring's gap on UserAvatar generally — it read as a bit too spaced out from the picture at any size, not just in the tab strip

Images

Before:
image

After:
image

DM tabs now show the other user's live avatar with the same online-status
ring used elsewhere, instead of a static icon. Also tightened that ring's
gap globally, since it looked a bit too spaced out at any size.
@SkyJoshua
SkyJoshua requested a review from a team as a code owner August 2, 2026 00:56
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 2, 2026

Copy link
Copy Markdown

Deploying valour with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4433bbb
Status: ✅  Deploy successful!
Preview URL: https://9d7cba94.valour.pages.dev
Branch Preview URL: https://feat-dm-tab-status-ring.valour.pages.dev

View logs

Comment thread Valour/Client/Components/DockWindows/WindowSaveLoadAdapter.cs Outdated
Co-authored-by: Vitaly Orekhov <vkvo2000@vivaldi.net>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 2, 2026

Copy link
Copy Markdown

Deploying valour-marketing with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4433bbb
Status: ✅  Deploy successful!
Preview URL: https://fa775b99.valour-marketing.pages.dev
Branch Preview URL: https://feat-dm-tab-status-ring.valour-marketing.pages.dev

View logs

Comment thread Valour/Client/Components/DockWindows/WindowTab.cs Outdated
Co-authored-by: Vitaly Orekhov <vkvo2000@vivaldi.net>
@SigmaTel71 SigmaTel71 linked an issue Aug 7, 2026 that may be closed by this pull request
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.

📦 Feature - Seeing people's Status from tab bar

2 participants