Problem/Motivation

Currently when loading the default bootstrap icons from the module, every icon gets loaded and raises a "Excessive DOM size" error in lighthouse.

Excessive DOM size error - BSUI Kit

Steps to reproduce

Load the default bootstrap ui kit iconset and view any page on the FE.

Proposed resolution

We should be some sort of functionality that allows the user to add the icon (maybe via an AJAX click when viewing the UI Kit), it could then update some config in the backend, then the user can split this if necessary (ie. multisite use with domain module installed). Afterwards we can save on performance and DOM size by only loading the selected icons into the svg sprite.

Remaining tasks

See above.

User interface changes

Some sort of "Add +" functionality.

API changes

N/A

Data model changes

TBD

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

AaronChristian created an issue. See original summary.

aaronchristian’s picture

Assigned: aaronchristian » Unassigned

eric.vvf made their first commit to this issue’s fork.

aaronchristian’s picture

Got this one wrapped up now.

Backend
Only load selected icons.

Frontend
Only load (FE)

aaronchristian’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

aaronchristian’s picture

Status: Fixed » Closed (fixed)