From c400f681c2e06ac2fc71a11dae68393f45692505 Mon Sep 17 00:00:00 2001 From: Logan Date: Thu, 13 Aug 2026 14:13:38 -0400 Subject: [PATCH] fix(icons): the "Wanted" button asked for a Pro icon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `bookmark-check` is Font Awesome **Pro**, so it was never bundled and `window.__yjIconMisses` has held it for as long as anything could be requested — the button rendered the missing-icon fallback in the one state it exists to show. `offline-icons.spec.ts` asserts that array is empty and passed anyway: no spec had ever put the app in a state where an album is requested. A name computed from state is only checkable from that state, which is the case `names.txt` exists for. Outline and solid of the same Free glyph carry the toggle instead, which is what the vendoring script tells you to do when a name is missing: pick one that is Free, never reach for the Pro file. --- frontend/src/assets/icons/fa/regular/bookmark.svg | 1 + .../explore-album-details/explore-album-details.ts | 7 ++++++- frontend/src/icons/names.txt | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 frontend/src/assets/icons/fa/regular/bookmark.svg diff --git a/frontend/src/assets/icons/fa/regular/bookmark.svg b/frontend/src/assets/icons/fa/regular/bookmark.svg new file mode 100644 index 0000000..e820be5 --- /dev/null +++ b/frontend/src/assets/icons/fa/regular/bookmark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/src/components/explore-album-details/explore-album-details.ts b/frontend/src/components/explore-album-details/explore-album-details.ts index 6359806..1fa086c 100644 --- a/frontend/src/components/explore-album-details/explore-album-details.ts +++ b/frontend/src/components/explore-album-details/explore-album-details.ts @@ -1889,9 +1889,14 @@ export class ExploreAlbumDetails extends LitElement { appearance=${this.isRequested ? 'filled' : 'outlined'} @click=${() => void this.toggleRequested(request?.id)} > + ${this.isRequested ? 'Wanted' : 'Want this'} diff --git a/frontend/src/icons/names.txt b/frontend/src/icons/names.txt index 21cf0a9..b07fb7b 100644 --- a/frontend/src/icons/names.txt +++ b/frontend/src/icons/names.txt @@ -22,6 +22,7 @@ solid/arrow-rotate-right solid/arrows-rotate solid/arrow-up-short-wide solid/backward-step +regular/bookmark solid/bookmark solid/box-open solid/check