feat(project): meeting task table - pick an existing task to add a subtask; title opens task panel
- New "작업" column (migration 026 parent_task_id): empty = new task in the section, chosen task = register as its subtask (candidates = open main tasks of that section) - Server validates the task belongs to the project, clears it when the project changes, and rejects apply if the chosen task was deleted/moved - Removed the in-table subtask rows (hover button, Tab/Shift+Tab, right-click) from UI/API - Registered row title opens the task editor on the right (iframe ?embed=1, waits for the task window to save before switching/closing, like the inbox panel) - Help + docs (DEPLOYMENT 026); tests (real PostgreSQL, jsdom) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
-- =====================================================================
|
||||
-- project_db 마이그레이션 026 — 회의록 작업 등록 표: "작업" 칸(이미 있는 작업의 세부 작업으로 등록)
|
||||
-- =====================================================================
|
||||
-- 멱등(idempotent). 열 하나만 추가한다(기존 값 변경·삭제 없음). 운영: /opt/www/main 에서 기존 project_db 에 적용.
|
||||
--
|
||||
-- 왜(2026-10-12 사용자 요청): 작업 등록 표에서 프로젝트 → 섹션 → **작업** 까지 고를 수 있게 — 작업을 고르면 [적용] 때
|
||||
-- 그 작업의 세부 작업으로 만든다(비우면 예전처럼 그 섹션에 새 작업). 025 의 parent_id(표 안 줄끼리의 세부 작업)는
|
||||
-- 화면에서 쓰지 않는다(열·값은 그대로 둔다).
|
||||
-- =====================================================================
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE goal_meeting_tasks ADD COLUMN IF NOT EXISTS parent_task_id BIGINT NULL; -- 고른 상위 작업(tasks.id, FK 없음 — 작업이 지워져도 줄은 남는다)
|
||||
COMMENT ON COLUMN goal_meeting_tasks.parent_task_id IS '작업 칸 — [적용] 때 이 작업의 세부 작업으로 만든다(NULL = 그 섹션에 새 작업)';
|
||||
|
||||
COMMIT;
|
||||
SELECT 'project_db 026 meeting quick parent task ready' AS status;
|
||||
Reference in New Issue
Block a user