Skip to content

fix(trips): use valid Icon name "map" in TrailConditionsBanner#2053

Merged
andrew-bierman merged 2 commits into
developmentfrom
fix/trail-conditions-icon
Apr 11, 2026
Merged

fix(trips): use valid Icon name "map" in TrailConditionsBanner#2053
andrew-bierman merged 2 commits into
developmentfrom
fix/trail-conditions-icon

Conversation

@andrew-bierman
Copy link
Copy Markdown
Collaborator

Hotfix. #1885 merged with Icon name="terrain" which isn't in the @roninoss/icons SF Symbol allowlist, breaking bun run check-types on development. Replacing with map — valid and semantically close.

apps/expo/features/trips/screens/TripListScreen.tsx(24,21): error TS2322: Type '"terrain"' is not assignable to...

Caught while rebasing #1885 which merged before this fix could land in the same PR.

Copilot AI review requested due to automatic review settings April 11, 2026 06:07
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 11, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f75cf6c8-1ede-403c-baf5-4d223c6b3312

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/trail-conditions-icon

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

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Hotfix to restore type-safety in the Expo trips UI by replacing an invalid @roninoss/icons SF Symbol name that was breaking bun run check-types.

Changes:

  • Replaced Icon name "terrain" with "map" in TrailConditionsBanner to match the allowlist and satisfy TypeScript checking.

andrew-bierman and others added 2 commits April 11, 2026 00:34
- Merge duplicate overrides in biome.json (was silently ignored)
- Add scripts/lint/** and .github/scripts/** to useMaxParams override
- Add noExplicitAny test-file override to merged overrides array
- Fix noArrayIndexKey in feed components (PostCard, CreatePost, PostDetail)
- Fix useMaxParams in useWildlifeHistory — consolidate 3 params into opts object
- Fix import ordering in (home)/index.tsx and feed/[id].tsx
- Add biome-ignore comments in localModelManager.ts and auth/store/user.ts
- Auto-format feed screens and hooks

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
#1885 shipped with Icon name="terrain" which isn't in the @roninoss/icons
SF Symbol allowlist, breaking check-types on development. Replace with
"map" — valid and semantically equivalent for a trail-conditions banner.
@andrew-bierman andrew-bierman force-pushed the fix/trail-conditions-icon branch from 4ff30dd to 3a69f40 Compare April 11, 2026 06:35
@github-actions github-actions Bot added the api label Apr 11, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Coverage Report for API Unit Tests Coverage (./packages/api)

Status Category Percentage Covered / Total
🔵 Lines 89.66% 902 / 1006
🔵 Statements 89.66% (🎯 80%) 902 / 1006
🔵 Functions 97.95% 48 / 49
🔵 Branches 89.74% 280 / 312
File CoverageNo changed files found.
Generated in workflow #79 for commit 3a69f40 by the Vitest Coverage Report Action

@github-actions
Copy link
Copy Markdown
Contributor

Coverage Report for Expo Unit Tests Coverage (./apps/expo)

Status Category Percentage Covered / Total
🔵 Lines 74.32% 495 / 666
🔵 Statements 74.32% (🎯 75%) 495 / 666
🔵 Functions 90.9% 50 / 55
🔵 Branches 91.34% 190 / 208
File CoverageNo changed files found.
Generated in workflow #79 for commit 3a69f40 by the Vitest Coverage Report Action

@andrew-bierman andrew-bierman merged commit 2458512 into development Apr 11, 2026
5 of 10 checks passed
@andrew-bierman andrew-bierman deleted the fix/trail-conditions-icon branch April 11, 2026 12:55
andrew-bierman added a commit that referenced this pull request May 14, 2026
fix(trips): use valid Icon name "map" in TrailConditionsBanner
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.

2 participants