discourse/plugins
Kris 791908bf7b
DEV: unify presence avatar size to make layout shift less likely (#33844)
Concerns the presence indicator at the bottom of topics, "replying..."
seen here:

<img width="294" height="198" alt="image"
src="https://github.com/user-attachments/assets/3997ecee-eacd-4cf7-9754-4306434da1bc"
/>
 
 
Previously we've had cases where the min-height of this element had
regressed and ends up causing unwanted layout shift on appearance. (See
https://github.com/discourse/discourse/pull/33022)

Rather than relying on having the correct magic number here, I've
centralized the avatar size in a variable. This then gets translated to
a CSS variable and also passed to the component that renders the avatar.

This ensures that `min-height: calc(var(--avatar-min-height) + 1px);`
will be larger than the avatar and we won't have to worry about our CSS
falling out of sync.
2025-07-24 17:18:06 -04:00
..
automation DEV: Remove unnecessary rails_helper requires (#33812) 2025-07-24 13:50:04 +02:00
chat DEV: Fix random typos (#33839) 2025-07-24 22:04:13 +02:00
checklist DEV: Silence post-stream-widget-overrides in the checklist plugin (#33743) 2025-07-22 14:47:33 -03:00
discourse-adplugin DEV: Fix various lint issues (#33811) 2025-07-24 15:27:04 +02:00
discourse-affiliate Update translations (#33821) 2025-07-24 12:09:41 +02:00
discourse-ai DEV: Fix random typos (#33839) 2025-07-24 22:04:13 +02:00
discourse-apple-auth DEV: Remove unnecessary rails_helper requires (#33812) 2025-07-24 13:50:04 +02:00
discourse-assign DEV: Fix random typos (#33839) 2025-07-24 22:04:13 +02:00
discourse-calendar DEV: Fix various lint issues (#33811) 2025-07-24 15:27:04 +02:00
discourse-chat-integration DEV: Fix random typos (#33839) 2025-07-24 22:04:13 +02:00
discourse-data-explorer DEV: Fix various lint issues (#33811) 2025-07-24 15:27:04 +02:00
discourse-details UX: show all preinstalled plugins and label them as such (#33681) 2025-07-17 15:11:52 -04:00
discourse-gamification DEV: Fix various lint issues (#33811) 2025-07-24 15:27:04 +02:00
discourse-github DEV: Fix random typos (#33839) 2025-07-24 22:04:13 +02:00
discourse-graphviz Update translations (#33821) 2025-07-24 12:09:41 +02:00
discourse-hcaptcha DEV: Remove unnecessary rails_helper requires (#33812) 2025-07-24 13:50:04 +02:00
discourse-lazy-videos UX: show all preinstalled plugins and label them as such (#33681) 2025-07-17 15:11:52 -04:00
discourse-local-dates DEV: updates playwright to 1.54 (#33715) 2025-07-24 10:07:31 +02:00
discourse-login-with-amazon DEV: Remove unnecessary rails_helper requires (#33812) 2025-07-24 13:50:04 +02:00
discourse-lti DEV: Remove unnecessary rails_helper requires (#33812) 2025-07-24 13:50:04 +02:00
discourse-math DEV: Remove unnecessary rails_helper requires (#33812) 2025-07-24 13:50:04 +02:00
discourse-microsoft-auth Update translations (#33746) 2025-07-23 00:13:58 +02:00
discourse-narrative-bot UX: show all preinstalled plugins and label them as such (#33681) 2025-07-17 15:11:52 -04:00
discourse-oauth2-basic DEV: Remove unnecessary rails_helper requires (#33812) 2025-07-24 13:50:04 +02:00
discourse-openid-connect DEV: Remove unnecessary rails_helper requires (#33812) 2025-07-24 13:50:04 +02:00
discourse-patreon DEV: Fix random typos (#33839) 2025-07-24 22:04:13 +02:00
discourse-policy DEV: Fix various lint issues (#33811) 2025-07-24 15:27:04 +02:00
discourse-post-voting DEV: Fix random typos (#33839) 2025-07-24 22:04:13 +02:00
discourse-presence DEV: unify presence avatar size to make layout shift less likely (#33844) 2025-07-24 17:18:06 -04:00
discourse-reactions DEV: Fix various lint issues (#33811) 2025-07-24 15:27:04 +02:00
discourse-rss-polling DEV: Remove unnecessary rails_helper requires (#33812) 2025-07-24 13:50:04 +02:00
discourse-solved DEV: Fix random typos (#33839) 2025-07-24 22:04:13 +02:00
discourse-subscriptions DEV: Fix various lint issues (#33811) 2025-07-24 15:27:04 +02:00
discourse-templates DEV: Fix various lint issues (#33811) 2025-07-24 15:27:04 +02:00
discourse-topic-voting DEV: Fix various lint issues (#33811) 2025-07-24 15:27:04 +02:00
discourse-user-notes DEV: Remove unnecessary rails_helper requires (#33812) 2025-07-24 13:50:04 +02:00
discourse-zendesk-plugin DEV: Remove unnecessary rails_helper requires (#33812) 2025-07-24 13:50:04 +02:00
footnote UX: rich editor footnotes position (#32566) 2025-05-05 09:12:09 -03:00
poll UX: show all preinstalled plugins and label them as such (#33681) 2025-07-17 15:11:52 -04:00
spoiler-alert DEV: Replace toolbar popup menu with DMenu (#33247) 2025-07-03 09:57:16 +10:00
styleguide DEV: Remove unnecessary rails_helper requires (#33812) 2025-07-24 13:50:04 +02:00