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

[Frontend] Add "Download Sample CSV Template" button to BatchStreamWizard upload step

Đang mở Phù hợp với người mới
#1,637 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 7 ngày

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

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
88/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ệ
next.js, typescript
Lĩnh vực
frontend

Hướng nghiên cứu

Đọc frontend/src/components/stream-creation/BatchStreamWizard.tsx và các yêu cầu CSV trong frontend/src/lib/csv-parser.ts. Thêm chức năng tải xuống mẫu trong vùng thả tệp tải lên để tạo CSV gồm hai hàng với các giá trị hợp lệ cho recipient, amount, durationSeconds và memo. Tải lên lại tệp flowfi-batch-template.csv vừa tải xuống và xác nhận tệp vượt qua bước xác thực của trình phân tích cú pháp.

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

Mô tả

drips-wave frontend good-first-issue ux

Overview

In frontend/src/components/stream-creation/BatchStreamWizard.tsx, users uploading a payroll CSV file often do not know the exact column headers (recipient,amount,durationSeconds,memo) expected by frontend/src/lib/csv-parser.ts.

Problem

  • Users encounter parsing errors on their first attempt because of mismatched column names or formatting.

Proposed Changes

  1. Add a "Download Sample CSV" button in the upload dropzone area of BatchStreamWizard.tsx.
  2. Generate a valid 2-row example CSV Blob client-side and trigger download as flowfi-batch-template.csv.

Acceptance Criteria

  • Clicking "Download Sample CSV" downloads flowfi-batch-template.csv.
  • The sample CSV passes csv-parser.ts validation without errors if re-uploaded.
  • Clearly shows example values for recipient address, token amount, duration, and memo.
Ngôn ngữ chính
TypeScript
Star
18
Fork
250
Merge trung bình
5 ngày 6 giờ
Pull request đã merge (30 ngày)
82

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

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 LabsCrypt/flowfi

Tất cả issue của LabsCrypt/flowfi

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.