This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/tests/integration/components/user-menu
Martin Brennan d379edec8d
FIX: Clientside checks for personal_message_enabled_groups (#18691)
The clientside allowPersonalMessages function introduced
in e62e93f83a sometimes did not
work correctly, because the currentUser.groups property
only contained **visible** groups for the current user, which
could exclude auto groups that had their permissions set to
be owner-only visible.

It was unnecessary to add this anyway since we already have
can_send_private_messages on the CurrentUserSerializer. It's
better the backend does this calculation anyway. Use that
in the clientside code instead and get rid of allowPersonalMessages
2022-10-21 14:38:33 +10:00
..
bookmarks-list-test.js FEATURE: unified user menu notifications count (#18132) 2022-08-31 11:16:28 +10:00
menu-item-test.js DEV: Use async and sinon.resolves instead of rsvp (#18001) 2022-08-20 11:20:55 +02:00
menu-test.js FIX: Clientside checks for personal_message_enabled_groups (#18691) 2022-10-21 14:38:33 +10:00
messages-list-test.js DEV: Add group messages and group_message_summary notifications in the messages tab in the user menu (#18390) 2022-09-30 08:44:04 +03:00
notifications-list-test.js DEV: Include pending reviewables in the main tab in the user menu (#18471) 2022-10-05 12:30:02 +03:00
other-notifications-list-test.js DEV: Improve UX for user menu tabs when they're empty (#18520) 2022-10-11 18:33:09 +03:00
replies-notifications-list-test.js DEV: Improve UX for user menu tabs when they're empty (#18520) 2022-10-11 18:33:09 +03:00
reviewables-list-test.js DEV: Add reviewables tab to the new user menu (#17630) 2022-07-28 11:16:33 +03:00