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

Remove nonexisting function #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Remove nonexisting function #19

wants to merge 1 commit into from

Conversation

neon-dev
Copy link

Removed delete function of crate notifications, which is not implemented.

Maybe you want to consider renaming the hide function to delete in the next major version and add an option to decrement the unread count on delete.
The current implementation for hide is not a real hide, since the message can't be unhidden (which is fine, except for the naming).
Currently the only way to clear the crate notification icon without toggling the button is:

crate.store.dispatch({ type: 'REMOVE_NOTIFICATION', payload: { decrement: true } })

@neon-dev neon-dev closed this by deleting the head repository Feb 26, 2023
@neon-dev neon-dev reopened this Feb 26, 2023
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.

1 participant