Add the Role Brief job template (`job-role-brief`)
維護者通常 2 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 76/100
- Issue 類型
- 功能
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- typescript
研究方向
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 內容生成。
描述
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, idjob-role-brief - Fields:
commonFields.title(the role, "Senior Backend Engineer"),company(text, "Northstar"),location(text, optional, "Remote, EU time zones"),do1todo3andbring1tobring3(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.tsand registered in the Job block ofsrc/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 小時
- 30 天內合併 PR
- 34
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
codercops/ogcops 的其他 Issue
-
Preview checker: a long `og:title` or `og:description` gets no warning when the page also has a normal title and description可能已有人在做 @Imhamza86 今天認領。 未關閉bug good first issue
難度 2/5 1-3 小時 新手友好度 88/100
codercops/ogcops#458 · 1 則留言 ·
維護者通常 2 天內回覆
-
Preview checker: a page that only has `og:image:url` is reported as having no image可能已有人在做 @MugdhoAI 今天認領。 未關閉bug good first issue
難度 2/5 1-3 小時 新手友好度 88/100
codercops/ogcops#455 · 2 則留言 · 已指派 1 人 ·
維護者通常 2 天內回覆
-
[Bug] “Copy Recommended Meta Tags” generates an unusable placeholder image URL可能重新可做 @CreatorguyS 於 34 天前認領,目前沒有進行中的 PR。 未關閉bug enhancement
難度 2/5 1-3 小時 新手友好度 72/100
codercops/ogcops#378 · 4 則留言 ·
維護者通常 2 天內回覆
-
good first issue templates
難度 3/5 1-2 天 新手友好度 78/100
維護者通常 2 天內回覆
-
enhancement
難度 5/5 一週以上 新手友好度 30/100
codercops/ogcops#341 · 2 則留言 ·
維護者通常 2 天內回覆
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 72/100
-
難度 2/5 1-3 小時 新手友好度 68/100
Vessel9817/onion-site-template#512 ·
維護者通常 1 天內回覆
-
nightly-tests
難度 2/5 1-3 小時 新手友好度 68/100
BlackBeltTechnology/pi-agent-dashboard#1256 ·
維護者通常 1 天內回覆
-
approved
難度 2/5 1-3 小時 新手友好度 85/100
fritzprix/libr-agent#3266 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 88/100
better-auth/better-auth#13101 · 1 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆