Add Template
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- frontend, full-stack
調査の方向性
Template-uri タブから開始し、Add Template と Add Terms Modal の Figma リファレンスを確認してから、Header、Body、Footer、preview、rich-text modal、save redirect を通る create-template フローを追跡します。ユーザーが template を作成・編集でき、無効化されたフィールドに組織データを表示でき、正常に保存でき、指定されたリンクをたどれるようになれば完了です。
索引モデルが issue の本文から書いたものです。
説明
- #380
User Story
As a user, I want to create contract templates, so that I can efficiently and easily generate volunteer contracts.
Description
This feature enables users to create contract templates for volunteers. The page is divided into three sections: Header, Body, and Footer.
The Header section includes a text containing key details about NGO such as the official name, address, CUI, the name of the legal representative, and their role within the organization.
The Body section contains the contract terms, featuring a text field, an "Add Text" button, and a hyperlink.
The Footer section includes the NGO's name, the legal representative's name, and empty fields for the volunteer's information and, if applicable, the legal representative for volunteers under 16.
All three sections collectively form the contract, which is displayed as a unified preview.
Actors
- Web Users
Preconditions
- User must be logged in and have navigated to the 'Template-uri' tab
Main Flow (create template)
- User clicks the "Creeaza template" button to start creating a new template.
- The system displays the 'Creeaza Template' page, divided into Header, Body, and Footer sections.
- The system auto-fills the Header and Footer sections with the organization's data.
- In the Preview Panel, the user can hover over highlighted text to view a tooltip.
- User clicks the 'Adauga text' button from the Body section.
- The system opens a modal with a rich text editor.
- User enters the contract terms and clicks 'Salveaza modificarile' button.
- The system updates the Body section with the entered text.
- User clicks the 'Salveaza' button.
- The system saves the template and redirects the user to the 'Template-uri' page.
Business Rules
- The contract template must maintain a structure with a Header, Body, and Footer.
- The Header and Footer sections inputs should be prefilled with the NGO data present in the NGO Hub application.
- The Header and Footer sections inputs must be disabled.
- The Body section must display an "Editeaza text" button when content has been added.
Acceptance Criteria
- The rich text editor should provides a full range of formatting options (bold, italic, underline, alignment, lists, etc.).
- Clicking the "Editeaza text" button in Body section should open the content in a modal for modifications.
- The contract template can be successfully created and saved after completing all steps.
- The 'Vezi profilul organizatiei' hyperlink must redirect user to the NGO Profile in NGO Hub application.
- The 'Afla Mai Multe', 'Trimite feedback-ul tau,' and 'contract de voluntariat' hyperlinks must direct users to the correct URLs, which will be provided at a later time.
Additional Information
- 主要言語
- TypeScript
- スター
- 3
- フォーク
- 2
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
code4romania/vic のほかの issue
-
bug :bug:
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
code4romania/vic#463 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 20/100
code4romania/vic#461 ·
-
bug :bug: web-app
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
code4romania/vic#458 ·
-
bug :bug: mobile-app
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
code4romania/vic#457 ·
-
bug :bug: web-app
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
code4romania/vic#456 ·
code4romania/vic の issue をすべて見る
似ている issue
-
fix(frontend): correct VITE_IS_DEVELPOMENT typo in shared/app.ts and align dev environment flagsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
vicharanashala/ajrasakha#1439 ·
メンテナーはふだん 1 日以内に返信
-
Add: TV5Monde Asieオープンapproved check:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
backnotprop/plannotator#1932 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 半日 初心者へのやさしさ 62/100
ibm-granite/granite.build#504 ·
メンテナーはふだん 2 日以内に返信
-
reproduced
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
anomalyco/opencode#55676 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信