Skip to content

style: convert all lucide icons to react icons#50

Merged
toto04 merged 4 commits into
mainfrom
Diubii/react-icons
Jul 22, 2026
Merged

style: convert all lucide icons to react icons#50
toto04 merged 4 commits into
mainfrom
Diubii/react-icons

Conversation

@Diubii

@Diubii Diubii commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@Diubii
Diubii requested review from BIA3IA and toto04 July 22, 2026 21:30
@Diubii Diubii self-assigned this Jul 22, 2026
@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@Diubii, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 24 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 09e435bb-fe30-43ab-8a55-d6ddc7b7f4ed

📥 Commits

Reviewing files that changed from the base of the PR and between 55ad59b and d60868f.

📒 Files selected for processing (2)
  • src/app/dashboard/(active)/telegram/users/[id]/page.tsx
  • src/components/ui/dialog.tsx

Walkthrough

The pull request replaces lucide-react with react-icons Feather icons across authentication, dashboard, Telegram, web guide, navigation, and shared UI components. It also updates one icon prop type and uses Number.isNaN for Telegram user ID validation.

Changes

Icon Library Migration

Layer / File(s) Summary
Dependency and authentication updates
package.json, src/app/(auth)/login/*, src/app/(auth)/onboarding/*
Replaces the icon dependency and updates authentication icons; FeatureBox now accepts IconType.
Account and dashboard interfaces
src/app/dashboard/(active)/account/*, src/app/dashboard/(active)/complete-profile.tsx, src/app/dashboard/(active)/page.tsx, src/app/dashboard/(active)/azure/*
Migrates account, profile, dashboard, and Azure interface icons to react-icons/fi.
Telegram interfaces and validation
src/app/dashboard/(active)/telegram/*
Migrates Telegram action and status icons while changing ID validation to Number.isNaN.
Web guides and application navigation
src/app/dashboard/(active)/web/guide/*, src/components/dashboard-sidebar/*, src/components/header*.tsx, src/components/logout-button.tsx, src/components/navigate-back.tsx, src/components/search-input.tsx, src/components/theme-button.tsx
Updates web guide controls, navigation entries, headers, authentication actions, search, theme, and navigation icons.
Shared UI primitives
src/components/ui/*, src/components/user-select.tsx
Replaces icons used by breadcrumbs, calendar, commands, dialogs, menus, OTP, selects, sheets, sidebar, toaster, and user selection controls.

Possibly related PRs

🚥 Pre-merge checks | ✅ 3 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: replacing Lucide icons with React Icons across the codebase.
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.

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.

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/app/dashboard/`(active)/telegram/users/[id]/page.tsx:
- Line 14: Update the route-parameter validation around parsedInt to validate
the complete id before resolving the user, rejecting malformed values such as
“123abc” rather than accepting parseInt’s partial result. Use strict numeric
conversion with a safe-integer check, or otherwise ensure the entire id matches
the expected valid ID format before continuing.
🪄 Autofix (Beta)

✅ Autofix completed


ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3e7f22d5-e6c5-4771-8fec-bc6a8245d8e6

📥 Commits

Reviewing files that changed from the base of the PR and between 49858ec and 55ad59b.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (47)
  • package.json
  • src/app/(auth)/login/can-i-access.tsx
  • src/app/(auth)/login/login-button.tsx
  • src/app/(auth)/login/login-form.tsx
  • src/app/(auth)/login/what-is.tsx
  • src/app/(auth)/onboarding/link/telegram.tsx
  • src/app/dashboard/(active)/account/delete-passkey.tsx
  • src/app/dashboard/(active)/account/page.tsx
  • src/app/dashboard/(active)/account/profile-pic.tsx
  • src/app/dashboard/(active)/azure/groups/groups-list.tsx
  • src/app/dashboard/(active)/complete-profile.tsx
  • src/app/dashboard/(active)/page.tsx
  • src/app/dashboard/(active)/telegram/grants/delete-grant.tsx
  • src/app/dashboard/(active)/telegram/grants/new-grant.tsx
  • src/app/dashboard/(active)/telegram/groups/group-row.tsx
  • src/app/dashboard/(active)/telegram/groups/leave-chat.tsx
  • src/app/dashboard/(active)/telegram/users/[id]/add-role.tsx
  • src/app/dashboard/(active)/telegram/users/[id]/card-message.tsx
  • src/app/dashboard/(active)/telegram/users/[id]/card-user-grant.tsx
  • src/app/dashboard/(active)/telegram/users/[id]/card-user-info.tsx
  • src/app/dashboard/(active)/telegram/users/[id]/delete-group-admin.tsx
  • src/app/dashboard/(active)/telegram/users/[id]/new-group-admin.tsx
  • src/app/dashboard/(active)/telegram/users/[id]/page.tsx
  • src/app/dashboard/(active)/telegram/users/[id]/remove-role.tsx
  • src/app/dashboard/(active)/telegram/users/page.tsx
  • src/app/dashboard/(active)/web/guide/create-guide.tsx
  • src/app/dashboard/(active)/web/guide/delete-guide.tsx
  • src/components/dashboard-sidebar/data.tsx
  • src/components/dashboard-sidebar/main-nav.tsx
  • src/components/dashboard-sidebar/user-nav.tsx
  • src/components/header-login-button.tsx
  • src/components/header.tsx
  • src/components/logout-button.tsx
  • src/components/navigate-back.tsx
  • src/components/search-input.tsx
  • src/components/theme-button.tsx
  • src/components/ui/breadcrumb.tsx
  • src/components/ui/calendar.tsx
  • src/components/ui/command.tsx
  • src/components/ui/dialog.tsx
  • src/components/ui/dropdown-menu.tsx
  • src/components/ui/input-otp.tsx
  • src/components/ui/select.tsx
  • src/components/ui/sheet.tsx
  • src/components/ui/sidebar.tsx
  • src/components/ui/sonner.tsx
  • src/components/user-select.tsx

Comment thread src/app/dashboard/(active)/telegram/users/[id]/page.tsx Outdated
@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Note

Autofix is a beta feature. Expect some limitations and changes as we gather feedback and continue to improve it.

Fixes Applied Successfully

Fixed 1 file(s) based on 1 unresolved review comment.

Files modified:

  • src/app/dashboard/(active)/telegram/users/[id]/page.tsx

Commit: 9b0d6555c7251a026354c6ed328d83e95450acea

The changes have been pushed to the Diubii/react-icons branch.

Time taken: 8m 28s

coderabbitai Bot and others added 3 commits July 22, 2026 21:46
Fixed 1 file(s) based on 1 unresolved review comment.

Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
@toto04
toto04 merged commit c6dd57f into main Jul 22, 2026
2 checks passed
@toto04
toto04 deleted the Diubii/react-icons branch July 22, 2026 22:07
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