Capital Planning: add Unscheduled bucket for imported projects without target_year

Projects imported via CSV that lack a target_year were invisible in Capital
Planning because findForPlanning() filtered on target_year IS NOT NULL. This
removes that filter and adds an "Unscheduled" Kanban column (orange background,
2-col layout) so users can drag unscheduled projects into year buckets.
Also bumps app version to 2026.3.2 (beta).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-02 14:03:39 -05:00
parent ad2f16d93b
commit 063741adc7
5 changed files with 57 additions and 35 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "hoa-ledgeriq-backend",
"version": "0.2.0",
"version": "2026.3.2-beta",
"description": "HOA LedgerIQ - Backend API",
"private": true,
"scripts": {

View File

@@ -20,7 +20,7 @@ export class ProjectsService {
async findForPlanning() {
const projects = await this.tenant.query(
'SELECT * FROM projects WHERE is_active = true AND target_year IS NOT NULL ORDER BY target_year, target_month NULLS LAST, priority',
'SELECT * FROM projects WHERE is_active = true ORDER BY target_year NULLS LAST, target_month NULLS LAST, priority',
);
return this.computeFunding(projects);
}