flowfi icon indicating copy to clipboard operation
flowfi copied to clipboard

[fix] Preserve CSV header order when editing payroll rows

Open K1NGD4VID opened this issue 1 month ago β€’ 12 comments

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.

K1NGD4VID avatar Oct 21 '26 17:10 K1NGD4VID

@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.

Dev-dave01 avatar Oct 21 '26 20:10 Dev-dave01

@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.

Starkid591 avatar Oct 21 '26 21:10 Starkid591

@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.

Real-Ola avatar Oct 21 '26 22:10 Real-Ola

@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.

YoungBoss04 avatar Oct 22 '26 06:10 YoungBoss04

@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.

somotochukwu-dev avatar Oct 22 '26 07:10 somotochukwu-dev

@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.

Fatima26-star avatar Oct 22 '26 08:10 Fatima26-star

@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.

Grazial-hash avatar Oct 22 '26 09:10 Grazial-hash

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 🌊

drips-wave[bot] avatar Oct 22 '26 09:10 drips-wave[bot]

@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.

benedict-cmd avatar Nov 18 '26 17:11 benedict-cmd

@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.

honourableking avatar Nov 20 '26 12:11 honourableking

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 🌊

drips-wave[bot] avatar Nov 20 '26 12:11 drips-wave[bot]

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.

drips-wave[bot] avatar Nov 21 '26 14:11 drips-wave[bot]