Template Management
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- full-stack, web-dev
調査の方向性
まずTemplate-uriタブのフローとリンクされたFigmaリファレンスを確認し、次にテンプレートの表示、編集、コピー、ダウンロード、削除の処理を追跡します。使用状況に応じたメニューオプション、コピー時の命名、作成者の帰属、ダウンロードアクション、確認、リストの更新を含む、一覧に記載された受け入れ条件を実装します。また、ONGHubデータのサブタスクも調査します。
索引モデルが issue の本文から書いたものです。
説明
User Story
As user, I want to manage contract templates for volunteers, so that I can ensure consistency in our organizational documents.
Description
The system should allow users to view, edit, duplicate and delete contract templates.
Actors
- Web Users
Preconditions
- User must be logged in and have navigated to the 'Template-uri' tab
Main Flow 1 (view template)
- User selects a template and clicks on the kebab menu.
- The system presents the following options: Vizualizeaza, Editeaza, Fa o copie, Descarca necompletat, and Elimina.
- User clicks on the Vizualizeaza option.
- The system displays the template in view mode.
- User has the option to download the template as a PDF.
Main Flow 2 (edit template)
- User selects a template and clicks on the kebab menu.
- The system presents the following options: Vizualizeaza, Editeaza, Fa o copie, Descarca necompletat, and Elimina.
- User clicks on the Editeaza option.
- The system displays the template in edit mode
- User updates the inputs according to preferences and clicks 'Save changes'.
- The system saves the updated template.
Alt. Flow 1 (duplicate template)
- User selects a template and clicks on the kebab menu.
- The system presents the following options: Vizualizeaza, Editeaza, Fa o copie, Descarca necompletat, and Elimina.
- User clicks on the Fa o copie option.
- The system creates a copy of the template and updates the list to include the new copy.
- The system displays a toast message confirming the successful operation.
Alt. Flow 2 (download template)
- User selects a template and clicks on the kebab menu.
- The system presents the following options: Vizualizeaza, Editeaza, Fa o copie, Descarca necompletat, and Elimina.
- User clicks on the Fa o copie option.
- The system creates a copy of the template and updates the list to include the new copy.
- A toast message is displayed confirming the successful operation.
Alt. Flow 3 (delete template)
- User selects a template and clicks on the kebab menu.
- The system presents the following options: Vizualizeaza, Editeaza, Fa o copie, Descarca necompletat, and Elimina.
- User clicks on the Elimina option.
- The system displays a confirmation modal.
- User confirms the deletion by clicking 'Sterge' button.
- The system deletes the template.
Business Rules
- The Editeaza and Elimina options must only be available for templates that have not been used to generate a contract.
- Both View mode and Edit mode must include an option for users to download the template.
- The delete option must trigger a confirmation modal to verify the user's action before proceeding.
Acceptance Criteria
- The system must display the following options for each template based on the number of uses:
- For templates with 0 uses: Vizualizeaza, Editeaza, Fa o copie, Descarca necompletat, and Elimina.
- For templates with more than 0 uses: Vizualizeaza, Fa o copie, Descarca necompletat.
- The option to download the template must be available in both View mode and Edit mode.
- Newly created templates using the copy function must be named by appending "_copy" to the original template's name.
- If multiple copies of the same template are created, subsequent copies will be named with incremental suffixes, such as "_copy(1)", "_copy(2)", and so on.
- For templates created via the copy function, the 'Creat de' value must reflect the name of the user who made the copy.
- Upon confirming the deletion by clicking 'Sterge' button, the system must delete the template and update the list accordingly.
Additional Information
- Figma references: here
Subtasks:
- Pull more data from ONGHub to make it available for template generation (organization cui, legal representative and his role)
- 主要言語
- 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
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
vercel/streamdown#673 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
docs(stream-protocol): document messageMetatadata on start/finish and the message-metadata chunkオープンfactory-active task-identify-harness-labels-done task-identify-issue-type-done
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
agilepathway/label-checker#721 ·
メンテナーはふだん 1 日以内に返信
-
CLI Empathy needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
chromaui/chromatic-cli#1524 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信