Skip to content

Filings/Create/Edit UI: use smaller MDI library #24043

Closed

Description

@severinbeauvais

Currently, in package.json, we import the whoe MaterialDesignIcons package.

When we build the app, we see this:

image.png

Note above that the other fonts are relatively small (< 400 kB), but the MDI font has both a small and 2 large packages.

We should be able to just import/build the small MDI font (woff). (Perhaps we could include just the smaller woff2 versions of the other icons, too.)

This package might help: https://www.npmjs.com/package/@mdi/js. Among other things, it supports "tree shaking" to removed unused icons.

The reason for implementing this ticket is that it would save 2 MB or more of app size, resulting in a faster app load time.

Activity

  1. added
    Entities Team
    on Oct 25, 2024
  2. severinbeauvais commented on Oct 25, 2024

    @severinbeauvais
    CollaboratorAuthor

    This issue probably applies to Create UI and Edit UI as well.

  3. severinbeauvais commented on Oct 25, 2024

    @severinbeauvais
    CollaboratorAuthor

    It looks like the re-written business dashboard ui only loads the 3 basic fonts that it needs (and does something different for the MDI icons).

    Nevertheless, while the dashboard functionality of Filings UI is being replaced soon, the local filings will still be used, and this is all the more reason to have as small a build as practical.

  4. changed the title [-]Filings UI: use smaller MDI library[/-] [+]Filings/Create/Edit UI: use smaller MDI library[/+] on Nov 7, 2024
  5. severinbeauvais commented on Nov 27, 2024

    @severinbeauvais
    CollaboratorAuthor

    Potentially defer this to Vue3 upgrade task (post MVP).

  6. severinbeauvais commented on May 9, 2025

    @severinbeauvais
    CollaboratorAuthor

    As the remaining Vue2 Entity UIs are planned to be refactored into Nuxt, this ticket is low/no value, and I recommend closing it. @OlgaPotiagalova

  7. severinbeauvais commented on Oct 27, 2025

    @severinbeauvais
    CollaboratorAuthor

    Analyzed and reviewed with Olga Oct 24, 2025:
    "Won't be needed when UIs are rewritten in Nuxt." => do long term or never

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Entities TeamPriority3techdebt

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions