Template Management
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
- Lĩnh vực
- full-stack, web-dev
Hướng nghiên cứu
Bắt đầu bằng cách xem xét luồng của tab Template-uri và tài liệu tham chiếu Figma được liên kết, sau đó theo dõi cách các template được xem, chỉnh sửa, sao chép, tải xuống và xóa. Triển khai các tiêu chí nghiệm thu được liệt kê, bao gồm các tùy chọn menu dựa trên việc sử dụng, cách đặt tên khi sao chép, thông tin ghi nhận người tạo, các thao tác tải xuống, xác nhận và cập nhật danh sách; đồng thời điều tra subtask về dữ liệu ONGHub.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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)
- Ngôn ngữ chính
- TypeScript
- Star
- 3
- Fork
- 2
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của code4romania/vic
-
bug :bug:
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
code4romania/vic#463 ·
-
Typos & small fixes neededĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 20/100
code4romania/vic#461 ·
-
bug :bug: web-app
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
code4romania/vic#458 ·
-
Update cards highlight issueĐang mởbug :bug: mobile-app
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
code4romania/vic#457 ·
-
bug :bug: web-app
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
code4romania/vic#456 ·
Tất cả issue của code4romania/vic
Issue tương tự
-
area:plugins enhancement platform:vscode
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
anthropics/claude-code#103166 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add: Add pogo tv indiaĐang mởcheck:failed streams:add
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
iptv-org/iptv#55744 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
jitsi/jitsi-meet#18021 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
spec: discovery input example can contain multiple aliases for one parameter, with no canonical oneĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
x402-foundation/x402#3841 ·
Maintainer thường phản hồi trong vòng 1 ngày