Skip to content

feat(reports): print only the picked groups, as the Word documents do (T45) - #248

Merged
Lethabarb merged 2 commits into
mainfrom
feat/report-picked-groups-only
Nov 11, 2026
Merged

Lethabarb merged 2 commits into
mainfrom
feat/report-picked-groups-only

Conversation

@Lethabarb

Copy link
Copy Markdown
Owner

What

The owner decided on 11 November 2026 ("follow the word docs") that the daily report prints what each note shows: the Every note group and the groups picked on that note, each with every item ticked or not. A group that was not picked no longer prints. This is D47 again for the daily report, and it reverses D104 (5)(c) and A161 from T44.

Why: in the provider's five Word documents each participant's page has 3 to 8 sections (5.4 on average) and about 70 tick lines: the sections that applied to that person that day. Empty boxes do appear (69 of 286 sections have nothing ticked), but only within those sections. Printing every group of the 32-group Word-template set-up list would have given about 435 tick lines per participant per day. With this change the provider can enter every group, and the worker picks the day's ones.

Changes

  • Server: NoteSnapshot.PrintedGroups and the everyGroup switch in NoteReadVersion.Of and DailyReportModel.ReadNotesAsync are removed. The daily report reads ShownGroups, like the read view, version page and record export. Nothing else changes in behaviour.
  • Tests: DailyReportTextMatchTests (Liam and Zoë leave out their unpicked groups), NoteToReportTests (Ann and Bob show only what they picked; Cy's picked group with nothing ticked still prints its empty boxes), ReportLayoutTests (a picked group with nothing ticked in place of an unpicked one), and comments in DailyReportTimingTests and ParticipantExportTextMatchTests.
  • Docs: D106 in decisions.md (after D104; D103 and D105 are claimed by fix(auth): log why the browser made no passkey at setup #241 and chore(infra): run test on the free App Service tier (D105) #235), with D47 and D104 marked; design.md §11.3 table and sample layout, A4, A161 superseded; group-picker.md and record-export.md; first-use steps 223 and 225; coverage row 17; F04.01 notes and criteria; T45 in tasks.md; and ops/word-template-setup.md no longer advises leaving groups out.

Checks

  • dotnet build Grow2Notes.slnx -warnaserror: 0 warnings, 0 errors. git diff --check clean. Tests run in CI (local checks are compile and lint only).
  • Built by Sonnet subagents (tests, docs) and reviewed by a separate Sonnet agent: no must-fix; its should-fix (a stale unpicked group in the design.md §11.3 sample layout) and two nits are fixed. Left as is: ReadGroups keeps its predicate parameter with one caller.

🤖 Generated with Claude Code

Lethabarb and others added 2 commits November 11, 2026 13:00
… (T45)

The owner decided on 11 November 2026 ("follow the word docs") that the
daily report prints what each note shows: the Every note group and the
groups picked on that note, each with every item ticked or not. A group
that was not picked no longer prints. In the provider's Word documents each
participant's page holds 3 to 8 sections, about 70 tick lines; printing
every group of the 32-group set-up list would have given about 435.

Records D106, which reverses D104 (5)(c) and supersedes A161, so D47 holds
for the daily report again. NoteSnapshot.PrintedGroups and the everyGroup
switch are removed; the report reads ShownGroups like the read view and
the record export. Tests, design, UX, ops and backlog docs follow, and the
Word-template set-up list no longer advises leaving groups out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The test saved its Laundry group unpicked and expected the day's report to
print it, which A161 did. Since D106 the files print only Every note and the
picked groups, so the group is now picked; the test still checks that later
set-up changes leave the submitted wording and order alone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Lethabarb
Lethabarb enabled auto-merge (squash) November 11, 2026 04:40
@Lethabarb
Lethabarb merged commit 8c95c1a into main Nov 11, 2026
1 check passed
Lethabarb added a commit that referenced this pull request Nov 11, 2026
Main added D106 (#248), which also amends D104. design/decisions.md keeps
main's amended D104 row and its D106 row, with this branch's D105 between
them; design.md's decision range now reads D1-D106.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Lethabarb
Lethabarb deleted the feat/report-picked-groups-only branch November 11, 2026 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant