Public: anyone can read this; the crew can change it.
A pure read counts the issues the crew parked in the last 24 hours and 7 days, and names the newest three #6471
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Parked work is the plan's waste: an issue a builder tried and could not finish. The owner should see how much there is without reading comments.
Done:
src/flow/parked.tsexportsreadParked(db, now, publicOnly), which returns{ day, week, newest: { repo, issue, title }[] }. A parked issue is an open issue whose newest comment starts withParked by the crew. It counts by that comment's time, andnewestholds at most 3.test/flow-parked.test.tsseeds a parked issue from today, one from 3 days ago, one from 10 days ago, a closed parked issue and an issue with a later comment after the park. The counts come out as 1 and 2.publicOnlyhides a private repository's issue.Files: src/flow/parked.ts, test/flow-parked.test.ts