Skip to content

Point the blog app's LinkedIn icon at brand-linkedin - #701

Merged
richardhjtan merged 1 commit into
mainfrom
fix-blog-app-linkedin-icon
Aug 19, 2026
Merged

Point the blog app's LinkedIn icon at brand-linkedin#701
richardhjtan merged 1 commit into
mainfrom
fix-blog-app-linkedin-icon

Conversation

@richardhjtan

Copy link
Copy Markdown
Collaborator

Summary

Lint is failing on every catalog PR with:

contents/7af9aa-blog-app/author.gts(15,22): error TS2307: Cannot find module
'@cardstack/boxel-icons/linkedin' or its corresponding type declarations.

The monorepo's icon library no longer ships a linkedin icon — it was dropped when the lucide and tabler sets were refreshed, and brand-linkedin is the tabler equivalent that survives. Since catalog CI checks out cardstack/boxel main unpinned, the removal broke the blog app's typecheck without anything changing in this repo.

brand-linkedin is a better fit than the icon it replaces: same 24×24 / stroke-width=2 / currentColor conventions, and it now matches brand-x, which author.gts already imports on the next line. Only the module specifier changes — the local Linkedin binding and its use in the contact-link row are untouched.

Scope note

This clears one of two lint:types failures. The other seven errors come from ../bxl/src/** (WeakRef unavailable, new Error(msg, { cause }) rejected) and are not fixable from this repo: packages/catalog/tsconfig.json sets target: es2020 with no lib, while @cardstack/bxl exports raw .ts source that needs ES2022. That one needs a monorepo-side change.

Verification

  • brand-linkedin exists in packages/boxel-icons/src/icons/, and the package's ./* export maps to a generated declaration, so a fresh build resolves it.
  • Audited every @cardstack/boxel-icons/* import across this repo — 100 distinct icons, and linkedin was the only casualty of the icon refresh.

boxel-icons no longer ships a `linkedin` icon, so `author.gts` failed to
typecheck with TS2307. `brand-linkedin` is the tabler equivalent, and it
matches `brand-x` already in use beside it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 19, 2026 09:04
@github-actions

Copy link
Copy Markdown

Staging Submissions Preview

This PR's content is pushed to the staging submissions realm: https://realms-staging.stack.cards/submissions/

Changed folders:

  • 7af9aa-blog-app/

Updated at 2026-08-19 09:04:58 UTC for commit 7f9affc. Shared realm: only this PR's changed files are pushed; files touched by multiple PRs reflect whichever pushed last, and deleted files are not removed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the blog app’s author card to use the currently available Boxel icon module for LinkedIn, unblocking catalog typechecking after the upstream icon set refresh removed the previous linkedin export.

Changes:

  • Replaces @cardstack/boxel-icons/linkedin with @cardstack/boxel-icons/brand-linkedin in the blog app author card.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@richardhjtan
richardhjtan merged commit 1114d3d into main Aug 19, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants