github-samples / github-samples/caldova-careers

Sort roles

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Visitors should be able to change the order of open roles to match how they browse. Add sorting for title and posted date while keeping the default newest-first experience.

Acceptance criteria

  • The roles list can sort by title A–Z and Z–A.
  • The roles list can sort by posted date newest and oldest.
  • The sort control has a clear accessible label and stable data-testid.
  • The selected sort order is reflected in the rendered role cards.
  • Unit tests cover all sort modes.
  • Playwright tests verify at least one title sort and one date sort.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the roles list entry point and inspect the existing unit and Playwright test setup. Add title and posted-date sort modes while preserving newest-first as the default, with an accessible sort label and stable data-testid. Done means rendered role cards match every sort mode and tests cover all unit modes plus one title and one date sort in Playwright.

Written by the indexing model from the issue text.

Assessment

Tech stack
playwright, typescript
Domain
frontend, testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.