Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add c:disable-comments control tag #3178

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

keikari
Copy link
Contributor

@keikari keikari commented Nov 15, 2024

Adds c:disable-comments control tag.
Should handle:
-videos
-markdowns
-other-stream-claims
-livestream chat

The disable comments option is filtered from channel page to not cause confusion with the existing setting.

Note:
I wanted to just create selectCommentsDisabledForUri selector, but for some reason importing this in redux/selectors/claims breaks things:
import { selectCommentsDisabledSettingForChannelId } from 'redux/selectors/comments';

Couldn't figure out why. So instead just added the tag check separately to places where needed.

Error

2024-11-15_19-56

@tzarebczan tzarebczan merged commit 9df5cd6 into OdyseeTeam:master Nov 18, 2024
2 checks passed
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.

2 participants