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

オープン
#459 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
76/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
design, frontend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
8
フォーク
4
平均マージ
1日 21時間
マージ済み PR(30日)
34

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

codercops/ogcops のほかの issue

codercops/ogcops の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。