feat(project): subtask rows and a wide view for the meeting task table

- Subtask rows (one level, parent_id): hover button / right-click to add, Tab to make a row the
  subtask of the row above, Shift+Tab to move it back; inherits the parent's project, no section
- Apply on a subtask row creates the task under the parent row's task (server-checked)
- "크게 열기" moves the same table into a wide window (same rows and saves), Esc/x to close
- Server: PUT parent_id with one-level rules; add rejects grandchildren
- Help + docs; tests (real PostgreSQL rules + parent apply, jsdom rows/Tab/wide view)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-12 16:20:05 +09:00
parent 1bdcd59287
commit 6fd01314d5
17 changed files with 343 additions and 60 deletions
+4 -1
View File
@@ -3820,7 +3820,10 @@ def api_add_quick_task(request: Request, week_start: str, payload: dict[str, Any
def api_update_quick_task(request: Request, item_id: int, payload: dict[str, Any] = Body(...)) -> JSONResponse:
user = _require_user(request)
st = _db_or_503(request)
row = _goal_call(st.update_meeting_task, item_id=item_id, fields=_quick_fields(st, user, payload), by=user["email"])
fields = _quick_fields(st, user, payload)
if "parent_id" in payload: # 세부 작업 줄로(Tab)·위 단계로(Shift+Tab) — 한 단계만(저장소가 검사)
fields["parent_id"] = payload["parent_id"]
row = _goal_call(st.update_meeting_task, item_id=item_id, fields=fields, by=user["email"])
return JSONResponse({"task": _quick_view(st, user, [row])[0]})