CulverLab / CulverLab/sparcd-exploration

Uploader: 'spread from' line shows the batch-wide start after spreading two folders

Open Beginner friendly
#256 1 comment 0 reactions 0 assignees View on GitHub
app:uploader
Dominant language
TypeScript
Stars
6
Forks
3
Avg merge
2d 13h
Merged PRs (30d)
106

Description

In the capture-times panel, spread folder A from 08:00 and folder B from 14:00. Every card in folder B reads "spread from 08:00", because `spreadStartOf` in `apps/sparcd-uploader/src/lib/useCaptureEstimates.ts` takes the earliest spread time in the whole batch. Cosmetic, the times themselves are right.

Fix: compute the start within the file's own folder, or persist the start alongside `manualSource` when the spread is applied.

Contributor guide

Open the contributing guide

Research direction

Start in apps/sparcd-uploader/src/lib/useCaptureEstimates.ts and reproduce the capture-times panel case by spreading folder A from 08:00 and folder B from 14:00. Inspect spreadStartOf and verify that each card’s “spread from” label uses its own folder’s start while the displayed times remain correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
82/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.