Skip to content

BCLI: min task list in a project with only sessions says no task boxes, not no boxes (T36 follow-up) #3203

Closed

Description

@agent-137

Follow-up to BCLI T36 (#2897, PR #3184), from the arch review's note.

min task list now renders through the shared min box list path, filtered to tasks. In a project that has only session boxes, the filtered list is empty, and it prints the min box list empty-project line, which says the project has no boxes. That is false: the project has boxes, just no task boxes.

Do: when a type noun's list is empty because of the type filter, say so in that noun's words. For example, min task list on a project with sessions but no tasks says the project has no task boxes, not no boxes. Keep min box list's own empty line unchanged. Add a test with a project that has only a session box, and assert min task list's empty line.

Covers: BCLI-012/015 wording (type-noun list), BCLI-030.

Activity

  1. norrietaylor commented on Nov 18, 2026

    @norrietaylor
    Member

    Closing as fixed on main by #3363.

    What a read of main at 385add8 found:

    Typed empty line: crates/minimal/src/cmd/session.rs:909-933 (empty_typed_list, 'This project has no {box_type} boxes...', added in T30 #3297 89d0d255). min box list line unchanged: crates/minimal/src/cmd/boxes/list.rs:175. Session-only-project test: crates/minimal/src/tests.rs:14346 (PR #3363, dbf9f7e7).
    

    Reopen this issue if any part of it is still missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions