My Tasks: Add way to hide empty groups (or empty 'no projects' group?), when grouped by project

It is not possible to hide empty groups, when grouped by Project (no three dots menu).

It is possible to hide empty groups, when grouped by Due Date (three dots menu, which opens as below).

I don’t need the extra space that is currently taken up by ‘No project’ and the empty task, in EVERY group. Maybe someone might need it, but I don’t, so I’d like the option to not show them if they are not needed, like you would hide it also for Due Date.

The red ones are not needed. Green one makes sense because there are tasks there. (The projects below are collapsed as that’s not the point here.)