Toastify is always loaded from CDN

Created on 23 April 2021, over 4 years ago
Updated 23 July 2025, 3 months ago

Problem/Motivation

Toastify is already loaded from CDN which can be an issue:
- Performance: if you theme is already using toastify, you will load it twice
- Bugs: if the theme is using Toastify as well, having 2 different version could create bugs
- Security: If you're using a CSP that doesn't allow jsdelivr.net, then toastify will be missing

Steps to reproduce

Proposed resolution

- Create a config form where you can configure to use the remote library or to not load it at all (for people loading it themselves)
- The default should be using the remote

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇦Canada phjou Vancouver 🇨🇦 🇪🇺

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024