-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refresh app icons #1612
Refresh app icons #1612
Conversation
- New primary color - Shifted so the "C" is centered as a circle aka left whitespace for the path "cut out" This makes it look centered in circle icons - Moved ico to standard location - Dropped IE stuff - Dropped old Safari stuff - New android stuff
📝 WalkthroughWalkthroughThe changes involve the removal of the Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Outside diff range and nitpick comments (1)
src/scenes/Root/AppMetadata.tsx (1)
21-37
: Browser support changes align with modern web standards.The removal of Microsoft-specific configurations and focus on modern favicon approaches (SVG, standard sizes) is a good architectural decision. This simplifies maintenance while still providing excellent support for current browsers.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
⛔ Files ignored due to path filters (13)
public/favicon.ico
is excluded by!**/*.ico
public/images/android-chrome-192x192.png
is excluded by!**/*.png
public/images/android-chrome-512x512.png
is excluded by!**/*.png
public/images/apple-touch-icon.png
is excluded by!**/*.png
public/images/cord-icon.svg
is excluded by!**/*.svg
public/images/favicon-16x16.png
is excluded by!**/*.png
public/images/favicon-32x32.png
is excluded by!**/*.png
public/images/favicon.ico
is excluded by!**/*.ico
public/images/favicon.svg
is excluded by!**/*.svg
public/images/mstile-150x150.png
is excluded by!**/*.png
public/images/safari-pinned-tab.svg
is excluded by!**/*.svg
public/images/web-app-manifest-192x192.png
is excluded by!**/*.png
public/images/web-app-manifest-512x512.png
is excluded by!**/*.png
📒 Files selected for processing (3)
- public/browserconfig.xml (0 hunks)
- public/site.webmanifest (1 hunks)
- src/scenes/Root/AppMetadata.tsx (1 hunks)
💤 Files with no reviewable changes (1)
- public/browserconfig.xml
🧰 Additional context used
🔇 Additional comments (8)
public/site.webmanifest (3)
2-3
: Verify the intention behind different app names.The manifest uses different values for
name
("CORD Field") andshort_name
("CORD"). While this is valid, consider if this might cause confusion for users. The short name should be a truncated version of the full name that makes sense when displayed under the app icon.
18-20
: LGTM!The theme, background color, and display mode settings are appropriate for a PWA.
1-20
: Verify the existence of the new icon files.Let's ensure the new icon files are present in the correct location.
✅ Verification successful
Let me try a different approach to verify the existence of these icon files by checking the entire repository for any PNG files and their locations.
This will help us:
- Find all PNG files to see if the manifest icons exist with possibly different paths
- Locate any "images" directories where these icons might be stored
Icon files verified and present in the correct location ✅
The manifest icon files are present exactly where they should be:
/public/images/web-app-manifest-192x192.png
/public/images/web-app-manifest-512x512.png
The paths match exactly with what's specified in the manifest file, and the files are located in the correct public directory structure.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Check if the new icon files exist in the public directory # Test: Check if the new icon files exist fd -p "public/images/web-app-manifest-*.png" --type fLength of output: 55
Script:
#!/bin/bash # Search for all PNG files in the repository fd -e png --type f # Also check if the images directory exists fd -t d "images$"Length of output: 217
src/scenes/Root/AppMetadata.tsx (5)
21-21
: LGTM! Helpful documentation reference.Good practice to include the reference article that informed these favicon implementation decisions.
24-28
: Verify SVG favicon exists in the new location.The SVG configuration is optimal for modern browsers, providing scalable icons. The move to
/images/
directory aligns with the PR's goal of standardizing icon locations.#!/bin/bash # Check if favicon.svg exists in the public/images directory fd -t f "favicon.svg" public/images/
29-33
: Verify Apple touch icon exists in the new location.The configuration follows Apple's guidelines for touch icons with the correct size (180x180).
#!/bin/bash # Check if apple-touch-icon.png exists in the public/images directory fd -t f "apple-touch-icon.png" public/images/
37-37
: Verify theme color consistency with web manifest.The new theme color (#1EA973) should match the color defined in site.webmanifest for consistency.
#!/bin/bash # Check theme-color in site.webmanifest matches rg -l "#1EA973" public/site.webmanifest
22-22
: Verify favicon.ico exists in the public directory.The configuration looks correct, but let's ensure the file is present.
✅ Verification successful
Let me try a different approach to verify the favicon's existence by searching in other potential locations.
Favicon configuration is correct and file exists
The
favicon.ico
file is present atpublic/favicon.ico
, which is the correct location that will be served at the root path/favicon.ico
as configured in the link tag.🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Check if favicon.ico exists in the public directory fd -t f "favicon.ico" public/Length of output: 135
Script:
#!/bin/bash # Search for favicon.ico in the repository fd -t f "favicon.ico" # Also check if there are any references to favicon.ico in package.json or similar config files rg "favicon.ico" -g "package.json" -g "*.config.*"Length of output: 89
Summary by CodeRabbit
New Features
Bug Fixes
Documentation