Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Partner profile mandatoriness at submission

未关闭
#5,327 11 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@AlexeyKasianenko 已经在做这个了。

开始于 2026年2月10日。

  • #5493 来自 @AlexeyKasianenko —— 未关闭

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
rails, ruby

调研方向

未指定文件或测试。首先定位合作伙伴资料验证和提交状态的入口点,然后查找相关的用户指南章节和现有测试。完成的标准是:列出的字段和社交媒体条件仅在指定阶段强制执行,邀请并批准例外正常工作,测试覆盖该行为,并且指南已更新。

由索引模型根据 Issue 内容生成。

描述

Difficulty—Advanced stale

Summary

Switch to having mandatory checks on partner profile only at "submit for approval" and later stages. Add several fields to be mandatory at that stage

Why

Because the partner profile is so long, we don't want to enforce this mandatoriness while the partner is trying to fill it out.

Details

Part 1

There is currently one enforced mandatory condition on the partner profile

  • if the social media section is being used, the partner has to fill in some social media or choose "no social media"

This should, instead, only be enforced if the status is "submitted for approval" or "approved"
If the organization has "invite and aprove" true, this is not mandatory.

Part 2

Add the following fields to be mandatory at "submitted for approval" or "approved".
If the organization uses "invite and approve", these fields are not mandatory
"Agency Name" : agency_name,
"Agency Type" : agency_type,
"Address (Line 1)" : address1,
"City": city,
"State": state,
"Zip Code": zip_code,

In the Agency Stability section:
"Program Name": program_name
"Program Description": program_description

Criteria for completion

  • behaviour as described
  • tests to confirm behaviour
  • update the user guide sections on partner profile to reflect the changes.

Origin

Partnerbase working group identified that the following fields should be mandatory in 2022.
"Agency Name" : agency_name,
"Agency Type" : agency_type,
"Address (Line 1)" : address1,
"City": city,
"State": state,
"Zip Code": zip_code,

In the Agency Stability section:
"Program Name": program_name
"Program Description": program_description

主要语言
Ruby
星标
594
派生
596
平均合并
1 天 17 小时
30 天内合并 PR
12

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

rubyforgood/human-essentials 的其他 Issue

查看 rubyforgood/human-essentials 的全部 Issue

相似的 Issue

更多 Ruby Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。