Skip to content

feat(icons): ReceiptAi — add to react-native + refresh art (web + mobile)#4708

Merged
amadeu-thomson merged 2 commits into
mainfrom
feat/rn-icon-receipt-ai
Jul 24, 2026
Merged

feat(icons): ReceiptAi — add to react-native + refresh art (web + mobile)#4708
amadeu-thomson merged 2 commits into
mainfrom
feat/rn-icon-receipt-ai

Conversation

@amadeu-thomson

@amadeu-thomson amadeu-thomson commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

What

Two things, both scoped to the ai/ icon set:

  1. Adds ReceiptAi to react-native via a new ai/ group (mirrors how react already exposes AiIcons). New RN generate script, ai/ group wiring, ./icons/ai export.
  2. Refreshes the ReceiptAi art on both platforms from the designer's re-export — cleaner receipt + spark. Updated the shared core source and regenerated both the react (web) and react-native (mobile) components.

The spark is now fill-only, consistent with the rest of the ai/ set (search, summary, rewrite, one). generate-icons --check passes; no churn in app/modules.

Why

ReceiptAi is the entry-point icon for "Drop your receipts with One" in My Spending. It already shipped on web; mobile needs it too, and I refreshed the art after seeing it in context (showed considerably thinner than other icons because "Outline stroke" was originally used when exporting from Figma).

Files

  • core/assets/icons/ai/receipt-ai.svg — shared source (refreshed)
  • react/src/icons/ai/ReceiptAi.tsx — regenerated web component
  • react-native/assets/icons/ai/receipt-ai.svg — RN source
  • react-native/src/icons/ai/ReceiptAi.tsx + index.ts — new RN component
  • react-native/scripts/generate-icons.mjs, package.jsonai/ group + export wiring

Screenshots

image image image

Ports ReceiptAi to @factorialco/f0-react-native so mobile can use the same
design-system icon the web package already ships (f0-react/icons/ai/ReceiptAi).

The RN package builds icons from its own assets/icons/{app,modules} and had no
ai/ group, so the whole ai/ set was web-only. Adds an `ai` group seeded with
receipt-ai.svg:
- assets/icons/ai/receipt-ai.svg (currentColor source)
- generate-icons: add "ai" to GROUPS
- regenerated src/icons/ai/{ReceiptAi.tsx,index.ts}
- src/icons/index.ts: export AiIcons
- package.json: add ./icons/ai export

Consumed as: import { ReceiptAi } from '@factorialco/f0-react-native/icons/ai'
generate-icons --check passes; no churn in app/modules.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@amadeu-thomson
amadeu-thomson requested a review from a team as a code owner July 15, 2026 14:53
@github-actions github-actions Bot added feat react-native Changes affect packages/react-native labels Jul 15, 2026
@github-actions

github-actions Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

📦 Alpha Package Version Published

Use pnpm i github:factorialco/f0#npm/alpha-pr-4708 to install the package

Use pnpm i github:factorialco/f0#92d0f5b702ee55fc131985988be6b580c4176d1e to install this specific commit

@github-actions

github-actions Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

📱 Expo Go Preview Published

  • Branch: development
  • Message: `fix(icons): update ReceiptAi to the corrected art (web + react-native)

Replaces the ReceiptAi art with the designer's re-exported version (cleaner
receipt + spark) across the shared source and both packages:

  • core assets/icons/ai/receipt-ai.svg + regenerated react ReceiptAi.tsx (web)
  • react-native assets/icons/ai/receipt-ai.svg + regenerated ReceiptAi.tsx (mobile)

Spark is fill-only, matching the rest of the ai/ set (search, summary, …).
generate-icons --check passes; no churn in app/modules.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com`

  • Group ID: 4c051ae9-5aee-41bb-9288-bb10ab98fa13
  • Created at: 2026-07-17T10:43:08.309Z

Links

QR Code

Expo Go Preview QR

Replaces the ReceiptAi art with the designer's re-exported version (cleaner
receipt + spark) across the shared source and both packages:
- core assets/icons/ai/receipt-ai.svg + regenerated react ReceiptAi.tsx (web)
- react-native assets/icons/ai/receipt-ai.svg + regenerated ReceiptAi.tsx (mobile)

Spark is fill-only, matching the rest of the ai/ set (search, summary, …).
generate-icons --check passes; no churn in app/modules.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@amadeu-thomson
amadeu-thomson requested a review from a team as a code owner July 17, 2026 10:35
@github-actions github-actions Bot added core Changes affect packages/core react Changes affect packages/react labels Jul 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

✅ No New Circular Dependencies

No new circular dependencies detected. Current count: 0

@amadeu-thomson amadeu-thomson changed the title feat(react-native): add ReceiptAi icon via a new ai/ group feat(icons): ReceiptAi — add to react-native + refresh art (web + mobile) Jul 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Visual review for your branch is published 🔍

Here are the links to:

@github-actions

Copy link
Copy Markdown
Contributor

✅ No breaking public API changes

No public exports were removed, renamed, or had existing props/types changed in a breaking way compared to main.

Comparing f0, experimental and ai against main. Adding components, types, or optional props is safe. This check is non-blocking.

⚠️ Could not analyze component-status (no-base) — a build may have failed; results may be incomplete.

@github-actions

Copy link
Copy Markdown
Contributor

Coverage Report for packages/react

Status Category Percentage Covered / Total
🔵 Lines 59.3% 20759 / 35003
🔵 Statements 58.35% 21766 / 37302
🔵 Functions 51.44% 4819 / 9367
🔵 Branches 52.01% 14979 / 28796
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/react/src/icons/ai/ReceiptAi.tsx 66.66% 100% 0% 66.66% 7-24
Generated in workflow #15743 for commit 3b65337 by the Vitest Coverage Report Action

@amadeu-thomson
amadeu-thomson merged commit b230d04 into main Jul 24, 2026
29 checks passed
@amadeu-thomson
amadeu-thomson deleted the feat/rn-icon-receipt-ai branch July 24, 2026 08:12
@eliseo-juan eliseo-juan mentioned this pull request Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Changes affect packages/core feat react Changes affect packages/react react-native Changes affect packages/react-native

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants