Skip to content

fix: a pasted job link shows the employer, not job-boards.greenhouse.io - #79

Merged
coderback merged 1 commit into
mainfrom
fix/pasted-link-company
Nov 3, 2026
Merged

coderback merged 1 commit into
mainfrom
fix/pasted-link-company

Conversation

@coderback

Copy link
Copy Markdown
Owner

Why

A pasted job link could show job-boards.greenhouse.io or jobs.lever.co as the company. These pages don't state the employer in their metadata, so the code fell back to the site's address.

What changed

The employer now comes from the first of these that gives one:

  1. What the page states in its job data.
  2. Lever links: the page title, "Bloom & Wild Group - Junior Engineer", which also leaves the employer out of the job title.
  3. Greenhouse links: the board's name in Greenhouse's job data.
  4. The page's site name, unless it only names the application system.
  5. The link itself: Ashby, Workable, SmartRecruiters and others by the name in the path or subdomain, Workday by its known tenants.
  6. The site's address, only when the site isn't an application system's. Otherwise "Unknown".

Results

Real links through the new code:

Link Before Now
job-boards.greenhouse.io/catapultsports/… job-boards.greenhouse.io Catapult Sports, Graduate Software Engineer
jobs.lever.co/mytos/… jobs.lever.co Mytos, Junior/Mid Software Engineer
jobs.lever.co/bloomon/… jobs.lever.co Bloom & Wild Group, Junior Full Stack Engineer

Testing

  • Backend: 1190 passed, 8 skipped, 46 browser tests deselected.
  • Workday hasn't been tried on a live job link: the one to hand was a listing page. It's covered by tests.

Not covered

  • Applications already saved keep the name they have. Four still show a website address.
  • On closed Greenhouse jobs the employer is right, but the job title also shows the company name.

Greenhouse's pages don't state the employer in their metadata, so the site's address was used instead. Greenhouse links now
take the name from its job data, Lever links from the page title (which also leaves the employer out of the job title), and
other application systems from the link. The bare address is only used when the site isn't an application system's, and
a page naming the system as its site isn't believed.
@coderback
coderback merged commit 7faa043 into main Nov 3, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant