github-samples / github-samples/caldova-careers
Filter roles by department
Open
Nobody has claimed this yet.
workshop:filtering
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Candidates should be able to narrow roles by department, and the filtering foundation should be reusable for additional facets like remote status or employment type.
Acceptance criteria
- The home page includes an accessible department filter.
- Filtering uses helpers in
src/lib/that operate onJob[]arrays. - The filter can combine with remote or employment type filters if those are implemented.
- Empty states are clear when no roles match.
- Controls include stable
data-testidattributes. - Unit tests cover filtering behavior.
- Playwright tests verify department filtering.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the home page and inspect the helpers in src/lib/ that operate on Job[] arrays. Run the existing unit-test and Playwright test commands to understand their conventions. Done means an accessible department filter with stable data-testid attributes, clear empty states, composable filtering, and coverage for the filtering behavior and department flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, testing, web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100