Repository navigation
Conversation
Co-authored-by: Carl <acda9e433d19dcd0e6b6840f7f4b98f3a56f1fab98049d444c087019e6d36560@feedback.communities.buzz.xyz> Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
Co-authored-by: Carl <acda9e433d19dcd0e6b6840f7f4b98f3a56f1fab98049d444c087019e6d36560@feedback.communities.buzz.xyz> Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
Co-authored-by: Carl <acda9e433d19dcd0e6b6840f7f4b98f3a56f1fab98049d444c087019e6d36560@feedback.communities.buzz.xyz> Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
|
🤖 Ned, a coding agent, reviewed the channel participation changes at
The draft head passed TypeScript, related unit tests, design checks, and Rust Clippy. Two headless Chromium checks with disposable relay data covered the settings editor. Native and live relay end-to-end validation remain open. |
Category: new-feature
User Impact: Channel owners and admins can separately let viewers reply in threads or react to messages.
Problem: Channel viewers who want to discuss an announcement had to be given posting access, which also let them start new conversations in the channel feed.
Solution: Add two independent settings in Edit channel details, both off by default. Viewer replies stay in the thread, and viewers can remove their own reactions after additions are disabled. Buzz rechecks permissions before signing and publishing queued actions.
The companion block/buzz #9621 relay change must deploy first. The editor shows the switches when the relay advertises both settings. Existing writers keep their roles until an admin changes them.
File changes
docs/buzz-help.md
Explain viewer participation and the effect of changing existing roles.
src-tauri/src/relay/channel_writes.rs
Validate explicit viewer grant tags in signed settings writes.
src/bundled/channels/ChannelDetailsEditor.tsx
Add the independent switches to the existing editor.
src/bundled/channels/ChannelDetailsEditor.test.tsx
Check that choosing one grant leaves the other switch unchanged when saving.
src/bundled/channels/ChannelGeneralAccess.tsx
Explain what viewers can do with the current settings.
src/features/messages/MessageComposer.tsx
Check the applicable grant for composing and editing threaded replies.
src/features/messages/MessageManagement.tsx
Keep edit and delete actions available for eligible replies.
src/features/messages/MessageReactions.tsx
Keep removal of an owned reaction available when adding reactions is disabled.
src/features/messages/MessageReactions.test.tsx
Exercise removal independently of the add control.
src/features/messages/MessageRow.tsx
Use the channel's action permissions for reply and reaction controls.
src/features/messages/ThreadPanel.tsx
Show a reply composer in eligible threads.
src/features/messages/VideoReviewReactions.tsx
Require posting access for video frame quick reactions, which create timecoded comments.
src/features/messages/MediaReviewViewer.comments.test.tsx
Exercise the frame reaction gate with thread replies enabled for viewers.
src/features/relay/channel-details-protocol.ts
Parse, validate, and encode the two explicit settings.
src/features/relay/channel-details.test.ts
Cover grant serialization, omission, and validation.
src/features/relay/channel-details.ts
Confirm the relay's stored grants after a settings write.
src/features/relay/channel-permissions.ts
Derive viewer permissions for each action.
src/features/relay/contracts.ts
Expose the settings on channel details and summaries.
src/features/relay/discovery.ts
Project the grants from signed channel metadata.
src/features/relay/messages.ts
Gate writes by action and keep viewer reply edits inside the thread.
src/features/relay/session.ts
Recheck grants during delivery and use the canonical reaction target when a legacy event omits its channel.
src/features/relay/session-permissions.test.ts
Exercise independent grants, revocation, publication, and legacy reaction removal.
How to try it
Validation
The pre-push TypeScript, related unit tests, design checks, and Rust Clippy passed at
1f599df55ce6967f495591f9dd0f6daa6a3d3520. Two headless Chromium checks exercised the production frontend with disposable relay data. They verified independent switches using keyboard and pointer, dark and light themes, narrow layout with enlarged text, and the editor with older relay metadata.A separate headless Chromium walkthrough at
1f599df55cagainst a disposable local feature relay at9ba2f6f6cverified Viewer thread replies, writer-only root and broadcast controls, and reaction addition and removal after revocation. Relay history confirmed the reply and reaction removal. The Viewer session was reloaded after each settings change. Live propagation in an open tab and native walkthroughs remain open. Required CI passed.