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

Implement more comprehensive notification system for user actions #376

Open
greatislander opened this issue Sep 4, 2020 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@greatislander
Copy link
Collaborator

greatislander commented Sep 4, 2020

Is your feature request related to a problem? Please describe.

Currently notifications are presented using this controller:

public function notifications()
{
if (isset($_POST['do_not_track_viewed_resources'])) {
return [
[
'title' => __('Settings saved'),
'type' => 'success',
'content' => sprintf('<p>%s</p>', __('Your settings have been saved.', 'coop-library'))
]
];
}
}

This only handles one situation (saving settings related to tracking resource views).

Describe the solution you'd like

A more flexible notification system could handle future actions like submitting resources, reporting issues or broken links, or suggesting edits.

Describe alternatives you've considered

Not applicable.

Additional context

Not applicable.

@greatislander greatislander added the enhancement New feature or request label Sep 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant