Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Maintenance] - "Make From" Button on Task Cards

Đang mở
#4,559 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
82/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
frontend

Hướng nghiên cứu

Start with TaskCard.tsx and compare its delete callback with the showEditModal state in TaskClickPopup.tsx. Then trace TaskFormModal.tsx to understand the existing edit and create paths. Done means each task card has a copy icon that opens the create flow with the selected task's information prefilled, while leaving the original task unchanged.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

maintenance
Description

Currently there is no easy way to copy all information from an already made task into a new task and slightly edit it, forcing the user to have to remake it from scratch.

The idea for this ticket is to take advantage of functionality that is already present (AKA the TaskFormModal.tsx modal) and create a new type of setting for this task called "Make From Task". This is essentially a Create Task but just autofills in the information from whatever task you clicked it from.

Acceptance Criteria
  • Add a copy icon next to the Delete icon in on every task card
  • When clicked, this icon will open the TaskFormModal.tsx and fill in all the information (again, the logic is already there for edit, it is simply about adapting it and making some adjustments)
  • Ensure it operates as expected with the description above
Proposed Solution
  • Look at TaskCard.tsx. Copy the way that delete handles its callback and instead, just trigger a new state called showMakeFromModal (use TaskClickPopup.tsx's showEditModalstate as reference).
  • Ensure to make all the proper switches (AKA, instead of editing you are creating so it will use the create logic in TaskFormModal.tsx. The best way to do this is by adding a new boolean to the props of the component probably named something like makingFrom.
    Then for example:
title={task?.title ? 'Edit Task' : 'New Task'}

would become

title={task?.title && !makingFrom ? 'Edit Task' : 'New Task'}
Mocks

No response

Ngôn ngữ chính
TypeScript
Star
37
Fork
9
Merge trung bình
2 ngày 14 giờ
Pull request đã merge (30 ngày)
38

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Northeastern-Electric-Racing/FinishLine

Tất cả issue của Northeastern-Electric-Racing/FinishLine

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.