mirror of
https://github.com/Luchexx/wacrm.git
synced 2026-11-02 17:29:45 +00:00
Wraps the new `case 'interactive'` rendering with `isFlowsEnabled(profile)` from the beta-features module that landed in #113. Non-beta accounts fall back to the plain-text rendering for `content_type='interactive'` rows — they get the option title as text, no special "↩ Button reply" affordance. Why this gate exists even though the case is unreachable today: - No code path on this branch produces `content_type='interactive'` rows. The flow runner that does is upcoming (PR #2), and it'll be behind the same gate. - But: if a stray interactive row ever shows up in a non-beta account (manual SQL insert, data import, future bug), we'd rather the account see boring plain text than UI for a feature they haven't opted into. - The cost is ~3 LoC and one hook call. Pure paranoia insurance. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| contact-sidebar.tsx | ||
| conversation-list.tsx | ||
| message-actions.tsx | ||
| message-bubble.tsx | ||
| message-composer.tsx | ||
| message-reactions.tsx | ||
| message-thread.tsx | ||
| reply-quote.tsx | ||
| template-picker.tsx | ||