Skip to content
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

Job board updates #10541

Merged
merged 6 commits into from
Jan 31, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 23 additions & 11 deletions contents/handbook/engineering/posthog-com/cool-tech-jobs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,29 @@
title: Managing cool tech jobs
---

### Create a company/jobs:
## Create a company/jobs:

- Login to PostHog.com as a moderator
- Navigate to `/cool-tech-jobs`
- Click “Add a company”
- Fill out the fields in the side modal
- Click Create company
### Non-moderator flow

- Visit `/cool-tech-jobs`
- Click "Apply to get your jobs listed here." If you're not already signed in, you'll be prompted to sign in
- Read the disclaimer and click next
- Fill out the required fields (non-moderators have an additional field - "Why is your company cool?")
- Click "Submit application"
- A message is fired off in the `#cool-tech-jobs` Slack channel with the details of the application
- A moderator approves and publishes the company from `/cool-tech-jobs`

### Moderator flow

- Visit `/cool-tech-jobs`
- Click "Add a company"
- From here, you can either continue with a pending company (one that has a pending application) or create a company from scratch
- Fill out the required fields. If continuing from a pending company, verify the company details are correct before continuing
- Click "Publish company"

When a company is created, its jobs are automatically scraped based on the job board URL/slug provided. If no jobs are found, the company doesn’t appear on `/cool-tech-jobs` (unless you’re a moderator, in which case it will appear semi-transparent).
When a company is created, its jobs are automatically scraped based on the job board URL/slug provided. If no jobs are found, the company is still created (appears semi-transparent for moderators), but a warning message appears that suggests verifying the job board URL.

### Edit a company
## Edit a company

- Login to PostHog.com as a moderator
- Navigate to `/cool-tech-jobs`
Expand All @@ -22,7 +34,7 @@ When a company is created, its jobs are automatically scraped based on the job b

Jobs will be re-scraped when a company is edited.

### Delete a company
## Delete a company

- Login to PostHog.com as a moderator
- Navigate to `/cool-tech-jobs`
Expand All @@ -31,7 +43,7 @@ Jobs will be re-scraped when a company is edited.

All jobs associated with the deleted company will be deleted along with the original company record.

### Company fields
## Company fields

- **Company name**
- **Company website URL** - Used for the “Learn more” link
Expand All @@ -43,6 +55,6 @@ All jobs associated with the deleted company will be deleted along with the orig

Unless required conditionally (job board URL/slug), every company field is required.

### Scraping
## Scraping

Jobs are scraped hourly based on the provided job board URL/slug. Jobs are individually checked for freshness hourly. If a job URL 404s, it is deleted.
1 change: 1 addition & 0 deletions src/hooks/useCompanies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export type Company = {
publishedAt: string
createdAt: string
updatedAt: string
jobBoardURL?: string
}
}

Expand Down
Loading