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

Hotkey for toggling CW does not work when grouped notifications are enabled #2792

Open
ClearlyClaire opened this issue Jul 23, 2024 · 0 comments
Labels

Comments

@ClearlyClaire
Copy link

ClearlyClaire commented Jul 23, 2024

Issue introduced by #2791

Steps to reproduce the problem

  1. Enable grouped notifications
  2. Receive a mention with a CW
  3. Press “x” when the post is selected

Expected behaviour

CW state should toggle

Actual behaviour

CW state does not toggle

Detailed description

The issue is not present when the “Show/hide content of all copies at once” setting is enabled.

This is because, when this setting is not enabled, the CW state is handled by the Status component, which in our case is a descendant of the NotificationWithStatus component, which is the one handling the hotkey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant