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

Generate Contract

未关闭
#367 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
20/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
typescript
领域
backend, frontend

调研方向

首先审查所描述的合同生成向导以及步骤 1–3 的相关 Figma 参考资料。确认缺少第四步和第五步,解决主流程中待处理的事项,并在实现之前验证模板选择、志愿者关联和模板使用次数的验收标准。

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

描述

enhancement :rocket: web-app
  • #381

User Story

As user, I want to generate a contract for volunteers using a predefined template so that the contract creation process is efficient and aligned with the organization's needs.

Description

The system allows users to generate contracts for volunteers by following a step-by-step wizard.

The process starts with selecting a template and then choosing the volunteers to whom the contract will be applied. This ensures that all contracts are consistent and tailored to the appropriate volunteer roles.

Actors

  • Web Users

Preconditions

  • The user navigates to the "Contracte" section under "Documente".

Main Flow

  1. User clicks the 'Genereaza contract' button
  2. The system displays a list of available contract templates.
  3. The administrator selects a template from the list and proceed to the next step
  4. The system displays a list of volunteers
  5. User selects one or more volunteers to whom the contract will be applied and proceed to the next step
  6. The system presents a form to the user for entering contract details
  7. The user can either input these details individually for each volunteer or apply them to all selected volunteers at once using the "Aplică pentru toate" feature.
  8. [IN PENDING]

Business Rules

  1. The user must select a contract template before proceeding to the volunteer selection.
  2. The step banner functions as a breadcrumb, allowing the user to click on and navigate to any completed step in the wizard.
  3. The user should be able to navigate back and forth through the wizard using the "Pasul anterior" and "Pasul următor" buttons.
  4. In the first and second steps of the wizard, the user must make at least one selection before they can proceed to the next step.

Acceptance Criteria

  1. The system displays a list of all available contract templates for selection.
  2. The system displays a list of all available volunteers, showing their details accurately.
  3. The contract is generated successfully, with all selected volunteers associated with the newly created contract.
  4. The system updates the usage count of the selected template after the contract is finalized.

Additional Information

  • Figma references:
    • Step 1: here
    • Step 2: here
    • Step 3: here
    • Step 4: missing from design
    • Step 5: missing from design
主要语言
TypeScript
星标
3
派生
2
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

code4romania/vic 的其他 Issue

查看 code4romania/vic 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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