Comparision feature added - User can compare between 2 tech stack #790
Open
coutKaustubh wants to merge 2 commits into
Open
Comparision feature added - User can compare between 2 tech stack #790coutKaustubh wants to merge 2 commits into
coutKaustubh wants to merge 2 commits into
Conversation
|
@coutKaustubh is attempting to deploy a commit to the komalsony234-1530's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a Career Roadmap Comparison feature so learners can select two paths (e.g. Frontend vs Full Stack, React vs Angular, DevOps vs Cloud) and view a side-by-side breakdown of topics, duration, difficulty, shared/unique skills, career opportunities, and visual bar charts. It also improves the homepage navbar by styling the project search bar to match the theme, reorganizing congested nav items, removing a duplicate theme toggle, and wiring search to the existing
/api/searchendpoint.Changes Made
data/career_roadmaps.json— New dataset with 6 career roadmaps (Frontend, Full Stack, React, Angular, DevOps, Cloud)utils/roadmap_comparer.py— Load roadmaps, validate data, compute overlapping/unique skills, topics, and careersroutes/main_routes.py— Added/compare,/api/roadmaps,/api/compare; included compare page in sitemaptemplates/compare.html— Comparison page with selectors, quick-pick buttons, charts, and side-by-side detailsstatic/compare.js— Client logic for fetching comparisons and rendering bar charts and skill breakdownsstatic/style.css— Compare page styles; navbar search styling; improved nav layout and responsive breakpointstemplates/index.html— Reorganized navbar (logo, search, links, actions); mobile search; Compare nav linkstatic/script.js— Wired navbar search (desktop + mobile) to/api/searchand results renderingtests/test_basic.py— 9 new tests for roadmap loading, comparison logic, API routes, and sitemapType of Change
Testing Done
Manual testing:
/compare— select two roadmaps and click Compare Roadmaps/compare?a=frontend&b=fullstackAutomated tests:
venv\Scripts\python.exe -m pytest tests/test_basic.py -q 72 passed
Video
DEVPATH.mp4
Before: No roadmap comparison page; navbar search unstyled and nav crowded with duplicate theme toggle.
After: Full comparison UI at
/comparewith charts and skill overlap; themed search pill in navbar.(Add screenshots of
/compareresults and updated navbar here.)Related Issue
Closes #785