github-samples / github-samples/caldova-careers

Add department pages

Open
#4 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

Candidates often browse by function. Add a prerendered page for each department that lists roles from that department using the existing role card.

Acceptance criteria

  • A dynamic department route uses getStaticPaths() and prerender = true.
  • Each department page lists only roles for that department and reuses the role card component.
  • Department names on role cards or metadata link to the matching department page.
  • A pure helper returns roles for a department from a Job[] array.
  • Unit tests cover the department helper.
  • Playwright tests verify a department link and department page.

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 with the existing role card, Job[] data, and current route structure to locate the department page entry point. Add the prerendered dynamic route, department helper, and links, then run the unit and Playwright tests; done means each page shows only its department's roles and links work from role cards or metadata.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, testing-qa, web-dev
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.