[fix] Preserve CSV header order when editing payroll rows
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.
@Dev-dave01 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Hello Maintainer, I have reviewed this issue and I have relevant experience in solving it. Please assign to me.
βΉοΈ Repo Maintainers: To accept this application, review their application or assign @Dev-dave01 to this issue.
@Starkid591 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Please can you assign me with this task Please I won't disappoint ππ₯Ίπ I only have 200 points ππ
βΉοΈ Repo Maintainers: To accept this application, review their application or assign @Starkid591 to this issue.
@Real-Ola has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
I would love to fix this
βΉοΈ Repo Maintainers: To accept this application, review their application or assign @Real-Ola to this issue.
@YoungBoss04 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Having gone over the task and its requirements, I'm sure I can build a solution that matches the intended design and acceptance criteria.
βΉοΈ Repo Maintainers: To accept this application, review their application or assign @YoungBoss04 to this issue.
@somotochukwu-dev has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Hi Please assign this issue to me Thanks
βΉοΈ Repo Maintainers: To accept this application, review their application or assign @somotochukwu-dev to this issue.
@Fatima26-star has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
βI would love to work on this issue. I'll keep the implementation simple, clean, and well-tested.
βΉοΈ Repo Maintainers: To accept this application, review their application or assign @Fatima26-star to this issue.
@Grazial-hash has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Please assign
βΉοΈ Repo Maintainers: To accept this application, review their application or assign @Grazial-hash to this issue.
Congratulations, @Fatima26-star! π Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.
π§βπ» @Fatima26-star: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
π€ Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
π Happy Wave π
@benedict-cmd has applied to work on this issue as part of the Stellar Wave Program's 11th wave.
Hey I am a developer please assign me to this issue and I'll deliver more than expected
βΉοΈ Repo Maintainers: To accept this application, review their application or assign @benedict-cmd to this issue.
@honourableking has applied to work on this issue as part of the Stellar Wave Program's 11th wave.
I can fix this
βΉοΈ Repo Maintainers: To accept this application, review their application or assign @honourableking to this issue.
Congratulations, @honourableking! π Your application was accepted by the repo's maintainers, and the issue is due on November 25, 2026.
π§βπ» @honourableking: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
π€ Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
π Happy Wave π
This issue has been completed by @honourableking as part of the Stellar Wave Program's 11th Wave π₯³
π @honourableking: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
π§βπ» Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.