Skip to content

Conversation

@SongmingFan123
Copy link
Collaborator

Fixes #2677

Copilot AI review requested due to automatic review settings July 21, 2025 00:48
@vercel
Copy link

vercel bot commented Jul 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Project Deployment Preview Comments Updated (UTC)
policyengine-app Ready Preview Comment Aug 14, 2025 3:11am

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the careers/jobs functionality from the PolicyEngine application by deleting the Jobs page component and all references to it throughout the codebase. This addresses issue #2677 and simplifies the application by removing job-related navigation and content.

  • Completely removes the Jobs page component and its associated job data
  • Updates navigation by removing careers link from the header dropdown menu
  • Cleans up references to the jobs page in routing and the About page

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/pages/Jobs.jsx Complete removal of the Jobs page component
src/pages/About.jsx Removes link to jobs page from the team description
src/layout/Header.jsx Removes "Careers" entry from the about dropdown navigation
src/tests/pages/About.test.js Removes test assertions for the jobs page link
src/PolicyEngine.jsx Removes Jobs import and route configuration
public/data/job-openings.json Removes job openings data file

@MaxGhenis
Copy link
Contributor

Let's keep the structure just clear out the contents of the job openings json file, and say "PolicyEngine does not currently have job openings. Please check back later." if it's empty

Copy link
Collaborator

@anth-volk anth-volk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @SongmingFan123. There are a few minor removals, then this will be good to go.

title: "Team",
link: "about",
icon: <TeamOutlined />,
},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue, minor: Please remove the unused import on line 26 for UserAddOutlined

I would've added above, but GH doesn't allow it

>
Learn about opportunities to join us.
</Link>
contributors.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue, minor: Please remove the unused import of Link on line 8 and the code defining countryId on line 14.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated, thanks

@github-project-automation github-project-automation bot moved this from Todo to PR: Review Requested in policyengine-app Jul 24, 2025
@SongmingFan123
Copy link
Collaborator Author

Let's keep the structure just clear out the contents of the job openings json file, and say "PolicyEngine does not currently have job openings. Please check back later." if it's empty

Should I restore the Jobs page and keep the message when the job openings json file is empty?

@anth-volk
Copy link
Collaborator

Sorry, I flipped through this too quickly and didn't read Max's comment. Please ignore all of my review.

@MaxGhenis
Copy link
Contributor

Please drop a screenshot

@SongmingFan123
Copy link
Collaborator Author

Please drop a screenshot

Screenshot 2025-08-08 131328

@MaxGhenis
Copy link
Contributor

Per the issue please remove internship applications too

We're not currently hiring interns or employees

@SongmingFan123
Copy link
Collaborator Author

Per the issue please remove internship applications too

We're not currently hiring interns or employees

image

@SongmingFan123
Copy link
Collaborator Author

Per the issue please remove internship applications too

We're not currently hiring interns or employees

Updated

Copy link
Collaborator

@anth-volk anth-volk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SongmingFan123 a few minor changes requested. Please also address the ESLint error.

// If the path is /, redirect to /[countryId]
// If the path is /[countryId], render the homepage
// If the path is /[countryId]/about, render the about page
// If the path is /[countryId]/jobs, render the jobs page
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: This should be added back if the page is being rendered

icon: <TeamOutlined />,
},
{
title: "Careers",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue, blocking?: Please revert this to "Careers," not "Jobs", and change the icon back.

const location = useLocation();
const pathParts = location.pathname.split("/");
const countryId = pathParts[1]; // Assumes the countryId is always the second segment in the path
const countryId = useCountryId();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

accolade: Thanks for using this hook

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: PR: Review Requested

Development

Successfully merging this pull request may close these issues.

Remove careers page

5 participants