Page MenuHomePhabricator

Rely on notify plugin for alerts
Closed, ResolvedPublic

Description

Toolhub's source now has a notify plugin which is currently in use only in a few places such as store/auditlogs.js. For example:

this._vm.$notify.error(
	i18n.t( 'auditlogs-apierror', [ page, resp.error ] )
);

With this in place, alerts app-wide can have a set configuration, and there is no longer a need to use/define them several times in the .vue files. Ideally, all the store files can use this plugin to throw alerts, and then the use of v-alert can be eliminated from the corresponding .vue files.