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 notifications support to CommunicationPanel #1163

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

azangru
Copy link
Collaborator

@azangru azangru commented Sep 1, 2024

Description

Up until now, the CommunicationPanel (the panel that slides from the right upon click on the conversation icon) only showed the "Contact Us" form. This PR adds the capability to show notifications ("Messages").

The proper, long-term architecture for notifications is unclear. For now, the requirement is only to show one notification ("welcome to beta, etc."), which automatically opens the communication panel if the user hasn't seen it. If the user simply closes the panel or clicks on the "use beta" button, the notification remains accessible (shows up as a green dot next to the conversation icon). If the user chooses to "clear the message", it disappears completely.

notifications.mp4

I wonder if the is_important: true field should instead be something like behavior: "noisy".

Related JIRA Issue(s)

https://www.ebi.ac.uk/panda/jira/browse/ENSWBSITES-2690

Deployment URL(s)

http://announce-rapid.review.ensembl.org

@azangru azangru requested a review from imransl September 1, 2024 15:20
@azangru
Copy link
Collaborator Author

azangru commented Sep 3, 2024

NOTE: this shouldn't be merged and released until roughly beta3.

@bethflint
Copy link

I believe that the behaviour is as intended.

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.

3 participants