Files
twenty/packages
Sonarly Claude Code c6b6384fe0 fix: add visual disabled state for restricted-visibility email thread rows
https://sonarly.com/issue/21284?type=bug

Users on the company record Emails tab rage-click on email thread rows that have METADATA or SUBJECT visibility, which silently blocks the click without adequate visual feedback.

Fix: Added visual disabled state (opacity: 0.5) to the `ActivityRow` component when the `disabled` prop is true.

Previously, disabled `ActivityRow` items only changed the cursor from `pointer` to `default` — a subtle cue easily missed, especially on Mac trackpads. Email thread rows with restricted visibility (METADATA or SUBJECT mode) appeared nearly identical to clickable rows, leading users to rage-click them expecting the side panel to open.

The fix passes the existing `disabled` prop through to the `StyledRowContentContainer` and applies `opacity: 0.5` when disabled. This is consistent with standard disabled-element UX patterns and makes it immediately visually apparent that the row is non-interactive. The existing "Not shared" lock icon + text indicator is preserved alongside this new visual cue.

This benefits all three consumers of `ActivityRow`: email thread previews, attachment rows, and task rows.
2026-04-02 16:43:31 +00:00
..