-
Notifications
You must be signed in to change notification settings - Fork 9
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
Refactor remove portfolio #404
Conversation
WalkthroughThe project underwent a significant restructuring, primarily involving the removal of the portfolio feature across various components. This included eliminating site maps, URLs, views, and references to the portfolio in templates and tests. Additionally, some updates were made to links in the blog's templates, enhancing navigation and user experience. Changes
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 as PR comments)
Additionally, you can add CodeRabbit Configration 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.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files ignored due to path filters (11)
app/staticfiles/portfolio/AmyBrazil.png
is excluded by:!**/*.png
app/staticfiles/portfolio/CraigUtley.png
is excluded by:!**/*.png
app/staticfiles/portfolio/GeoAsteroids_playthrough.mp4
is excluded by:!**/*.mp4
app/staticfiles/portfolio/John-Solly-Resume.pdf
is excluded by:!**/*.pdf
app/staticfiles/portfolio/KathrynThorpe.png
is excluded by:!**/*.png
app/staticfiles/portfolio/MeredithBean.png
is excluded by:!**/*.png
app/staticfiles/portfolio/NathanGoddard.png
is excluded by:!**/*.png
app/staticfiles/portfolio/gisLecture.jpeg
is excluded by:!**/*.jpeg
app/staticfiles/portfolio/lighthouse_scores.svg
is excluded by:!**/*.svg
app/staticfiles/portfolio/resume-2023-08-02.zip
is excluded by:!**/*.zip
app/staticfiles/svg/accordion_arrow.svg
is excluded by:!**/*.svg
Files selected for processing (16)
- README.md (2 hunks)
- app/app/sitemaps.py (1 hunks)
- app/app/urls.py (2 hunks)
- app/blog/context_processors.py (1 hunks)
- app/blog/templates/blog/parts/about_me.html (2 hunks)
- app/blog/templates/blog/parts/about_me_post_detail.html (2 hunks)
- app/blog/templates/blog/parts/footer.html (1 hunks)
- app/blog/templates/blog/parts/header.html (1 hunks)
- app/blog/templates/blog/parts/sidebar.html (1 hunks)
- app/blog/templates/blog/works_cited.html (1 hunks)
- app/blog/urls.py (2 hunks)
- app/blog/views.py (1 hunks)
- app/tests/test_context_processors.py (1 hunks)
- app/tests/test_sitemaps.py (2 hunks)
- app/tests/test_urls.py (2 hunks)
- app/tests/test_views.py (1 hunks)
Files skipped from review due to trivial changes (1)
- app/tests/test_views.py
Additional comments: 8
app/blog/templates/blog/parts/footer.html (1)
- 17-17: The update to the "Portfolio" link in the footer is correctly implemented, aligning with the PR objectives and following best practices for external links.
app/tests/test_sitemaps.py (1)
- 8-13: > 📝 NOTE
This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [1-36]
The removal of tests related to the
PortfolioSiteMap
is consistent with the PR objectives, ensuring the test suite remains relevant to the project's current scope.app/blog/urls.py (1)
- 13-18: > 📝 NOTE
This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [1-37]
The removal of
PortfolioView
from the routing is consistent with the PR objectives and does not introduce any routing issues.app/app/urls.py (1)
- 9-14: > 📝 NOTE
This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [6-17]
The removal of
PortfolioSiteMap
from the sitemaps dictionary aligns with the PR's objective. Ensure that all references toPortfolioSiteMap
have been removed throughout the project to avoid any broken links or orphaned references.app/tests/test_context_processors.py (1)
- 65-70: > 📝 NOTE
This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [1-1]
The removal of the
test_portfolio_breadcrumb
function aligns with the PR's objective. Ensure that the test suite remains comprehensive and covers all necessary features after the removal of portfolio-related tests.app/blog/templates/blog/parts/header.html (1)
- 24-24: The update to the 'Portfolio' link to open in a new tab with the URL 'https://johnsolly.dev' aligns with the PR's objective and improves user experience by clearly directing users to the new portfolio location.
app/tests/test_urls.py (1)
- 14-19: > 📝 NOTE
This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [1-1]
The removal of
PortfolioView
and its corresponding URL test aligns with the PR's objective. Ensure that the URL testing coverage remains comprehensive and covers all necessary features after the removal of portfolio-related tests.README.md (1)
- 164-164: The removal of the "Portfolio page with testimonials, contact me, Web vitals, and more!" feature from the README aligns with the PR's objective and helps clarify the current scope of the project. However, please address the following typographical and grammatical issues to improve the README's readability and professionalism:
- Consider correcting possible spelling mistakes (e.g., "Awesome Django Blog", "Formating" should be "Formatting").
- Ensure consistent use of punctuation and capitalization throughout the document.
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.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files selected for processing (1)
- README.md (2 hunks)
Additional comments: 2
README.md (2)
- 164-164: The removal of the portfolio page feature is correctly documented under the "Depreciated Features" section. This change aligns with the PR's objective to streamline the project's focus. However, it's important to ensure that all external links and references to the portfolio page are updated or removed across the project to maintain consistency.
- 161-167: > 📝 NOTE
This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [1-193]
While reviewing the README.md file, several potential typographical and grammatical issues were flagged by static analysis tools. However, upon closer inspection, most of these appear to be false positives related to technical terms, code snippets, or intentional stylistic choices. It's crucial to maintain technical accuracy and consistency in documentation, so no changes are recommended based on these hints.
Description
Remove portfolio page (migrated to JohnSolly.dev)
Changes Made
Test Plan
All tests pass. Removed Portfolio-related tests.
Screenshots (if appropriate)
Checklist
Additional Information
Summary by CodeRabbit