feat: Add new project 'redirect-url-extension' with description, tech…#9
feat: Add new project 'redirect-url-extension' with description, tech…#9nabobery wants to merge 1 commit into
Conversation
… stack, and links
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Summary by CodeRabbit
WalkthroughAdded a new project item, redirect-url-extension, to the projects array in components/sections/projects.tsx with title, description, tech stack, links, image URL, and categories. No logic, API, or control flow changes. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge base: Disabled due to data retention organization setting
📒 Files selected for processing (1)
components/sections/projects.tsx(1 hunks)
🔇 Additional comments (1)
components/sections/projects.tsx (1)
192-201: Project entry looks good overall.The new project entry is well-structured and follows the established pattern. The description is clear, the tech stack is appropriate for a Chrome extension, and all required fields are properly populated.
| { | ||
| title: 'redirect-url-extension', | ||
| description: | ||
| 'Chrome extension that automatically redirects URLs based on configurable rules and regex, with a popup UI, redirect logging, and optional notifications.', | ||
| techStack: ['TypeScript', 'React', 'Webpack', 'Chrome Extensions API'], | ||
| githubLink: 'https://github.com/nabobery/redirect-url-extension', | ||
| liveLink: null, | ||
| imageUrl: '/images/projects/redirect-url-extension.png', | ||
| category: ['Utilities', 'Open Source'], | ||
| }, |
There was a problem hiding this comment.
🧩 Analysis chain
Verify that the project image exists.
Ensure the image file at /images/projects/redirect-url-extension.png exists in the repository to prevent broken image displays.
Run the following script to check if the image file exists:
🏁 Script executed:
#!/bin/bash
# Description: Verify that the project image file exists
# Check if the image file exists
if [ -f "public/images/projects/redirect-url-extension.png" ]; then
echo "✓ Image file exists"
else
echo "✗ Image file not found at public/images/projects/redirect-url-extension.png"
echo "Please ensure the image is added to the repository"
fiLength of output: 126
🏁 Script executed:
#!/bin/bash
# Search for the project image anywhere in the repository
find . -type f -iname 'redirect-url-extension.png'Length of output: 0
Add missing project image asset
The file public/images/projects/redirect-url-extension.png is not in the repo; add it to prevent broken image links.
🤖 Prompt for AI Agents
In components/sections/projects.tsx around lines 192 to 201 the project entry
references /images/projects/redirect-url-extension.png but that asset is missing
from the repo; add the image file at
public/images/projects/redirect-url-extension.png (reasonable web dimensions,
optimized/compressed and with appropriate filename casing), commit it to the
repo, and ensure no ignore rule prevents it from being tracked so the image link
no longer breaks in the UI.
Category 'Open Source' is not defined in the categories list.
The project uses the category 'Open Source', which is not present in the categories array (lines 17-24). This means users cannot filter projects by this category, and the metadata serves no functional purpose. This issue also affects the 'Athena' project (line 75).
Apply this diff to add 'Open Source' to the categories array:
const categories = [
'All',
'Web Apps',
'Mobile',
'AI/ML',
'Utilities',
+ 'Open Source',
'Problem Solving',
]Alternatively, if 'Open Source' categorization is not needed, remove it from both projects:
- category: ['Utilities', 'Open Source'],
+ category: ['Utilities'],📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| { | |
| title: 'redirect-url-extension', | |
| description: | |
| 'Chrome extension that automatically redirects URLs based on configurable rules and regex, with a popup UI, redirect logging, and optional notifications.', | |
| techStack: ['TypeScript', 'React', 'Webpack', 'Chrome Extensions API'], | |
| githubLink: 'https://github.com/nabobery/redirect-url-extension', | |
| liveLink: null, | |
| imageUrl: '/images/projects/redirect-url-extension.png', | |
| category: ['Utilities', 'Open Source'], | |
| }, | |
| // components/sections/projects.tsx | |
| // --- update the categories array to include 'Open Source' --- | |
| const categories = [ | |
| 'All', | |
| 'Web Apps', | |
| 'Mobile', | |
| 'AI/ML', | |
| 'Utilities', | |
| 'Open Source', | |
| 'Problem Solving', | |
| ] | |
| // … elsewhere in the file … | |
| // --- update the new project entry to drop the undefined category if you choose that route --- | |
| { | |
| title: 'redirect-url-extension', | |
| description: | |
| 'Chrome extension that automatically redirects URLs based on configurable rules and regex, with a popup UI, redirect logging, and optional notifications.', | |
| techStack: ['TypeScript', 'React', 'Webpack', 'Chrome Extensions API'], | |
| githubLink: 'https://github.com/nabobery/redirect-url-extension', | |
| liveLink: null, | |
| imageUrl: '/images/projects/redirect-url-extension.png', | |
| category: ['Utilities'], | |
| }, |
🤖 Prompt for AI Agents
In components/sections/projects.tsx around lines 192-201 (and note related use
at line 75 and the categories array at lines 17-24), the project entries
reference the category 'Open Source' which is not present in the categories
array; add the string 'Open Source' to the categories array (lines ~17-24) so
filtering works, or if you prefer not to categorize these projects that way
remove 'Open Source' from the category arrays for the two projects at line 75
(Athena) and lines 192-201 (redirect-url-extension) to keep categories and
project metadata consistent.
… stack, and links