Skip to content

Remove Noty.js (CO-2931) #72

Merged
merged 1 commit into from
Feb 5, 2026
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,5 @@ files and utilities for further information:
Open Sans (app/webroot/css/fonts/opensans)
Apache 2.0
https://fonts.google.com/specimen/Open+Sans

noty (app/webroot/js/jquery/noty)
MIT License
http://ned.im/noty

---------------------------------------------------------------------------
3 changes: 0 additions & 3 deletions app/templates/layout/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,6 @@
<?= $this->Html->script([
'bootstrap/bootstrap.bundle.min.js',
'js-cookie/js.cookie-2.1.3.min.js',
'jquery/noty/jquery.noty.js',
'jquery/noty/layouts/topCenter.js',
'jquery/noty/themes/comanage.js',
'comanage/match-lib.js',
'comanage/match-onload.js'
]) . "\n" ?>
Expand Down
11 changes: 0 additions & 11 deletions app/webroot/css/co-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -328,17 +328,6 @@ body.logged-in #top-menu {
clear: both;
padding: 1em 0;
}
/* NOTICES */
.noty_text {
letter-spacing: 0.3px;
font-size: 14px;
}
.noty_text .material-icons {
font-size: 20px !important;
padding: 0;
margin: 0 4px 0 -10px;
vertical-align: text-bottom;
}
/* ALERT MESSAGES */
#flash-messages {
margin: 0;
Expand Down
11 changes: 0 additions & 11 deletions app/webroot/js/comanage/match-lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,6 @@
* @license Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
*/

// Generate flash notifications for messages
function generateFlash(text, type) {
var n = noty({
text: text,
type: type,
dismissQueue: true,
layout: 'topCenter',
theme: 'comanage'
});
}

// Generate a loading animation by revealing a persistent hidden div with CSS animation.
// An element's onclick action will trigger this to appear if it has the class "spin" class on an element.
// (See Template/Elements/javascript.ctp)
Expand Down
20 changes: 0 additions & 20 deletions app/webroot/js/jquery/noty/LICENSE.txt

This file was deleted.

Loading