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

[fix] Preserve CSV header order when editing payroll rows

Đang mở Phù hợp với người mới
#1,708 8 bình luận 0 reaction 1 người được giao Xem trên GitHub

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

@Fatima26-star đang làm issue này rồi.

Từ ngày 22/10/2026.

Đá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
78/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
nextjs, typescript
Lĩnh vực
frontend, payments

Hướng nghiên cứu

Bắt đầu tại frontend/src/components/stream-creation/BatchStreamWizard.tsx, ở handleSaveEdit, rồi đọc trình phân tích CSV để xem cách nó ánh xạ tên tiêu đề vào các cột. Tải lên một tệp CSV có các cột theo thứ tự amount,recipient,duration_seconds,cliff_seconds và chỉnh sửa một hàng. Hoàn tất khi phân tích lại vẫn giữ nguyên mọi trường, các cột bổ sung được hỗ trợ, cách escape CSV và tất cả các hàng khác.

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

Mô tả

bug frontend points: 150 Stellar Wave

Labels: bug, frontend, points: 150
File/location: frontend/src/components/stream-creation/BatchStreamWizard.tsx:133

Description:
The parser accepts columns in arbitrary order, but handleSaveEdit rewrites the row in recipient,amount,duration,cliff order under the unchanged header. Editing a valid reordered CSV moves values into the wrong columns and corrupts the payment row.

Acceptance Criteria:

  • Serialize edited values using the parsed header-to-column mapping, preserving supported extra columns and CSV escaping.
  • Upload a CSV ordered amount,recipient,duration_seconds,cliff_seconds; edit one row and assert that reparsing preserves every field and other rows.

Notes:
Source trace: parser locates columns by header name; handleSaveEdit writes a fixed column order under the original header.

Audited commit: 649b6976a100fd964ce191428eef1faeb50aaa39. Closest prior issues reviewed: #1194. This report concerns the specific failure or uncovered test paths described above, rather than repeating the original feature request.

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.