Add the Role Brief job template (`job-role-brief`)

Aberta
#459 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 2 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
76/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
typescript
Domínio
design, frontend

Direção de pesquisa

Start with src/templates/job/benefits.ts and src/templates/quote/two-takes.ts to see how hiring cards and equal-width columns are built, then read the shared template checklist in #5. Implement the template in src/templates/job/role-brief.ts, export it from src/templates/job/index.ts, and register it in src/templates/registry.ts. Done means the listed empty-field, sizing, truncation, and light-background criteria pass and the template meets the shared checklist.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

good first issue templates

Part of #5. For a hiring post that sums up one role in two short lists, the work and what someone needs for it, so people can tell at a glance whether it's for them.

Idea
The company name and a location pill on top ("Northstar", "Remote, EU time zones"), then the role as the heading ("Senior Backend Engineer"). Under it, two columns side by side. The left one is headed "What you'll do" with up to three short lines: "Own the billing and invoicing services", "Pair with design on new API endpoints", "Help us retire our last cron jobs". The right one is headed "What you'll bring" with up to three: "4+ years with Go or Rust", "Running Postgres in production", "Clear written communication". The careers link sits at the bottom ("northstar.dev/careers").

The two column headings are fixed text, so the field list stays short.

Template details

  • File: src/templates/job/role-brief.ts, id job-role-brief
  • Fields: commonFields.title (the role, "Senior Backend Engineer"), company (text, "Northstar"), location (text, optional, "Remote, EU time zones"), do1 to do3 and bring1 to bring3 (text, optional, defaults above), commonFields.siteName, commonFields.bgColor, commonFields.accentColor, commonFields.textColor

Where to look

  • Closest references: src/templates/quote/two-takes.ts (two columns that share the width), src/templates/job/benefits.ts (a hiring card with a short list and the company name)

Acceptance criteria

  • A blank line is skipped with no gap, a column with no lines is dropped and the other one takes the full width, and with both columns empty the role and company sit on their own
  • Both columns keep the same width however long their lines are
  • A long role shrinks with autoFontSize() and then truncates, and a long line truncates instead of pushing the footer off the card
  • The location pill is hidden when blank, and the pill, headings and lines read fine on a light background
  • Re-exported in src/templates/job/index.ts and registered in the Job block of src/templates/registry.ts
  • Meets the shared template checklist in #5

One template per contributor at a time, so more people get a chance.


Want to work on this? Comment below and I'll assign it to you. Please take one issue at a time, branch off dev, and open your PR against dev with Closes #459 in the description.

Linguagem predominante
TypeScript
Estrelas
8
Forks
4
Merge médio
1d 21h
PRs com merge (30d)
34

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de codercops/ogcops

Todas as issues de codercops/ogcops

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.