Skip to content

feat: update iWork preview icons - #4970

Merged
mergify[bot] merged 1 commit into
box:masterfrom
dlasecki-box:update-iwork-preview-icons
Nov 23, 2026
Merged

mergify[bot] merged 1 commit into
box:masterfrom
dlasecki-box:update-iwork-preview-icons

Conversation

@dlasecki-box

@dlasecki-box dlasecki-box commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

This PR updates the iWork icons shown while a preview is loading and when the preview fails to load.

Points those preview icons at the current @box/item-icon glyphs and bumps the Blueprint assets peer to 5.18.0, which is the version that includes them.

numbers pages keynote

Summary by CodeRabbit

  • Bug Fixes
    • Previews and loading indicators for Keynote, Numbers, and Pages files now show the matching file-type icons and colors, making these formats easier to recognize while content loads.

@dlasecki-box
dlasecki-box requested a review from a team as a code owner November 23, 2026 15:48
@mergify

mergify Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Queue requested — the merge queue status continues in this comment ↓.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​box/​blueprint-web-assets@​5.18.1981001009980

View full report

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Blueprint web assets version requirement changes in both dependency sections. Keynote, Numbers, and Pages preview registrations now use icons from itemIconTable. Tests cover the selected icons, rendered child icons, and loading-ring colors.

Changes

Preview icons

Layer / File(s) Summary
Preview icon registration and validation
package.json, src/components/preview/previewIcons.ts, src/components/preview/__tests__/PreviewLoading.test.tsx
The @box/blueprint-web-assets requirement changes from ^5.13.9 to ^5.18.0 in devDependencies and peerDependencies. Keynote, Numbers, and Pages registrations use itemIconTable icons. Tests check their selected icons, rendered child icons, and ring colors.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Suggested reviewers: tjuanitas, jstoffan, tjiang-box

Merge Risk: Minimal · up to 76da9 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "feat: update iWork preview icons" matches the main change. The changeset points the Keynote, Numbers, and Pages preview icons at the itemIconTable glyphs and bumps the @box/blueprint-web-as…
Description check Passed The description states the purpose: the iWork loading and failure icons now use the current @box/item-icon glyphs, and the Blueprint assets peer moves to 5.18.0, which includes them. It includes befor…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "feat: update iWork preview icons" matches the main change. The changeset points the Keynote, Numbers, and Pages preview icons at the itemIconTable glyphs and bumps the @box/blueprint-web-assets requirement to ^5.18.0. The title is specific, concise, and follows a conventional-commit style.

Full details: Description check

Explanation

The description states the purpose: the iWork loading and failure icons now use the current @box/item-icon glyphs, and the Blueprint assets peer moves to 5.18.0, which includes them. It includes before/after style screenshots for Numbers, Pages, and Keynote. The template is a merge-process checklist (ready-to-merge label guidance) that the author did not fill in, but that content is process guidance rather than required PR information, so the description is mostly complete.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

I’m a rabbit, hopping by,
Three file icons catch my eye.
Keynote, Numbers, Pages glow,
Tests check each icon’s show.
New package bounds join the scene,
I nibble greens beside the screen.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d1ee4c29-a6c4-4df6-9936-e1701b9c5d50
Commits

Reviewing files that changed from the base of the PR and between ebb0608 and 76da965.

Files ignored due to path filters: 1

  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing: 3

  • package.json
  • src/components/preview/__tests__/PreviewLoading.test.tsx
  • src/components/preview/previewIcons.ts

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

@mergify mergify Bot added the queued label Nov 23, 2026
@mergify
mergify Bot merged commit b2ae339 into box:master Nov 23, 2026
11 checks passed
@mergify

mergify Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

✅ Merged into master as b2ae339 at 17:18 UTC

Less than a minute in the queue, with no time running CI.

So far

  • ✅ Entered the queue Mon 23 Nov, 17:18 · rule Automatic strict merge · triggered by rule Automatic merge queue
  • ✅ Checks skipped · PR is already up-to-date
  • ✅ Merged 17:18 · b2ae339 · squash
5 merge conditions met
  • github-review-approved · required by GitHub branch protection
  • any of · required by GitHub branch protection:
    • check-success = Summary
    • check-neutral = Summary
    • check-skipped = Summary
  • any of · required by GitHub branch protection:
    • check-success = lint_test_build
    • check-neutral = lint_test_build
    • check-skipped = lint_test_build
  • any of · required by GitHub branch protection:
    • check-success = license/cla
    • check-neutral = license/cla
    • check-skipped = license/cla
  • any of · required by GitHub branch protection:
    • check-success = lint_pull_request
    • check-neutral = lint_pull_request
    • check-skipped = lint_pull_request

Times in UTC · dashboard · how the merge queue works

@mergify mergify Bot removed the queued label Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants