Skip to content
Source
Sign inSign up
pingdotgg/t3code

Add IntelliJ project icon to the list of possible favicon paths #1651

Mergedbasmilius(GitHub profile, opens in a new tab)merged 3 commits intomain fromrefs/pull/1651/headmerged by juliusmarminge View on GitHub

What Changed

IntelliJ-based IDEs have the option to set a custom project icon, this change adds that known path to the project icon resolver.

Why

This shows project icons in the sidebar.

UI Changes

Before

image

After

image

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Note

Low Risk Low risk: adds a single additional candidate path to favicon resolution with no behavior changes unless a project contains .idea/icon.svg.

Overview Updates project favicon resolution to also consider IntelliJ IDE project icons by adding .idea/icon.svg to the ordered FAVICON_CANDIDATES list in ProjectFaviconResolver.

Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit a0abf19ae0836cbb8353a9b0a342c350d34d3892. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).

Note

Add .idea/icon.svg as a favicon candidate path for IntelliJ projects

Appends .idea/icon.svg to the FAVICON_CANDIDATES array in ProjectFaviconResolver.ts, checked after assets/logo.png. This allows projects using the IntelliJ standard icon location to have their icon resolved as a favicon.

Macroscope summarized a0abf19.
    1. coderabbitai[bot](GitHub profile, opens in a new tab)commented

      Important

      Review skipped

      Auto reviews are disabled on this repository. 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: Repository UI

      Review profile: CHILL

      Plan: Pro

      Run ID: 04dd5e3f-c23c-4d49-9571-205220ae6f83

      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

      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.
    2. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched

    3. Cursor Bugbot has reviewed your changes and found 1 potential issue.

      Fix All in Cursor Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the [Cursor dashboard](https://www.cursor.com/dashboard?tab=bugbot).
    4. basmilius(GitHub profile, opens in a new tab) changed the title

    5. Approvability

      Verdict: Approved

      Single-line addition of an IntelliJ project icon path to an existing list of favicon candidates. Purely additive with no logic changes or runtime behavior impact beyond searching one additional path.

      You can customize Macroscope's approvability policy. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).
    6. juliusmarminge merged thisfd3b96b

    7. juliusmarminge closed this

Sign in to join this conversation.