feat(project): 담당자는 협업자에서 제외·세부 업무 추가 칸 아이콘·내 업무 오른쪽 창

- 협업자 = 담당자 외의 멤버: add_followers 가 담당자를 거르고, 담당자 지정 시 같은 트랜잭션에서 협업자에서 뺌, 담당자 협업자 추가는 400
- 마이그레이션 028: 이미 겹친 task_followers 행 정리(스키마 변경 없음, 멱등)
- 업무 창 세부 업무 추가 칸: 담당자·협업자·마감일을 동그라미 아이콘 버튼으로, 제목 칸을 넓게
- 내 업무 화면: 줄 클릭 시 화면 이동 없이 오른쪽 업무 창(iframe), 닫으면 목록 다시 받기
- 대시보드 "미완료 업무 합계(섹션별)" 카드 삭제

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-13 14:24:51 +09:00
parent 5bd0a5c406
commit f36f7d3ad4
21 changed files with 365 additions and 74 deletions
+23
View File
@@ -53,6 +53,29 @@ def main() -> None:
for name, admin in (("project_render.html", False), ("project_admin_render.html", True)):
render_one(env, name, admin)
render_inbox(env)
render_mytasks(env)
def render_mytasks(env) -> None:
"""내 업무(project/mytasks.html) — 내 업무 101·102, 남의 상위 업무 아래 내 세부 업무 501."""
def t(tid: int, title: str, **kw) -> dict:
base = {"id": tid, "title": title, "project_id": 1, "project_name": "P1", "project_color": "#4573d2",
"stage_name": "할 일", "assignee_email": ME, "priority": "normal", "due_date": None, "start_date": None,
"completed_at": None, "comment_count": 0, "subtask_total": 0, "subtask_done": 0, "parent_task_id": None}
base.update(kw)
return base
html = env.get_template("project/mytasks.html").render(
user={"email": ME, "is_super_admin": False}, is_admin=False, pj_pro=False, pj_admin=False,
nav_projects=PROJECTS, goal_years=[2026], my_open_total=3, mention_unread=0,
color_palette=["#4573d2"], project_icons=["folder"], project_asana_icons=[],
my_tasks=[t(101, "작업 A"), t(102, "작업 B"),
t(501, "내 세부", parent_task_id=300, parent_title="남의 상위", parent_assignee_email="bob@test.local")],
avatars={}, priority_labels={"low": "낮음", "normal": "보통", "high": "높음"}, today="2026-10-13",
)
path = os.path.join(OUT_DIR, "mytasks_render.html")
io.open(path, "w", encoding="utf-8", newline="\n").write(html)
print("rendered:", path)
def render_inbox(env) -> None: