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

Abierto
#459 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
76/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
typescript
Área
design, frontend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
8
Forks
4
Merge medio
1 d 21 h
PR fusionados (30 d)
34

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de codercops/ogcops

Todos los issues de codercops/ogcops

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.