github-samples / github-samples/caldova-careers
Search roles by title
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Candidates need a fast way to narrow the open roles list when Caldova has many postings. Add a search box that filters role cards by title without requiring a page reload.
Acceptance criteria
- The home page includes a labeled search input that filters roles by title case-insensitively.
- Clearing the search restores the full roles list.
- A helpful empty state appears when no roles match.
- Search controls and results are accessible and include stable
data-testidattributes. - Unit tests cover the filtering helper.
- Playwright tests cover searching and the empty state.
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 how the roles list and role cards are rendered. Add the labeled title search, accessible controls, stable data-testid attributes, and empty state described in the acceptance criteria. Verify the filtering helper with unit tests, then run Playwright coverage for searching, clearing the query, and no matches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- playwright, 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
- 76/100