Problem/Motivation

Font Awesome 6 is in alpha and the module needs to be updated to prepare for it.
https://blog.fontawesome.com/first-v6-alpha/

Remaining tasks

Current file detection systems appear to work for the v6 of Font Awesome, so we don't need to do much except remove Font Awesome 5 references to make it generic, and account for the new "Thin" icon style

Comments

Daniel.Moberly created an issue. See original summary.

daniel.moberly’s picture

StatusFileSize
new10.9 KB

Attaching an initial patch to provide "Thin" option and start to remove specific references to Font Awesome 5.

daniel.moberly’s picture

Status: Active » Needs review
StatusFileSize
new927.62 KB

Rerolling patch against latest version, including updated icons.yml

scottsawyer’s picture

Does categories.yml need to be included? Also, I saw #3180331: Add support for Fontawesome categories was marked fixed, but it doesn't look like the patch was committed.

daniel.moberly’s picture

Oops! You're right - the commit of the categories patch should fix both issues as it includes categories.yml.

daniel.moberly’s picture

Latest beta version confirmed still functional as a drop-in but without the "thin" style.

Release date is 02/22. We will aim to update the module alongside release.

daniel.moberly’s picture

StatusFileSize
new683.33 KB

6.0 is released today and unfortunately Font Awesome has dropped the Metadata which was previously provided in the module with icons.yml and categories.yml

Attached is a patch for 6.0. However, we have had to move the metadata request to the Font Awesome API https://fontawesome.com/docs/apis/graphql/objects#icon

There are a couple issues here.

  • Search terms are no longer included in icon data
  • Categories are no longer provided

This stops the autocomplete from working as well - icons are no longer searchable / categorized. They can still be found directly by name.

There is a search API for Font Awesome here
https://fontawesome.com/v6/docs/apis/graphql/query-fields#search-icon

I am hesitant to implement this as a replacement as it requires relying on 3rd party apps rather than internal

daniel.moberly’s picture

I have sent a request to the Font Awesome implementation team in hopes that they can provide information on how categories and search terms can be obtained for 6.0

daniel.moberly’s picture

Metadata is coming back - we can prep to support FA6 the way we always have.

Waiting on resolution of this issue:
https://github.com/FortAwesome/Font-Awesome/issues/18662

daniel.moberly’s picture

StatusFileSize
new1.41 MB

Font Awesome folks have released version 6.1 which includes some of the metadata back, allowing us to at least launch a partially functional v6.

They have made the unfortunate decision to remove "search terms" from the metadata, which makes icon lookup through this module much worse as it will now search solely by icon name.

Anyone looking to make their voice heard on this unfortunate decision can do so here:
https://github.com/FortAwesome/Font-Awesome/issues/18662

daniel.moberly’s picture

StatusFileSize
new1.41 MB

Minor change to fix labeling issue

daniel.moberly’s picture

Status: Needs review » Fixed

drumm’s picture

(Just updating to clean up a mismatched issue status in an index, occasionally the commit comment will cross-post.)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.